OverviewProductsPlatformsAPI ReferenceResources
Messages

List the labels on a conversation

GEThttps://zernio.com/api/v1/inbox/conversations/{conversationId}/labels

Facebook Messenger only. Lists the Page's custom labels applied to the person in this conversation (Graph /{psid}/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.

Path parameters

conversationIdstringRequired

Conversation ID (Zernio id or Meta platform conversation id)

Query parameters

accountIdstringRequired

Facebook social account ID

Responses

Success· the request worked

Errors· the request failed

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