OverviewProductsPlatformsAPI ReferenceResources
Messages

List the Page's conversation labels

GEThttps://zernio.com/api/v1/inbox/labels

Facebook Messenger only. Lists the custom labels defined on the Page (Graph /{page-id}/custom_labels). Other platforms answer 400 platform_not_supported.

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Query parameters

accountIdstringRequired

Facebook social account ID

Responses

Success· the request worked

Errors· the request failed

GET/v1/inbox/labels
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.messages.listInboxLabels({  query: {    accountId: 'account_abc123',  },});console.log(data);
{  "labels": [    {      "id": "string",      "name": "string"    }  ]}
OpenAPI specification
Was this page helpful?