Media
This page provides API documentation for uploading/dowloading media from Saleschat.pro securely.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
orgIdstringRequired
fileIdstringRequired
Responses
200
Successfully fetched signed download url
application/json
signed_urlstringOptional
file_idstringOptional
file_upload_namestringOptional
mime_typestringOptional
400
Bad request
application/json
401
Unauthorized - Authentication is required
application/json
403
User or partner not allowed to download file
application/json
404
File not found
application/json
500
Internal Exception
application/json
get/v1/orgs/{orgId}/file/{fileId}/download/signed_url
GET /v1/orgs/{orgId}/file/{fileId}/download/signed_url HTTP/1.1
Host: apis.saleschat.pro
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"signed_url": "text",
"file_id": "text",
"file_upload_name": "text",
"mime_type": "text"
}Last updated