Tags
API for managing the account-level tag catalog. Tags are short-code labels that can be applied to flow-step errors for classification and triage.
Tag schema
Returns every tag defined in the account, each with its short tagId code and human-readable tag name. This is the catalog that backs the tag-picker on flow-step errors (PUT /v1/flows/{_id}/{_stepId}/tags).
The tagId field is the short code used as a write-side input on flow-step tag mutations (PUT /v1/flows/{_id}/{_stepId}/tags accepts tagIds: ["NjMMA", ...]), while the human name is stored on the error record as tags: ["Ignore", ...].
Maximum number of records to return per page.
100Opaque cursor for forward pagination. Pass the value from the Link
response header (rel="next") to fetch the next page.
Array of tag entries (at least one tag exists).
No tags exist in the account.
Unauthorized. The request lacks a valid bearer token, or the provided token failed to authenticate.
Note: the 401 response is produced by the auth middleware before the
request reaches the endpoint handler, so it does not follow the
standard {errors: [...]} envelope. Instead the body is a bare
{message: string} object with no code, no errors array. Callers
handling 401s should key off the HTTP status and the message string,
not try to destructure an errors[].
GET /v1/tags HTTP/1.1
Host: api.integrator.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"_id": "6555119c0a137977fb1e7994",
"tag": "Ignore",
"tagId": "NjMMA"
},
{
"_id": "69a1e79bdbb446adf7933049",
"tag": "IT Related Login Issue",
"tagId": "P3mzf"
}
]Creates a new tag in the account's tag catalog. The server generates an immutable short tagId code automatically. Tag names are case-insensitively unique within the account — a case-variant duplicate is rejected with HTTP 422 [create_not_allowed] "A tag with this name already exists." Per Celigo's documentation, the catalog holds at most 1,000 unique tags per account. Note the per-error limit is separate and much smaller: a single error carries at most 3 tags (see PUT /v1/flows/{_id}/{_stepId}/tags).
Fields for creating or updating a tag.
The human-readable tag name. Case-insensitively unique within the account. Whitespace is trimmed on save; names that are empty after trimming are rejected.
UrgentThe created tag entry.
One tag entry from the account's tag catalog. tag is the human
display name; tagId is the 5-char short code used when writing tag
references on flow-step errors.
Unique identifier for the resource. Format is a 24-character hexadecimal string.
5f8d43a1b9e5a80011a35f2cTimestamp when the resource was created. Set automatically and cannot be modified.
2023-04-01T09:15:32ZTimestamp when the resource was last updated. Changes whenever any property is modified.
2023-04-15T14:30:15ZTimestamp when the resource was soft-deleted. When null or absent, the resource is active.
2023-05-20T11:45:32ZHuman-readable tag name. Appears on read-side error records.
UrgentShort code used when writing tag references — e.g. as the values
in PUT /v1/flows/{_id}/{_stepId}/tags tagIds[].
Server-generated and immutable: tagId values supplied on
create/update are ignored and a fresh code is generated.
rx618Pattern: ^[a-zA-Z0-9]{5}$Bad request. The server could not understand the request because of malformed syntax or invalid parameters.
Unauthorized. The request lacks a valid bearer token, or the provided token failed to authenticate.
Note: the 401 response is produced by the auth middleware before the
request reaches the endpoint handler, so it does not follow the
standard {errors: [...]} envelope. Instead the body is a bare
{message: string} object with no code, no errors array. Callers
handling 401s should key off the HTTP status and the message string,
not try to destructure an errors[].
Unprocessable entity. The request was well-formed but was unable to be followed due to semantic errors.
POST /v1/tags HTTP/1.1
Host: api.integrator.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"tag": "Urgent"
}{
"_id": "65d6cd9e83ba5b97e2658fce",
"tag": "Urgent",
"tagId": "rx618"
}Returns a single tag entry by its _id.
The tag ID.
65d6cd9e83ba5b97e2658fceThe tag entry.
One tag entry from the account's tag catalog. tag is the human
display name; tagId is the 5-char short code used when writing tag
references on flow-step errors.
Unique identifier for the resource. Format is a 24-character hexadecimal string.
5f8d43a1b9e5a80011a35f2cTimestamp when the resource was created. Set automatically and cannot be modified.
2023-04-01T09:15:32ZTimestamp when the resource was last updated. Changes whenever any property is modified.
2023-04-15T14:30:15ZTimestamp when the resource was soft-deleted. When null or absent, the resource is active.
2023-05-20T11:45:32ZHuman-readable tag name. Appears on read-side error records.
UrgentShort code used when writing tag references — e.g. as the values
in PUT /v1/flows/{_id}/{_stepId}/tags tagIds[].
Server-generated and immutable: tagId values supplied on
create/update are ignored and a fresh code is generated.
rx618Pattern: ^[a-zA-Z0-9]{5}$Bad request. The server could not understand the request because of malformed syntax or invalid parameters.
Unauthorized. The request lacks a valid bearer token, or the provided token failed to authenticate.
Note: the 401 response is produced by the auth middleware before the
request reaches the endpoint handler, so it does not follow the
standard {errors: [...]} envelope. Instead the body is a bare
{message: string} object with no code, no errors array. Callers
handling 401s should key off the HTTP status and the message string,
not try to destructure an errors[].
Not found. The requested resource does not exist or is not visible to the caller.
GET /v1/tags/{_id} HTTP/1.1
Host: api.integrator.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"_id": "65d6cd9e83ba5b97e2658fce",
"tag": "Urgent",
"tagId": "rx618"
}Updates the human-readable tag name for an existing tag entry. The short tagId code is immutable and cannot be changed.
The tag ID.
65d6cd9e83ba5b97e2658fceFields for creating or updating a tag.
The human-readable tag name. Case-insensitively unique within the account. Whitespace is trimmed on save; names that are empty after trimming are rejected.
UrgentThe updated tag entry.
One tag entry from the account's tag catalog. tag is the human
display name; tagId is the 5-char short code used when writing tag
references on flow-step errors.
Unique identifier for the resource. Format is a 24-character hexadecimal string.
5f8d43a1b9e5a80011a35f2cTimestamp when the resource was created. Set automatically and cannot be modified.
2023-04-01T09:15:32ZTimestamp when the resource was last updated. Changes whenever any property is modified.
2023-04-15T14:30:15ZTimestamp when the resource was soft-deleted. When null or absent, the resource is active.
2023-05-20T11:45:32ZHuman-readable tag name. Appears on read-side error records.
UrgentShort code used when writing tag references — e.g. as the values
in PUT /v1/flows/{_id}/{_stepId}/tags tagIds[].
Server-generated and immutable: tagId values supplied on
create/update are ignored and a fresh code is generated.
rx618Pattern: ^[a-zA-Z0-9]{5}$Bad request. The server could not understand the request because of malformed syntax or invalid parameters.
Unauthorized. The request lacks a valid bearer token, or the provided token failed to authenticate.
Note: the 401 response is produced by the auth middleware before the
request reaches the endpoint handler, so it does not follow the
standard {errors: [...]} envelope. Instead the body is a bare
{message: string} object with no code, no errors array. Callers
handling 401s should key off the HTTP status and the message string,
not try to destructure an errors[].
Not found. The requested resource does not exist or is not visible to the caller.
Unprocessable entity. The request was well-formed but was unable to be followed due to semantic errors.
PUT /v1/tags/{_id} HTTP/1.1
Host: api.integrator.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 26
{
"tag": "Production Issue"
}{
"_id": "65d6cd9e83ba5b97e2658fce",
"tag": "Production Issue",
"tagId": "rx618"
}Permanently deletes a tag from the account's tag catalog.
The tag ID.
65d6cd9e83ba5b97e2658fceTag deleted successfully.
No content
Unauthorized. The request lacks a valid bearer token, or the provided token failed to authenticate.
Note: the 401 response is produced by the auth middleware before the
request reaches the endpoint handler, so it does not follow the
standard {errors: [...]} envelope. Instead the body is a bare
{message: string} object with no code, no errors array. Callers
handling 401s should key off the HTTP status and the message string,
not try to destructure an errors[].
Not found. The requested resource does not exist or is not visible to the caller.
DELETE /v1/tags/{_id} HTTP/1.1
Host: api.integrator.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Partially updates a tag using a JSON Patch document (RFC 6902). Only the replace operation is supported, and only on the following whitelisted path:
/tag
The human-readable tag name
All other paths are rejected with 422.
The tag ID.
65d6cd9e83ba5b97e2658fceA JSON Patch document (RFC 6902). Send an array of patch operations on whitelisted fields — all other paths are rejected with 422.
The operation to perform.
JSON Pointer (RFC 6901) to the field to patch. Only
whitelisted paths are accepted — unlisted paths return
422 with "<path> is not a whitelisted property".
The new value to set. Required for replace and add, omit for remove.
Tag patched successfully.
No content
Bad request. The server could not understand the request because of malformed syntax or invalid parameters.
Unauthorized. The request lacks a valid bearer token, or the provided token failed to authenticate.
Note: the 401 response is produced by the auth middleware before the
request reaches the endpoint handler, so it does not follow the
standard {errors: [...]} envelope. Instead the body is a bare
{message: string} object with no code, no errors array. Callers
handling 401s should key off the HTTP status and the message string,
not try to destructure an errors[].
Not found. The requested resource does not exist or is not visible to the caller.
Unprocessable entity. The request was well-formed but was unable to be followed due to semantic errors.
PATCH /v1/tags/{_id} HTTP/1.1
Host: api.integrator.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 53
[
{
"op": "replace",
"path": "/tag",
"value": "Production"
}
]No content
Last updated
Was this helpful?