ThriveDesk Misc API
Utilities: current user (`/v1/me`) and global search (`/v1/search`).
Utilities: current user (`/v1/me`) and global search (`/v1/search`).
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-misc-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 Misc 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: Misc
description: 'Utilities: current user (`/v1/me`) and global search (`/v1/search`).'
paths:
/me:
get:
summary: Get current user, organization, and badge counts
operationId: me-get
tags:
- Misc
description: Get current user, organization, and badge counts.
responses:
'200':
description: Success.
content:
application/json:
schema:
$ref: '#/components/schemas/MeResponse'
'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'
x-codeSamples:
- lang: curl
label: cURL
source: "curl -X GET \"https://api.thrivedesk.com/v1/me\" \\\n -H \"Authorization: Bearer $TOKEN\""
security:
- bearerToken: []
/search:
post:
summary: Search conversations
operationId: search-post
tags:
- Misc
description: Search conversations.
responses:
'200':
description: Success.
content:
application/json:
schema:
$ref: '#/components/schemas/SearchResponse'
'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/SearchBody'
example:
q:
subject: refund
status: Active
per-page: 20
sort: newest
x-codeSamples:
- lang: curl
label: cURL
source: "curl -X POST \"https://api.thrivedesk.com/v1/search\" \\\n -H \"Authorization: Bearer $TOKEN\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"q\": {\n \"subject\": \"refund\",\n \"status\": \"Active\"\n },\n \"per-page\": 20,\n \"sort\": \"newest\"\n}'"
security:
- bearerToken: []
components:
schemas:
SearchBody:
type: object
properties:
q:
type: object
description: 'Filter object passed to the search engine. Common keys: `subject`,
`status`, `inbox_id`, `assignee_id`, `tag_id`, `contact_id`,
`from_date`, `to_date`. Defaults to no filters.
'
additionalProperties: true
per-page:
type: integer
default: 20
sort:
type: string
enum:
- newest
- oldest
default: newest
SearchResponse:
type: object
required:
- success
- data
properties:
success:
type: boolean
data:
type: object
properties:
conversations:
type: object
description: Paginated collection of conversations.
example:
success: true
data:
conversations:
current_page: 1
data:
- id: 7b1d4e2a-9c8f-4a3b-b6d5-1e2f3a4b5c6d
ticket_id: 1042
subject: Order INV-1042 arrived damaged
status: open
priority: high
per_page: 20
total: 1
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.
User:
type: object
description: A teammate (agent, admin, or owner) on the organization.
properties:
id:
type: string
name:
type: string
first_name:
type: string
last_name:
type: string
email:
type: string
format: email
phone:
type:
- string
- 'null'
job_title:
type:
- string
- 'null'
avatar:
type:
- string
- 'null'
format: uri
role:
type: string
enum:
- Account Owner
- Administrator
- User
presence:
type:
- string
- 'null'
enum:
- online
- away
- null
timezone:
type:
- string
- 'null'
time_format:
type:
- string
- 'null'
description: 12h or 24h.
active_organization_id:
type:
- string
- 'null'
created_at:
type: string
format: date-time
extra:
type: object
description: Per-user preferences.
properties:
password_reset_required:
type: boolean
notification_preferences:
type: object
additionalProperties: true
firebase_notification_preferences:
type: object
additionalProperties: true
mobile_notification_preferences:
type: object
additionalProperties: true
auto_advance_ticket_enabled:
type: boolean
undo_send_enabled:
type: boolean
undo_send_delay:
type:
- integer
- 'null'
example:
id: 9c81790c-ae74-4cbd-b2ca-d246ae0df1a9
name: Alex Morgan
first_name: Alex
last_name: Morgan
email: agent@example.com
phone: null
job_title: Support Lead
avatar: null
role: Administrator
presence: online
timezone: UTC
time_format: 24h
active_organization_id: 0b9a8c7d-6e5f-4a3b-9c2d-1e0f3a4b5c6d
created_at: '2026-07-10T09:00:00Z'
extra:
auto_advance_ticket_enabled: true
undo_send_enabled: false
OrganizationSummary:
type: object
description: 'A membership summary for an organization the user belongs to (an item
of the `organizations` array in `GET /v1/me`).
'
properties:
id:
type: string
company:
type: string
slug:
type: string
owner_id:
type: string
assigned_tickets_count:
type: integer
Organization:
type: object
description: 'An organization (tenant) on ThriveDesk, as returned in the `company`
block of `GET /v1/me`.
'
properties:
id:
type: string
owner_id:
type: string
company:
type: string
description: The organization (company) name.
slug:
type: string
options:
type: object
description: Organization-level options such as `timezone` (free-form).
permissions:
type: object
description: Role-to-capability permission matrix (free-form).
domain:
type: object
description: The organization's sending domain.
properties:
id:
type: string
domain:
type: string
config:
type: object
description: Domain provider configuration (free-form).
authorized:
type: boolean
extra:
type: object
description: Additional domain metadata (free-form).
organization_id:
type: string
created_at:
type: string
format: date-time
updated_at:
type: string
format: date-time
MeResponse:
type: object
required:
- company
- user
- inboxes
- organizations
- onboarding
- had_onboarding_survey
- badge_count
properties:
company:
$ref: '#/components/schemas/Organization'
user:
$ref: '#/components/schemas/User'
inboxes:
type: array
items:
type: string
description: Array of inbox IDs the user can access.
organizations:
type: array
items:
$ref: '#/components/schemas/OrganizationSummary'
onboarding:
type: object
additionalProperties: true
had_onboarding_survey:
type: boolean
badge_count:
type: integer
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'
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