Skip to main content
GET
/
v1
/
media
/
{mediaId}
Download media (Meta)
curl --request GET \
  --url https://pilotstatus.com.br/v1/media/{mediaId} \
  --header 'x-api-key: <api-key>'
{
  "base64": "data:image/jpeg;base64,/9j/4AAQSkZJRg...",
  "mimeType": "image/jpeg",
  "fileName": "photo.jpg",
  "mediaId": "1234567890123456"
}

Authorizations

x-api-key
string
header
required

Your ps_ API key

Path Parameters

mediaId
string
required

Meta Cloud API media id.

Query Parameters

phoneNumberId
string
required

metaPhoneId of a tenant Meta number.

Response

Download media