ThriveDesk Tags API
Conversation labels, organized per organization.
Conversation labels, organized per organization.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/thrivedesk:thrivedesk-tags-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: ThriveDesk Public Tags API
version: 1.3.0
summary: REST API for the ThriveDesk helpdesk data plane.
description: 'The ThriveDesk Public API gives external integrators programmatic access
to conversations, contacts, inboxes, tags, saved replies, reports, and the
Knowledge Base. The same surface that powers the ThriveDesk web app is
available here, scoped via bearer access tokens.
## Quick links
- Quickstart
- Authentication and scopes
- Errors
- Pagination and rate limits
- Assistant SDK
- Webhooks
- SmartApp
- Changelog
## What is documented
The 90 endpoints in this spec cover the helpdesk data plane:
conversations, contacts, inboxes (with their automations, custom fields,
and saved replies), tags, teammates, saved replies, business hours and
holidays, reports, the Knowledge Base, attachments, messages, notes, and
the search and `me` utilities.
First-party app, billing, onboarding,
broadcasting, widget, webhook, and admin-dashboard endpoints are not part
of this REST surface. The separate Assistant SDK,
webhook, and SmartApp
contracts are documented as sibling integration surfaces. The same goes for the web
app''s own session and UI mechanics (password login, undo-send, saved-view
and folder creation, usage counters) and for admin-plane writes
(automation create and update, Knowledge Base member invitation, bulk
permanent deletion): those routes exist for the first-party clients but
are not supported for integrations.
## Deleting data
Deletes are not uniform. Some are recoverable, some destroy related
records and stored files outright, and the response body does not say
which is which. Every delete operation carries a description saying what
it removes and whether there is a way back. Read it before you call it.
## Compatibility
- OpenAPI 3.1
- All requests are `application/json` except for attachment downloads
(binary stream).
- All responses are `application/json` except for attachment downloads.'
contact:
name: ThriveDesk Developer Support
email: help@thrivedesk.com
url: https://www.thrivedesk.com
license:
name: Proprietary
url: https://www.thrivedesk.com/terms
servers:
- url: https://api.thrivedesk.com/v1
security:
- bearerToken: []
tags:
- name: Tags
description: Conversation labels, organized per organization.
paths:
/settings/tags:
get:
summary: List tags
operationId: tags-index-get
tags:
- Tags
description: List tags.
responses:
'200':
description: Success.
content:
application/json:
schema:
$ref: '#/components/schemas/TagCollection'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'422':
$ref: '#/components/responses/UnprocessableEntity'
'429':
$ref: '#/components/responses/TooManyRequests'
'500':
$ref: '#/components/responses/ServerError'
parameters:
- $ref: '#/components/parameters/Page'
- in: query
name: per_page
schema:
type: integer
default: 15
- in: query
name: q
schema:
type: string
description: Search tags by name.
x-codeSamples:
- lang: curl
label: cURL
source: "curl -X GET \"https://api.thrivedesk.com/v1/settings/tags\" \\\n -H \"Authorization: Bearer $TOKEN\""
security:
- bearerToken: []
post:
summary: Create a tag
operationId: tags-index-post
tags:
- Tags
description: Create a tag.
responses:
'200':
description: Success.
content:
application/json:
schema:
$ref: '#/components/schemas/TagCreateResponse'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'422':
$ref: '#/components/responses/UnprocessableEntity'
'429':
$ref: '#/components/responses/TooManyRequests'
'500':
$ref: '#/components/responses/ServerError'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/TagWrite'
example:
name: Billing
color: '#FF0000'
x-codeSamples:
- lang: curl
label: cURL
source: "curl -X POST \"https://api.thrivedesk.com/v1/settings/tags\" \\\n -H \"Authorization: Bearer $TOKEN\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"name\": \"Billing\",\n \"color\": \"#FF0000\"\n}'"
security:
- bearerToken: []
/settings/tags/{tag_id}:
put:
summary: Update a tag
operationId: tags-resource-put
tags:
- Tags
description: Update a tag.
responses:
'200':
description: Success.
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: OK
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'422':
$ref: '#/components/responses/UnprocessableEntity'
'429':
$ref: '#/components/responses/TooManyRequests'
'500':
$ref: '#/components/responses/ServerError'
parameters:
- $ref: '#/components/parameters/TagId'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/TagUpdate'
example:
name: Billing
color: '#FF0000'
x-codeSamples:
- lang: curl
label: cURL
source: "curl -X PUT \"https://api.thrivedesk.com/v1/settings/tags/9c81790c-ae74-4cbd-b2ca-d246ae0df1a9\" \\\n -H \"Authorization: Bearer $TOKEN\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"name\": \"Billing\",\n \"color\": \"#FF0000\"\n}'"
security:
- bearerToken: []
delete:
summary: Delete a tag
operationId: tags-resource-delete
tags:
- Tags
description: Delete a tag.
responses:
'200':
description: Success.
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: OK
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'422':
$ref: '#/components/responses/UnprocessableEntity'
'429':
$ref: '#/components/responses/TooManyRequests'
'500':
$ref: '#/components/responses/ServerError'
parameters:
- $ref: '#/components/parameters/TagId'
x-codeSamples:
- lang: curl
label: cURL
source: "curl -X DELETE \"https://api.thrivedesk.com/v1/settings/tags/9c81790c-ae74-4cbd-b2ca-d246ae0df1a9\" \\\n -H \"Authorization: Bearer $TOKEN\""
security:
- bearerToken: []
/settings/tags/merge:
post:
summary: Merge tags into one
operationId: tags-merge-post
tags:
- Tags
description: Merge tags into one.
responses:
'200':
description: Success.
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: OK
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'422':
$ref: '#/components/responses/UnprocessableEntity'
'429':
$ref: '#/components/responses/TooManyRequests'
'500':
$ref: '#/components/responses/ServerError'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/TagsMergeBody'
example:
name: Billing
color: '#FF0000'
tags:
- 9c81790c-ae74-4cbd-b2ca-d246ae0df1a9
- 1a2b3c4d-5e6f-4708-9a0b-1c2d3e4f5a6b
x-codeSamples:
- lang: curl
label: cURL
source: "curl -X POST \"https://api.thrivedesk.com/v1/settings/tags/merge\" \\\n -H \"Authorization: Bearer $TOKEN\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"name\": \"Billing\",\n \"color\": \"#FF0000\",\n \"tags\": [\n \"9c81790c-ae74-4cbd-b2ca-d246ae0df1a9\",\n \"1a2b3c4d-5e6f-4708-9a0b-1c2d3e4f5a6b\"\n ]\n}'"
security:
- bearerToken: []
components:
schemas:
TagCreateResponse:
type: object
required:
- message
- tag
properties:
message:
type: string
example: Tag has been created
tag:
$ref: '#/components/schemas/Tag'
TagsMergeBody:
type: object
required:
- name
- tags
properties:
name:
type: string
maxLength: 64
description: Name of the merged tag. Must be unique within the organization.
color:
type: string
pattern: ^#[0-9A-Fa-f]{6}$
tags:
type: array
minItems: 2
items:
type: string
description: IDs of the tags being merged into the new one.
TagCollection:
type: object
required:
- data
properties:
data:
type: array
items:
$ref: '#/components/schemas/Tag'
links:
$ref: '#/components/schemas/PaginationLinks'
meta:
$ref: '#/components/schemas/PaginationMeta'
TagWrite:
type: object
description: Fields accepted by tag create.
required:
- name
properties:
name:
type: string
maxLength: 64
description: Unique per organization.
color:
type: string
pattern: ^#[0-9A-Fa-f]{6}$
Error:
type: object
description: 'Standard JSON error envelope. The exact shape depends on the error.
Validation errors include an `errors` object keyed by field name. Auth
errors include a `message`. Throttle errors include a `message` of
"Too Many Attempts." See [Errors](/get-started/errors) for the full catalog.
'
required:
- message
properties:
message:
type: string
description: Human-readable error message.
example: The given data was invalid.
errors:
type: object
description: 'Field-level validation errors. Present on 422 responses, when the
request body fails validation.
'
additionalProperties:
type: array
items:
type: string
example:
email:
- The email field is required.
Tag:
type: object
description: A tag, as returned by the tag list endpoints.
properties:
id:
type: string
name:
type: string
color:
type: string
description: Hex color in `#RRGGBB` form.
pattern: ^#[0-9A-Fa-f]{6}$
example: '#FF0000'
conversations_count:
type: integer
PaginationLinks:
type: object
properties:
first:
type:
- string
- 'null'
format: uri
last:
type:
- string
- 'null'
format: uri
prev:
type:
- string
- 'null'
format: uri
next:
type:
- string
- 'null'
format: uri
PaginationMeta:
type: object
description: Standard (counting) paginator meta block.
properties:
current_page:
type: integer
example: 1
from:
type:
- integer
- 'null'
example: 1
last_page:
type: integer
example: 10
per_page:
type: integer
example: 20
to:
type:
- integer
- 'null'
example: 20
total:
type: integer
example: 200
path:
type: string
format: uri
example: https://api.thrivedesk.com/v1/contacts
links:
type: array
description: 'Rendered paginator links: the numbered pages plus the previous/next
controls (whose `url` and `page` are null when unavailable).
'
items:
type: object
properties:
url:
type:
- string
- 'null'
format: uri
label:
type: string
page:
type:
- integer
- 'null'
active:
type: boolean
TagUpdate:
type: object
required:
- name
properties:
name:
type: string
description: Unique per organization.
color:
type:
- string
- 'null'
ValidationError:
allOf:
- $ref: '#/components/schemas/Error'
- type: object
required:
- errors
properties:
errors:
type: object
additionalProperties:
type: array
items:
type: string
responses:
TooManyRequests:
description: 'Rate limit exceeded. The `Retry-After` header indicates how long to wait
before retrying. See [Pagination and rate limits](/get-started/pagination) for
the full rate-limit policy.
'
headers:
Retry-After:
description: Seconds to wait before retrying.
schema:
type: integer
X-RateLimit-Limit:
schema:
type: integer
X-RateLimit-Remaining:
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
throttled:
value:
message: Too Many Attempts.
NotFound:
description: Resource not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Forbidden:
description: Token is valid but does not include a required scope, or the user does not have access to the resource.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: Missing or invalid bearer token.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
missing:
value:
message: Unauthenticated.
UnprocessableEntity:
description: Request body failed validation.
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationError'
ServerError:
description: Unexpected server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
Page:
in: query
name: page
schema:
type: integer
minimum: 1
default: 1
TagId:
in: path
name: tag_id
required: true
schema:
type: string
securitySchemes:
bearerToken:
type: http
scheme: bearer
bearerFormat: Personal access token
description: 'Personal access tokens created from the ThriveDesk UI.
Create one under Integrations -> API Keys.
'
x-tagGroups:
- name: Getting started
tags:
- Misc
- name: Core
tags:
- Conversations
- Contacts
- Inboxes
- name: Organization
tags:
- Tags
- Saved Replies
- Users
- Business Hours
- Holidays
- name: Analytics
tags:
- Reports
- name: Knowledge Base
tags:
- Knowledge Base
- name: Attachments
tags:
- Attachments
- Messages and Notes