Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Tags

Labels attached to customers and leads.

Tag names are unique in the workspace, ignoring case. A customer's tags are set as one list.

Fields: The tag object.

List tags

get

Tag definitions, newest first, or by last change when updatedSince is set.

Returns a list of tag objects.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

A workspace API token. Each operation lists the scopes it needs; write implies read, and send/complete are never implied.

Query parameters
limitinteger · min: 1 · max: 200Optional

How many items to return, 1-200. Defaults to 50.

Default: 50
cursorstring · min: 1 · max: 4096Optional

The meta.nextCursor from the previous page. Omit it for the first page.

updatedSincestring · date-timeOptional

ISO 8601 timestamp. Returns objects changed at or after it, oldest change first. Keep the largest updatedAt you have seen, subtract five minutes, and pass it on the next sync; deduplicate by id.

Responses
200

Success.

application/json
get/v1/tags
curl https://api.shortcutco.com/v1/tags \
  -H "Authorization: Bearer $SHORTCUT_TOKEN"
{
  "data": [
    {
      "id": "46ba893f-4304-4486-8f4e-ffcd3b993b14",
      "object": "tag",
      "name": "Corner lot",
      "createdAt": "2026-10-16T17:04:12.381Z",
      "updatedAt": "2026-10-16T17:04:12.381Z"
    }
  ],
  "meta": {
    "nextCursor": null,
    "hasMore": false
  }
}

Create a tag

post

Creates a tag that can be attached to customers. Names are unique in the workspace ignoring case; a taken name is 409 already_exists. Send an Idempotency-Key to retry safely.

Returns the tag object.

Errors specific to this endpoint: already_exists. Every endpoint can also return the common errors.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

A workspace API token. Each operation lists the scopes it needs; write implies read, and send/complete are never implied.

Header parameters
Idempotency-Keystring · max: 255Optional

Any string up to 255 characters. Retrying with the same key returns the first response instead of repeating the write, for 24 hours.

Body

A new tag.

namestring · min: 1 · max: 60Required

The tag's name, up to 60 characters. Names are unique in the workspace, ignoring case.

Responses
201

Success.

application/json
post/v1/tags
curl https://api.shortcutco.com/v1/tags \
  -X POST \
  -H "Authorization: Bearer $SHORTCUT_TOKEN" \
  -H "Idempotency-Key: 86a3b15e-82ed-4ca5-8f38-27ec7b826333" \
  -H "Content-Type: application/json" \
  -d '{"name":"Corner lot"}'
{
  "data": {
    "id": "8336cf7f-7f81-4ac6-8bcb-460d78158154",
    "object": "tag",
    "name": "Corner lot",
    "createdAt": "2026-10-16T17:04:12.381Z",
    "updatedAt": "2026-10-16T17:04:12.381Z"
  }
}

Get a tag

get
Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

A workspace API token. Each operation lists the scopes it needs; write implies read, and send/complete are never implied.

Path parameters
idstring · uuidRequired

The object's id.

Responses
200

Success.

application/json
get/v1/tags/{id}
curl https://api.shortcutco.com/v1/tags/71653430-6daf-4f77-89f9-aabe6643e605 \
  -H "Authorization: Bearer $SHORTCUT_TOKEN"
{
  "data": {
    "id": "71653430-6daf-4f77-89f9-aabe6643e605",
    "object": "tag",
    "name": "Corner lot",
    "createdAt": "2026-10-16T17:04:12.381Z",
    "updatedAt": "2026-10-16T17:04:12.381Z"
  }
}

Delete a tag

delete

Deletes a tag and removes it from every customer and lead, as deleting it in Settings does; saved Dispatch views stop filtering on it. This cannot be undone. Customers who wore the tag count as changed for updatedSince, and, if the token has automations:trigger, automations that start when a tag is removed run as they do for deletes in the app.

Returns the tag object.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

A workspace API token. Each operation lists the scopes it needs; write implies read, and send/complete are never implied.

Path parameters
idstring · uuidRequired

The object's id.

Responses
200

Success.

application/json
delete/v1/tags/{id}
curl https://api.shortcutco.com/v1/tags/71653430-6daf-4f77-89f9-aabe6643e605 \
  -X DELETE \
  -H "Authorization: Bearer $SHORTCUT_TOKEN"
{
  "data": {
    "id": "71653430-6daf-4f77-89f9-aabe6643e605",
    "object": "tag",
    "deleted": true,
    "detachedCount": 1
  }
}

Rename a tag

patch

Renames a tag everywhere it is attached. A name another tag has, ignoring case, is 409 already_exists. Renaming does not count as a change to the customers wearing the tag.

Returns the tag object.

Errors specific to this endpoint: already_exists. Every endpoint can also return the common errors.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

A workspace API token. Each operation lists the scopes it needs; write implies read, and send/complete are never implied.

Path parameters
idstring · uuidRequired

The object's id.

Body

The tag's new name.

namestring · min: 1 · max: 60Required

The tag's name, up to 60 characters. Names are unique in the workspace, ignoring case.

Responses
200

Success.

application/json
patch/v1/tags/{id}
curl https://api.shortcutco.com/v1/tags/71653430-6daf-4f77-89f9-aabe6643e605 \
  -X PATCH \
  -H "Authorization: Bearer $SHORTCUT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"Corner lot"}'
{
  "data": {
    "id": "71653430-6daf-4f77-89f9-aabe6643e605",
    "object": "tag",
    "name": "Corner lot",
    "createdAt": "2026-10-16T17:04:12.381Z",
    "updatedAt": "2026-10-16T17:04:12.381Z"
  }
}

Last updated