Using TypeScript? Check out our GraphQL SDK for a fully typed client.
labelType:createlabelType:edit
labelType:read
Get label types
UselabelTypes to fetch the full list of label types in your workspace. By default this includes archived label types — pass filters: { isArchived: false } to exclude them.
Query
Variables
Get a label type by ID
Query
Variables
Get a label type by external ID
If you store your own identifier on label types viaexternalId, you can look them up by that value. External IDs are unique within a workspace.
Query
Variables
Create a label type
Mutation
Variables
Update a label type
Updates use field-level wrapper inputs — to change a field pass{ "value": ... }; to leave a field untouched omit it entirely.
Mutation
Variables
Archive a label type
Archived label types stay attached to existing threads but cannot be added to new threads. Attempting to calladdLabels with an archived label type returns the error code cannot_add_label_using_archived_label_type.
Mutation
Variables
Unarchive a label type
Mutation
Variables

