1MSG
ReferenceInbox API

Conversation counts

GET
/api/v1/inbox/conversations/counts

mine_open and unassigned count only OPEN conversations. all counts every visible conversation.

Authorization

bearer
headerAuthorizationBearer <token>

Key issued in Settings → Developer → API key. Inbox methods need the Inbox scope. Campaigns methods need the Campaigns scope.

Query Parameters

channelId?string

Limit the counts to one channel.

Response Body

application/json
  1. response
mine_open*number

Open conversations assigned to the key actor.

unassigned*number

Open conversations with no assignee.

all*number

All conversations visible to the key, any status.

curl -X GET 'https://api.1msg.io/api/v1/inbox/conversations/counts'
{  "mine_open": 0,  "unassigned": 0,  "all": 1}