Labels

List Labels

Returns every label in the team, unpaginated.

GET
/api/v1/labels

Returns every label in the team, unpaginated. Labels are few by design, so this is the call to make once and keep, rather than looking a label up per document.

Authorization

AuthorizationBasic <token>

Basic API key authentication. Create a new API key and secret in the Recommand dashboard.

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/labels"
{  "success": true,  "labels": [    {      "id": "lbl_01JQZ8X0M4T7RB6K9V2NDHW3PA",      "teamId": "string",      "externalId": "erp-routing-inbox",      "name": "ERP",      "colorHex": "#3B82F6",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z"    }  ]}