Substy Developers
Inbox and fans

Get message export download

Get a downloadUrl for a completed message export you requested, identified by jobId. Returns a CSV URL valid for five minutes, expiresAt, rowCount and truncated. Requires current access to every creator included in the export; call get_message_export_status first if completion is uncertain.

GET/v1/agencies/{agencyId}/message-exports/{jobId}/download

Get a downloadUrl for a completed message export you requested, identified by jobId. Returns a CSV URL valid for five minutes, expiresAt, rowCount and truncated. Requires current access to every creator included in the export; call get_message_export_status first if completion is uncertain.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

agencyId*string
Length1 <= length
jobId*string
Length1 <= length <= 200

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/agencies/string/message-exports/string/download" \  -H "Authorization: Bearer YOUR_API_KEY"
{  "data": {    "jobId": "string",    "downloadUrl": "string",    "expiresAt": "string",    "contentType": "string",    "rowCount": 0,    "truncated": true  },  "meta": {    "requestId": "string"  }}