GET /inbox/conversations
Direct-message conversations of this organization (Instagram, Messenger, WhatsApp, X), latest message first. Filled by inbound webhooks and POST /inbox/conversations/sync
BearerAuthAuthorizationBearer <token>API key sk_...
accountId?stringOnly this account
platform?stringOnly this platform
"instagram""facebook""whatsapp""x"status?stringOnly this status
"active""archived"unread?stringtrue: only conversations with unread messages; false: only read ones
"true""false"limit?integerMaximum items (default 25, max 100)
1 <= value <= 10025cursor?stringnextCursor of the previous page
{conversations, nextCursor}
application/json- response
conversations?array<>nextCursor?|Pass as cursor for the next page
curl -X GET 'https://example.com/api/v1/inbox/conversations'{ "conversations": [ { "id": "string", "accountId": "string", "platform": "instagram", "platformConversationId": "string", "participant": { "id": "string", "username": "string", "name": "string", "pictureUrl": "string", "phone": "string", "userId": "string", "parentUserId": "string" }, "lastMessage": { "text": "string", "direction": "inbound", "at": "2019-08-24T14:15:22Z" }, "unreadCount": 0, "lastReadAt": "2019-08-24T14:15:22Z", "participantReadAt": "2019-08-24T14:15:22Z", "status": "active", "messagingWindow": { "open": true, "closesAt": "2019-08-24T14:15:22Z", "humanAgentClosesAt": "2019-08-24T14:15:22Z" }, "syncedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "nextCursor": "string"}GET /inbox/events GET
Inbound events from Meta webhooks for this organization's accounts, newest first
POST /inbox/conversations POST
Start a conversation (X only; Meta platforms only allow replies): sends the FIRST live DM to participantId or participantUsername. Text ≤10,000 or one attachment (mediaUrl or mediaId). X answers 403 when the person does not accept DMs from the account. Queued for approval (202) while approval applies