Skip to content
PaalChat Docs

Get media

.md
GET
https://whatsapp.paaltech.org/api/v1/businesses/{external_id}/media/{id}

Token ability: messages.read ยท Authentication

A media file's details and a fresh signed url to its bytes (while status is stored). The link needs no token and expires after 15 minutes - fetch the media again for a new one; never store or share the link. Incoming attachments are pending until PaalChat has downloaded them from Meta (media.updated says when).

Path parameters

external_id string required

Your own ID for the business (Multi-SKUUL - the tenant ID).

Max 191 characters. Pattern ^[A-Za-z0-9._:-]+$.

id integer required

PaalChat's media ID (media_id on a message, or data.id from Upload media).

Responses

200

The media.

401

unauthenticated - missing, invalid, revoked or expired token

403

missing_ability, product_suspended or product_token_required

404

not_found - not yours, or does not exist

429

rate_limited - over 300 requests/minute for this product

Errors always look like {"error": {"code", "message"}} - see Errors and status codes.