API referenceMedia storage
Download an attachment using its access URL
The URL token grants access until retention expires. Keep the URL private. Every request checks the attachment state before reading its private S3 object.
Path Parameters
id*string
Query Parameters
token?string
Attachment bearer token supplied in the media URL.
Response Body
application/json
curl -X GET "https://example.com/api/v1/media/string/content"Empty
{ "error": { "code": "not_found", "details": { "property1": null, "property2": null }, "message": "session not found" }}