Documentation Index
Fetch the complete documentation index at: https://docs.gateway.connexease.com/llms.txt
Use this file to discover all available pages before exploring further.
The media download endpoint is under active development and will be available soon. This page will be updated when the feature is released.
media_id rather than the file itself. The Connexease Gateway provides a proxy endpoint that handles Meta authentication on your behalf — you call it with your API key and receive the binary file directly.
How It Works
Endpoint
Your API key in
Bearer pk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx format.The media ID from an incoming message webhook — e.g.
image.id, audio.id, document.id.The Meta phone number ID that received the message. Found in
value.metadata.phone_number_id of the incoming webhook payload. Used to look up the correct WABA credentials.Content-Type header (e.g. image/jpeg, audio/ogg, application/pdf).
Example
Where to Find phone_number_id
The phone_number_id is in every incoming message webhook under value.metadata:
phone_number_id alongside the media_id when you receive the webhook so you have both values ready when you call the media endpoint.
Media ID Expiry
Supported Media Types
| Type | Formats | Max Size |
|---|---|---|
| Image | JPEG, PNG | 5 MB |
| Audio | MP3, AAC, AMR, OGG (Opus) | 16 MB |
| Document | PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, TXT | 100 MB |
| Video | MP4, 3GPP | 16 MB |
| Sticker | WebP | 500 KB |
Tips
Media downloads do not count against your message send rate limit (80 req/s). A separate quota applies.