Skip to content
dimmiDocs

Tickets

Create a ticket

POST/api/v1/tickets

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the tickets:write ability

Body

application/json
assignee_idstring

Id of the teammate (workspace member), starting with mem_, such as mem_01jx2m8k4t. Find it with GET /members.

Maximum length: 64

company_idstring

Id of the company, starting with cmp_, such as cmp_01jx2m8k4t. Find it with GET /companies.

Maximum length: 64

contact_idstring

Id of the contact (a customer or lead), starting with ctc_, such as ctc_01jx2m8k4t. Find it with GET /contacts.

Maximum length: 64

conversation_idstring

Id of the conversation, such as conv_01jx2m8k4t, or its number, such as 1042 for #1042. Find it with GET /conversations or GET /search.

Maximum length: 64

descriptionstring

The description of the ticket, at most 20000 characters.

Maximum length: 20000

external_idstring

Your own system's id of this record, such as user_8421.

Maximum length: 255

fieldsobject

Values by field key; the type's fields say each key's data type and options.

inbox_idstring

Id of the inbox, starting with inbox_, such as inbox_01jx2m8k4t. Find it with GET /inboxes.

Maximum length: 64

link_toobject[] | null

Links made at once, such as {kind: tracker, conversation_id} for each report.

Maximum items: 500

Show child attributes
conversation_idstring

Id of the conversation the ticket is linked to, starting with conv_, such as conv_01jx2m8k4t. Find it with GET /conversations or GET /search. A tracker link needs it. Send this or ticket_id, never both.

Maximum length: 64

kindstringrequired

What the link means: back_office (from a customer ticket to back-office work, needs ticket_id), tracker (from a tracker ticket to a conversation, needs conversation_id), follow_up or related (join any two tickets). Such as "related".

Available options:back_officetrackerfollow_uprelated

ticket_idstring

Id of the other ticket the ticket is linked to, starting with tkt_, such as tkt_01jx2m8k4t. Find it with GET /tickets. A back_office link needs it. Send this or conversation_id, never both.

Maximum length: 64

prioritystring

How urgent the ticket is: none, low, medium, high or urgent, such as "high". Left out, the ticket starts at none.

Available options:nonelowmediumhighurgent

sla_policy_idstring

Id of the SLA policy, starting with sla_, such as sla_01jx2m8k4t. Find it with GET /sla-policies.

Maximum length: 64

state_idstring

Id of the ticket state, starting with tkts_, such as tkts_01jx2m8k4t. Find it with GET /ticket-states.

Maximum length: 64

team_idstring

Id of the team, starting with team_, such as team_01jx2m8k4t. Find it with GET /teams.

Maximum length: 64

titlestringrequired

The title of the ticket, at most 200 characters.

Maximum length: 200

type_idstringrequired

A type id from GET /ticket-types.

Maximum length: 64

Response 201

Created
dataobjectrequired
Show child attributes
assignee_idstring | nullrequired

Id of the teammate who works the ticket, such as mem_...; null when nobody is assigned.

close_loopbooleanrequired

True when the ticket is marked to close the loop with its customers; false by default.

company_idstring | nullrequired

Id of the company the ticket belongs to, such as cmp_...; null for none.

contact_idstring | nullrequired

Id of the customer the ticket belongs to, such as ctc_...; null for none.

conversation_idstring | nullrequired

Id of the conversation a customer ticket is tied to, where its replies live, such as conv_...; null for other kinds.

created_atstringrequired

When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

created_by_typestringrequired

Who made the ticket: member, contact, agent, workflow, integration or system.

customer_visiblebooleanrequired

True when the customer can see the ticket.

deleted_atstring | nullrequired

When the ticket was deleted; null while it is live.

Format: date-time

descriptionstringrequired

The ticket's description, up to 20000 characters; empty when none was written.

external_idstring | nullrequired

The caller's own id for the ticket, unique in the workspace, so a retry finds the ticket it already made; null when none was sent.

fieldsobjectrequired

The ticket's field values, keyed by each field's key; empty when none are set.

groupstringrequired

Group of the ticket's state: submitted, in_progress, waiting_customer, waiting_team or resolved.

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

impactobject
Show child attributes
companiesintegerrequired

How many companies the tracker reaches through its linked conversations.

Format: int64

conversationsintegerrequired

How many conversations are linked to the tracker.

Format: int64

customersintegerrequired

How many customers the tracker reaches through its linked conversations.

Format: int64

revenuenumberrequired

Total monthly revenue of the companies reached, read from each company's monthly_spend or mrr attribute; a company with neither counts as 0.

Format: double

inbox_idstringrequired

Id of the inbox the ticket belongs to, such as inbox_....

issuesobject[] | nullrequired

The issues in outside trackers that stand behind the ticket; empty for none.

Show child attributes
created_atstringrequired

When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

deployed_atstring | nullrequired

When the issue's fix was seen deployed. Null until then.

Format: date-time

done_atstring | nullrequired

When the issue was seen done in its tool. Null until then.

Format: date-time

external_idstringrequired

The issue's or incident's own id in the provider's tool.

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

installation_idstring | nullrequired

Id of the connected integration the issue is read through, such as itg_.... Null when that integration is gone or none is used.

keystringrequired

The issue's short key as its tool shows it, such as ENG-123.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

providerstringrequired

The tool the issue or incident lives in: linear, jira, github, incident_io, rootly or pagerduty.

severitystringrequired

The issue's or incident's severity as the provider names it. Empty when none is known.

statusstringrequired

The issue's status as its tool names it, as last seen, such as In Progress. Empty when not yet read.

status_groupstringrequired

What dimmi maps the issue's status to: backlog, unstarted, started, done or canceled.

sync_errorstring | nullrequired

Why the last check of the issue failed. Null when it worked.

synced_atstring | nullrequired

When the issue was last checked against its tool. Null when never checked.

Format: date-time

team_idstringrequired

The provider's own id of the team the issue belongs to. Empty when not known.

team_namestringrequired

Name of the team the issue belongs to in its tool. Empty when not known.

ticket_idstringrequired

Id of the ticket the issue is linked to, such as tkt_....

titlestringrequired

The issue's title as last seen in its tool. Empty when not yet read.

urlstringrequired

Web address of the issue in its tool.

warningstring | nullrequired

A problem a person should know about, such as a Linear team the app cannot see. Null when there is none.

kindstringrequired

Kind of ticket: customer (tied to one conversation), back_office or tracker.

linked_conversationsintegerrequired

How many conversations are linked to the ticket.

Format: int64

linksobject[] | null

The ticket's links to other tickets and conversations. Only present when one ticket is read on its own.

Show child attributes
conversation_idstring | nullrequired

Id of the conversation the link points to, such as conv_.... Null when the link points to another ticket instead.

created_atstringrequired

When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

from_ticket_idstringrequired

Id of the ticket the link starts from, such as tkt_....

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

kindstringrequired

What the link means: back_office (work behind a customer ticket), tracker (a report of a tracked problem), follow_up or related.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

ticketobjectrequired
Show child attributes
assignee_idstring | nullrequired

Id of the teammate the linked ticket is assigned to, starting with mem_. Null when nobody holds it.

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

kindstringrequired

The linked ticket's kind: customer, back_office or tracker.

referencestringrequired

The linked ticket's number as the team reads it, such as T-142.

stateobjectrequired
Show child attributes
customer_labelstringrequired

What the customer sees when their ticket is in this state.

groupstringrequired

The fixed group that says what the state means: submitted, in_progress, waiting_customer, waiting_team or resolved.

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

namestringrequired

The state's name as the team sees it.

titlestringrequired

The linked ticket's title.

type_namestringrequired

Name of the linked ticket's type.

updated_atstringrequired

When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

to_ticket_idstring | nullrequired

Id of the ticket the link points to, such as tkt_.... Null when the link points to a conversation instead.

numberintegerrequired

The ticket's number within the workspace; the reference is T- followed by it.

Format: int64

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

prioritystringrequired

The ticket's priority: none, low, medium, high or urgent.

referencestringrequired

The ticket's reference as the team reads it, such as T-482.

resolved_atstring | nullrequired

When the ticket was resolved; null while it is not.

Format: date-time

sla_clocksobject[] | null

The service level clocks on the ticket. Only present when one ticket is read on its own.

Show child attributes
breached_atstring | nullrequired

When the clock passed its due time unmet; null if it has not.

Format: date-time

conversation_idstring | nullrequired

Id of the conversation the clock runs on, such as conv_...; null when it runs on a ticket.

due_atstringrequired

When the target must be met, counting only the policy's open hours.

Format: date-time

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

paused_atstring | nullrequired

When the clock was paused; null while it is not paused.

Format: date-time

policy_idstringrequired

Id of the service level policy the clock follows, such as sla_....

started_atstringrequired

When the clock started.

Format: date-time

statestringrequired

Where the clock stands: running, paused, met, breached or canceled.

stopped_atstring | nullrequired

When the clock ended; null while it still runs or is paused.

Format: date-time

targetstringrequired

What the clock promises: first_reply, next_reply, follow_up or resolution.

ticket_idstring | nullrequired

Id of the ticket the clock runs on, such as tkt_...; null when it runs on a plain conversation.

warn_atstring | nullrequired

When the team is warned ahead of the due time; null when no warning is set.

Format: date-time

sla_policy_idstring | nullrequired

Id of the service level policy the ticket follows, such as sla_...; null for none.

stateobjectrequired
Show child attributes
customer_labelstringrequired

What the customer sees when their ticket is in this state.

groupstringrequired

The fixed group that says what the state means: submitted, in_progress, waiting_customer, waiting_team or resolved.

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

namestringrequired

The state's name as the team sees it.

state_idstringrequired

Id of the ticket's state, such as tkts_.... Send it wherever a ticket state is asked for.

state_sincestringrequired

When the ticket entered its current state.

Format: date-time

suggestionsobjectrequired

Field values the AI proposed, keyed by field key, waiting until a person accepts them; empty for none.

team_idstring | nullrequired

Id of the team the ticket is assigned to, such as team_...; null for none.

titlestringrequired

The ticket's title, up to 200 characters.

typeobjectrequired
Show child attributes
iconstringrequired

Name of the type's icon, lowercase with dashes, such as ticket.

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

kindstringrequired

What the ticket is: customer, back_office or tracker.

namestringrequired

The ticket type's name.

type_idstringrequired

Id of the ticket's type, such as tktt_.... Send it wherever a ticket type is asked for.

updated_atstringrequired

When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

versionintegerrequired

Number that goes up on every change. Send it back when editing so an edit made against an older copy is refused.

Format: int32

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.