List the catalogs linked to a WhatsApp number
Lists the Meta Commerce catalogs connected to the number's WhatsApp Business Account.
Pass catalogAccountId. The WhatsApp connection's own (embedded signup) token answers an empty list even when a catalog is linked; only a Meta login with catalog_management sees the link.
A linked catalog is what product, product_list and catalog_message interactive messages sell from (see POST /v1/inbox/conversations/{conversationId}/messages). It is also what customers browse in the WhatsApp app.
Create and fill catalogs with the /v1/ads/catalogs endpoints.
Authentication
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Query parameters
WhatsApp account ID
A facebook, instagram or metaads account whose Meta login carries catalog_management; its token performs the call instead of the account's own
Responses
Success· the request worked
Errors· the request failed
Download WhatsApp media
Streams the binary for a WhatsApp attachment. This is the endpoint the `url` on a WhatsApp `attachments[]` entry points at, in both the `message.received` webhook and the List messages response. ### This is an authenticated endpoint, not a public link Send `Authorization: Bearer <your API key>` exactly as you would for any other call. Passing the URL straight to a browser, an LLM vision API, or a no-code "download file" step without the header returns `401`. This is the most common integration mistake on this endpoint. It differs from Instagram, Facebook and Telegram, whose `attachments[].url` is a direct CDN link that needs no header. ### Fetch on receipt, not lazily WhatsApp media lives in Meta's media store, not ours, and it is removed after a limited retention window (currently 7 days, and Meta has been dropping some inbound media sooner). Once Meta drops it the media is unrecoverable and this endpoint answers `400` permanently, so retrying will never succeed. Download and store the bytes when the webhook arrives.
Link a catalog to a WhatsApp number
Connects a Meta Commerce catalog (owned by the same business portfolio as the WhatsApp Business Account) to the number's WABA. The WhatsApp connection's own token cannot do this, so pass `catalogAccountId` naming a facebook, instagram or metaads account whose Meta login carries catalog_management.