Your API key. Create one in Ocoya. Authorization: Bearer <key> works too.
Inbox
List labels
Returns the brand's labels, newest first, with how many conversations have each. Set them on a conversation with PATCH /inbox/conversations/{conversationId}.
List labels
curl --request GET \
--url https://www.app.ocoya.com/api/_public/v1/inbox/labels \
--header 'X-API-Key: <api-key>'[
{
"id": "cmhx3w8hd000c7apsd1f0g2h3",
"name": "Needs follow-up",
"color": "#fa5252",
"conversationCount": 3
}
]Authorizations
Was this page helpful?