Read metadata and the bearer download link of an active upload in this account.
curl --request GET \
--url https://omni-api.sendblue.com/media/{media_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omni-api.sendblue.com/media/{media_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omni-api.sendblue.com/media/{media_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "99456418-e03a-484c-b42e-94b998ead0a3",
"content_type": "image/png",
"size_bytes": 2391,
"message_id": null,
"url": "https://api.example.com/v1/UploadedMediaContent/86bd74f1-355a-44c6-ab01-5f42eb480331/file",
"created_at": "2026-11-23T12:00:00.000000Z",
"expires_at": "2026-11-23T16:00:00.000000Z"
}{
"error": {
"code": "invalid_request",
"message": "Unknown field",
"details": {
"field": "colour"
}
}
}Read metadata and the bearer download link of an active upload in this account.
An expired, erased or unowned upload returns 404.
Required permission: media:read. Accepted credentials: a signed-in person, an API key, the account token.
GET
/
media
/
{media_id}
Read metadata and the bearer download link of an active upload in this account.
curl --request GET \
--url https://omni-api.sendblue.com/media/{media_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omni-api.sendblue.com/media/{media_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omni-api.sendblue.com/media/{media_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "99456418-e03a-484c-b42e-94b998ead0a3",
"content_type": "image/png",
"size_bytes": 2391,
"message_id": null,
"url": "https://api.example.com/v1/UploadedMediaContent/86bd74f1-355a-44c6-ab01-5f42eb480331/file",
"created_at": "2026-11-23T12:00:00.000000Z",
"expires_at": "2026-11-23T16:00:00.000000Z"
}{
"error": {
"code": "invalid_request",
"message": "Unknown field",
"details": {
"field": "colour"
}
}
}Authorizations
personbearerlegacyKeyId & legacyKeySecret
Response
The media item.