PeumeAPI

Social publishing & inbox

Add a label to a conversation

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`.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/add-a-label-to-a-conversation \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "conversationId": "your conversationId",
    "accountId": "your accountId",
    "labelId": "your labelId"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: add-a-label-to-a-conversation.

Parameters

conversationIdRequiredstring

Conversation ID ( id or Meta platform conversation id)

accountIdRequiredstring

Facebook social account ID

labelIdRequiredstring

Meta label id from listInboxLabels

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.