Media

This page provides API documentation for uploading/dowloading media from Saleschat.pro securely.

Get Signed URL to download a file

get
  • 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
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