Media
This page provides API documentation for uploading/dowloading media from Saleschat.pro securely.
Roles Allowed: Member and Partner
Impersonated User Allowed: True
fileId is the id of file record
Use response signedUrl as follows: curl -X GET '${url}'
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
orgIdstringRequired
fileIdstringRequired
Responses
200
Successfully fetched signed download url
application/json
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_urlGET /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