Syndai Docs

Get the Inbox badge

Use a key with only read scopes. Your customer_id is in the reply to Get the calling API key.

GET
/api/v1/coding/customers/{customer_id}/inbox/badge

How much is waiting on you across the workspace: Needs you, unseen site Inbox entries, People replies waiting on a reply, your own mail to reply to, and their total. Counts only. Any member; a member's site Inbox and People parts are 0. Requires coding:runs:read and a person (a workspace key is refused).

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

customer_id*string
Formatuuid

Response Body

Request fulfilled, document follows

application/json
  1. response
mail*integer
needs*integer
people*integer
total*integer
waiting*integer
Example Request
curl -X GET 'https://api.syndai.ai/api/v1/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/inbox/badge'
Example Response
{  "mail": 0,  "needs": 0,  "people": 0,  "total": 0,  "waiting": 0}
Was this page helpful?