- API reference
- Insights
Get the inbox overview
GEThttps://app.notert.io/api/v1/insights/inbox
How the support inbox stands, by its views' own rules: how many conversations wait on the team (the queue), are open, unread, snoozed or resolved, and of the waiting and the open, how many no one answers. Archived and spam conversations count in none.
A token with conversations:read. How to send one
Request
curl https://app.notert.io/api/v1/insights/inbox \
-H "Authorization: Bearer $NOTERT_API_TOKEN"Response 200
{
"queue": {
"total": 12,
"unassigned": 3
},
"open": {
"total": 12,
"unassigned": 3
},
"unread": 5,
"snoozed": 2,
"resolved": 318
}Response 200
queueobjectThe queue: the open conversations whose customer waits on the team.
totalintegerHow many conversations the view holds.
unassignedintegerOf them, how many no one answers.
openobjectThe open conversations, waiting on the team or not.
totalintegerHow many conversations the view holds.
unassignedintegerOf them, how many no one answers.
unreadintegerHow many conversations hold something no one on the team has read.
snoozedintegerHow many are put away until a moment ahead.
resolvedintegerHow many are resolved.
Errors
- 400
BAD_REQUESTInput validation failed. - 401
UNAUTHORIZEDSend a valid API token as a Bearer token. - 403
HOLDER_NOT_ALLOWEDThe teammate who holds this API token's secret can't do this in the workspace now. A teammate who can should roll it in the workspace's settings. - 403
INSUFFICIENT_SCOPEThis API token can't read conversations. Create one that may in the workspace's settings. - 403
NETWORK_NOT_ALLOWEDThis API token works only from the networks it was made for. Call from one of them, or create a token for this one in the workspace's settings. - 429
TOO_MANY_REQUESTSToo Many Requests. Its data holdsretryAfter.
A refusal names its code beside a message. Rate limits says when to try again.