/api/v2/tag.
All Tags API endpoints require an active authenticated session. Requests without a valid session cookie receive a
401 Unauthorized response.GET /api/v2/tag
Returns an array of tag objects belonging to the authenticated user. You can filter the results by name substring or by a list of specific IDs.string
Filter results to tags whose name contains this substring (case-insensitive). Omit to return all tags.
string[]
An array of tag IDs. When provided, only tags whose IDs appear in this list are returned.
string
Unique identifier for the tag.
string
Display name of the tag.
string
Color assigned to the tag. One of
blue, red, green, yellow, purple, orange, or pink.object
Usage summary for this tag.
POST /api/v2/tag
Creates a new tag for the authenticated user. You may optionally specify a color; if you omit it, Flowtask assigns one at random.string
required
The display name for the new tag. Must be unique within your account.
string
The color for the tag. Must be one of:
blue, red, green, yellow, purple, orange, pink. A random color is chosen when omitted.PATCH /api/v2/tag/:id
Updates the name, color, or both for an existing tag. Send only the fields you want to change.string
required
The unique ID of the tag to update.
string
New display name for the tag.
string
New color for the tag. Must be one of:
blue, red, green, yellow, purple, orange, pink.GET /api/v2/tag/count
Returns the total number of tags in your account. Useful for quota checks or displaying a summary in your UI. Example requestnumber
Total number of tags belonging to the authenticated user.
DELETE /api/v2/tag/bulk
Permanently deletes one or more tags by their IDs, supplied as a comma-separated query parameter.string
required
A comma-separated list of tag IDs to delete. For example:
tag_01hx9z2k3m,tag_01hx9z4p7q.