GET List Tags, or autocomplete them
/api/clist/v1/workspaces/{workspaceId}/tags
API key scope: workspace.view
q matches the normalized form (case, whitespace and accents ignored), prefix matches first, so a client can offer an existing Tag instead of a near-duplicate.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
q | query | string (up to 200 characters) | no | |
workspaceId | path | string (uuid) | yes |
Responses
- 200
application/jsontagsarray of object requiredidstring (uuid) requirednamestring required As first typed; matching ignores case, whitespace and accents.colorone of: "gray", "red", "orange", "yellow", "green", "teal", "blue", "purple", "pink" requiredchecklist_countinteger (at least 0) required Live checklists carrying this Tag.created_atstring (date-time) required UTC instant (ISO 8601, ending in Z). Nothing in the API is a local time.created_time_zonestring (up to 64 characters) or null The creator’s IANA time zone when this was created;UTCif they had none stored, null for older records. A private record: present only for people who can edit the resource, and absent (not null) for everyone else. Null for the people who may see it means no zone is known.
Errors come in the error format.
GET Read a Tag
/api/clist/v1/workspaces/{workspaceId}/tags/{tagId}
API key scope: workspace.view
checklist_count is what to confirm before renaming, merging or deleting it.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
workspaceId | path | string (uuid) | yes | |
tagId | path | string (uuid) | yes |
Responses
- 200
application/jsonidstring (uuid) requirednamestring required As first typed; matching ignores case, whitespace and accents.colorone of: "gray", "red", "orange", "yellow", "green", "teal", "blue", "purple", "pink" requiredchecklist_countinteger (at least 0) required Live checklists carrying this Tag.created_atstring (date-time) required UTC instant (ISO 8601, ending in Z). Nothing in the API is a local time.created_time_zonestring (up to 64 characters) or null The creator’s IANA time zone when this was created;UTCif they had none stored, null for older records. A private record: present only for people who can edit the resource, and absent (not null) for everyone else. Null for the people who may see it means no zone is known.
Errors come in the error format.
PATCH Rename or recolor a Tag
/api/clist/v1/workspaces/{workspaceId}/tags/{tagId}
API key scope: workspace.update
A new name that matches another Tag is conflict (tag_exists; merge them instead). Changing only the case or accents of its own name is fine.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
workspaceId | path | string (uuid) | yes | |
tagId | path | string (uuid) | yes |
Request
Request body application/json (required): object
namestring (up to 200 characters)colorone of: "gray", "red", "orange", "yellow", "green", "teal", "blue", "purple", "pink"
Responses
- 200
application/jsonidstring (uuid) requirednamestring required As first typed; matching ignores case, whitespace and accents.colorone of: "gray", "red", "orange", "yellow", "green", "teal", "blue", "purple", "pink" requiredchecklist_countinteger (at least 0) required Live checklists carrying this Tag.created_atstring (date-time) required UTC instant (ISO 8601, ending in Z). Nothing in the API is a local time.created_time_zonestring (up to 64 characters) or null The creator’s IANA time zone when this was created;UTCif they had none stored, null for older records. A private record: present only for people who can edit the resource, and absent (not null) for everyone else. Null for the people who may see it means no zone is known.
Errors come in the error format.
DELETE Delete a Tag
/api/clist/v1/workspaces/{workspaceId}/tags/{tagId}
API key scope: workspace.update
Takes the Tag off every checklist. Read the Tag first for the count to confirm; the response repeats it.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
workspaceId | path | string (uuid) | yes | |
tagId | path | string (uuid) | yes |
Responses
- 200
application/jsonaffected_checklistsinteger (at least 0) required
Errors come in the error format.
POST Merge a Tag into another
/api/clist/v1/workspaces/{workspaceId}/tags/{tagId}/merge
API key scope: workspace.update
Every checklist carrying this Tag carries into afterwards (once), and this Tag is deleted. Reports how many checklists it affected.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
workspaceId | path | string (uuid) | yes | |
tagId | path | string (uuid) | yes |
Request
Request body application/json (required): object
intostring (uuid) required
Responses
- 200
application/jsontagobject requiredidstring (uuid) requirednamestring required As first typed; matching ignores case, whitespace and accents.colorone of: "gray", "red", "orange", "yellow", "green", "teal", "blue", "purple", "pink" requiredchecklist_countinteger (at least 0) required Live checklists carrying this Tag.created_atstring (date-time) required UTC instant (ISO 8601, ending in Z). Nothing in the API is a local time.created_time_zonestring (up to 64 characters) or null The creator’s IANA time zone when this was created;UTCif they had none stored, null for older records. A private record: present only for people who can edit the resource, and absent (not null) for everyone else. Null for the people who may see it means no zone is known.
affected_checklistsinteger (at least 0) required
Errors come in the error format.