Get message media
GET
https://api.flownally.com/v1/media/{mediaId}Returns a short-lived download URL for a media file stored by Flownally. Use the
content.media.mediaId of a message or webhook payload, or the mediaId of an upload.Storing inbound media doesn't delay the message, and no message.updated event is sent
when the file is ready. The media metadata on the message isn't updated either: once the
file is ready, use the mimeType, filename and fileSize in this response.A response with ready: false has no url:
- Without
failureCode, Flownally is still storing the file. Poll again with backoff. - With
failureCode, the media failed permanently and will never become available. Stop polling.
Authorization
Required scopes
- conversation:read
Allowed roles
- owner
- admin
- agent
Get an authorized download URL for message media.
Parameters
- Name
mediaId- Type
- path · string
- required
Media ID fromcontent.media.mediaIdor an upload response.
Responses
- 200Media download URL, when the object is ready.application/json
- defaultErrorapplication/json
Related schemas
Generated from the API spec.