List labels in use
GET
https://anjal.app/v1/messages/labelsFor agents View as Markdown
Every label in use, with how many threads carry it. Same scoping as GET /v1/messages.
Query parameters
inboxIdstring | Limit to one inbox. |
Responses
200application/jsonOK
labelsobject[] | |
labelstring | |
threadsinteger |
Authentication
Send your API key in the X-API-Key header (or Authorization: Bearer <key>). Any prefix accepted by this endpoint — tk_, wk_, ak_, or sa_ — is documented in the key prefix table.