Messages

Add a label to a conversation

Changed on

Facebook Messenger only. Applies one of the Page's custom labels to the person in this conversation (Graph POST /{label-id}/label?user={psid}). The id must be one of the Page's custom labels, otherwise 404 resource_not_found. Other platforms answer 400 platform_not_supported.

post/v1/inbox/conversations/{conversationId}/labels

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/inbox/conversations/{conversationId}/labels
  • Auth: HTTP bearer

Path parameters

conversationIdstring required

Conversation ID (Zernio id or Meta platform conversation id)

Request body

accountIdstring required

Facebook social account ID

labelIdstring required

Meta label id from listInboxLabels

Response

Label added

successboolean

Changes