v1
latestOpenAPI 3.1.02026-07-2268276396.6 KBTags
Create tag
Creates a custom tag in your organization. Use the returned id when assigning tags to a document via PATCH /contents/v1/documents/{content_id} (pass tag IDs in the tags array, not names). Tag names supplied at upload time via POST /contents/v1/documents are resolved by name; for post-upload changes, use tag IDs from this endpoint or from List tags.
post/contents/v1/tags
Request body
Example request
{
"tag_name": "testing tag 2"
}Response
The created tag, including its id for use when updating document metadata.
Example response
{
"id": "019a48b4-e573-7203-945a-2e7c4c164217",
"name": "from:user@email.com",
"created_at": "2025-11-03T07:53:26.150858Z",
"updated_at": "2025-11-03T07:53:26.150859Z",
"file_count": 40
}