Email & PEC

List labels

The tenant’s whole label tree — id, name, colour, parent and whether the caller owns it — in tree order (a parent always precedes its children). Call this before email_create_label (to nest under an existing one), email_update_label, email_delete_label or email_label: a label must already exist, and each of those needs its id or its exact name.

Examples

  • What labels do we have? GET /api/v1/rest/email/labels
get/api/v1/rest/email/labels

Request

  • Base URL: https://api.custodo.ai
  • URL: https://api.custodo.ai/api/v1/rest/email/labels
  • Auth: HTTP bearer

Headers

X-Tenant-Idstring uuid

The organisation to act in. An API key is bound to exactly one, so this is optional for a key and must match the one it was minted for.

Response

Done. data is the tool’s own answer.

oktrue required
dataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.