Get a media item
GET/api/partner-gateway/media/:id
Returns the metadata of one media file and the URL to reach it.
- In the response: file name, MIME type, size in bytes, creation date and a URL to download or preview the file.
- Typical use: check a media item before you reference it in a message or a campaign.
Request
Responses
- 200
- 401
- 404
The media item.
The API key is missing, invalid, or lacks the MEDIA operation.
No media file with this ID in your library.