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
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).
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
customer_id*stringFormat
uuidRequest fulfilled, document follows
application/json- response
mail*integerneeds*integerpeople*integertotal*integerwaiting*integercurl -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}