Tickets

36 operations. Paths start at your portal’s /api/v1.

List active tickets

GET/tickets

Scope read:ticketsRead only

Requires the read:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • limitintegerin query

    Page size, 1 to 100 (default 25).

    Min 1. Max 100. Default 25.

  • cursorstringin query

    Opaque continuation token: pass back the nextCursor you were given. Never construct one.

Response 200

  • dataobject[]Required

    The response payload.

  • data[].idintegerRequired

    Record id (use it to link or fetch the record).

  • data[].subjectstringRequired

    Ticket subject line.

  • data[].statusstringRequired

    Current ticket status.

  • data[].prioritystringRequired

    Ticket priority.

  • data[].assignedTostring or nullRequired

    Name of the person it is assigned to, or null when unassigned.

  • data[].isEscalatedbooleanRequired

    True when the ticket has been escalated.

  • data[].organizationobjectRequired

    The client the ticket belongs to.

  • data[].organization.idstringRequired

    Record id (use it to link or fetch the record).

  • data[].organization.namestringRequired

    Display name.

  • data[].boardobject or nullRequired

    The board the ticket sits on, or null when it has none.

  • data[].board.idstringRequired

    Record id (use it to link or fetch the record).

  • data[].board.namestringRequired

    Display name.

  • data[].createdAtstringRequired

    When the record was created (ISO 8601).

  • data[].updatedAtstringRequired

    When the record last changed (ISO 8601).

  • nextCursorstring or nullRequired

    Opaque cursor for the next page; pass it back as ?cursor=. Null on the last page.

Errors (401, 403, 404, 429)
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Create new ticket

POST/tickets

Scope write:ticketsChanges data

Requires the write:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • Idempotency-Keystringin header

    Optional. Send a unique value per intended change; a retry with the same value within 24 hours replays the first answer instead of changing anything twice. Scoped to your API key.

Request body

  • organizationIdstring

    ID of the client company (organization) this applies to.

  • subjectstringRequired

    Subject line of the ticket.

    Up to 500 characters.

  • descriptionstring

    Description of the ticket.

    Up to 50000 characters.

  • contactNamestring

    Name of the contact person.

  • prioritystring

    Priority name as shown in the portal (use the options tool to list the valid names).

  • categorystring

    Category of the ticket.

  • assignedToUserIdstring

    ID of the technician (staff user) to assign to.

  • boardIdstring

    ID of the service-desk board.

  • requestIdstring

    Optional id of this one action (1 to 200 characters). Send the same id when you retry and the action is done once.

    Up to 200 characters.

Response 200

  • dataobjectRequired

    The result of the action.

  • data.okbooleanRequired

    True when the action was carried out (or, with dryRun, previewed).

  • data.messagestringRequired

    Plain-words sentence describing what happened.

  • data.entityobject or nullRequired

    The record the action touched, or null when it did not touch one.

  • data.entity.typestring or nullRequired

    Kind of record that was acted on, when there is one.

  • data.entity.idstring or nullRequired

    Id of that record, when there is one.

  • data.entity.hrefstring or nullRequired

    Absolute portal link to that record, when there is one.

  • data.outputobjectRequired

    Anything else the action returned (may be empty).

Errors (400, 401, 402, 403, 404, 429)
  • 400 The body or a parameter is not valid for this operation (apiInvalidInput); the sentence names the field.
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 402 This portal is locked for changes (a trial ended or a payment is overdue): writes are refused until it is settled; reads keep working (apiLocked).
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Change several tickets at once

POST/tickets/bulk

Scope write:ticketsChanges data

Requires the write:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • Idempotency-Keystringin header

    Optional. Send a unique value per intended change; a retry with the same value within 24 hours replays the first answer instead of changing anything twice. Scoped to your API key.

Request body

  • ticketIdsinteger[]Required

    The tickets to change, at most 25. Repeats are folded into one.

    Up to 25 items.

  • actionstringRequired

    The one change to make to every ticket.

    One of: status, assign, priority, board, tags.

  • valuestring

    For status, assign, priority and board: the status, technician, priority, or board (id or name). Not used for tags.

  • addTagsstring[]

    For tags: tag names to add (case-insensitive).

    Up to 20 items.

  • removeTagsstring[]

    For tags: tag names to remove (case-insensitive).

    Up to 20 items.

Response 200

  • dataobjectRequired

    The outcome of the bulk change.

  • data.actionstringRequired

    The change that was asked for.

  • data.updatednumberRequired

    How many tickets actually changed.

  • data.totalnumberRequired

    How many distinct tickets were asked about.

  • data.resultsobject[]Required

    One entry per ticket asked about.

  • data.results[].ticketIdnumberRequired

    The ticket.

  • data.results[].changedbooleanRequired

    True when this ticket changed.

  • data.refusedobject[]Required

    Tickets that did not change, each with the reason.

  • data.refused[].ticketIdnumberRequired

    The ticket that did not change.

  • data.refused[].subjectstring or nullRequired

    Its subject, or null when the ticket does not exist.

  • data.refused[].reasonstringRequired

    The machine's word for why this ticket did not change (for example no_change, invalid_transition, not_found).

  • data.refused[].codestringRequired

    The coded refusal the portal renders in the reader's language.

  • data.refused[].paramsobject

    Values the coded refusal quotes, such as status labels.

Errors (400, 401, 402, 403, 404, 429)
  • 400 The body or a parameter is not valid for this operation (apiInvalidInput); the sentence names the field.
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 402 This portal is locked for changes (a trial ended or a payment is overdue): writes are refused until it is settled; reads keep working (apiLocked).
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Close multiple tickets

POST/tickets/bulk-close

Scope write:ticketsChanges data

Requires the write:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • Idempotency-Keystringin header

    Optional. Send a unique value per intended change; a retry with the same value within 24 hours replays the first answer instead of changing anything twice. Scoped to your API key.

Request body

  • ticketIdsnumber[]Required

    Numbers of the tickets.

    Up to 100 items.

Response 200

  • dataobjectRequired

    The result of the action.

  • data.okbooleanRequired

    True when the action was carried out (or, with dryRun, previewed).

  • data.messagestringRequired

    Plain-words sentence describing what happened.

  • data.entityobject or nullRequired

    The record the action touched, or null when it did not touch one.

  • data.entity.typestring or nullRequired

    Kind of record that was acted on, when there is one.

  • data.entity.idstring or nullRequired

    Id of that record, when there is one.

  • data.entity.hrefstring or nullRequired

    Absolute portal link to that record, when there is one.

  • data.outputobjectRequired

    Anything else the action returned (may be empty).

Errors (400, 401, 402, 403, 404, 429)
  • 400 The body or a parameter is not valid for this operation (apiInvalidInput); the sentence names the field.
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 402 This portal is locked for changes (a trial ended or a payment is overdue): writes are refused until it is settled; reads keep working (apiLocked).
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Count tickets (by status and by client)

GET/tickets/counts

Scope read:ticketsRead only

Requires the read:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • organizationIdstringin query

    Count one client only. Omit for the whole desk.

  • includeClosedbooleanin query

    true to count resolved and closed tickets too (default false: open tickets only).

  • clientLimitintegerin query

    How many clients are listed by name (1 to 50); the rest are summed into one row.

Response 200

  • factsobjectRequired

    The counts, computed in code.

  • facts.scopestringRequired

    open = resolved and closed tickets are left out; all = every ticket.

    One of: open, all.

  • facts.organizationIdstring or nullRequired

    The client the count was limited to, or null for the whole desk.

  • facts.organizationNamestring or nullRequired

    Name of that client, or null.

  • facts.totalnumberRequired

    Tickets counted. Equals the sum of byStatus and the sum of byClient plus otherClients.

  • facts.byStatusobject[]Required

    Totals by status.

  • facts.byStatus[].statusstringRequired

    Ticket status.

  • facts.byStatus[].countnumberRequired

    Tickets in that status.

  • facts.byClientobject[]Required

    The biggest clients by ticket count, largest first (clientLimit of them).

  • facts.byClient[].organizationIdstringRequired

    Client id.

  • facts.byClient[].clientstringRequired

    Client name.

  • facts.byClient[].countnumberRequired

    Tickets for that client.

  • facts.otherClientsobject or nullRequired

    The remaining clients summed into one row, or null when none were folded.

  • facts.otherClients.clientsnumberRequired

    How many further clients were folded together.

  • facts.otherClients.countnumberRequired

    Their tickets, summed.

  • facts.clientCapnumberRequired

    How many clients were listed by name.

  • facts.closedStatusesstring[]Required

    The statuses this instance treats as resolved or closed.

  • facts.basisstringRequired

    How the set was filtered, in words.

  • factsTablestringRequired

    The same counts as a ready-to-read text table.

  • factsKeystringRequired

    Name of this kind of table.

  • factsEmptybooleanRequired

    True when no ticket matched.

  • renderingstringRequired

    Note for assistants about how to quote the table.

Errors (401, 403, 404, 429)
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Update a ticket reply

PATCH/tickets/replies/{replyId}

Scope write:ticketsChanges data

Requires the write:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • replyIdstringin pathRequired

    Reply id.

  • Idempotency-Keystringin header

    Optional. Send a unique value per intended change; a retry with the same value within 24 hours replays the first answer instead of changing anything twice. Scoped to your API key.

Request body

  • contentstring

    Text content of the reply.

    Up to 50000 characters.

  • isInternalboolean

    True for an internal note the client cannot see; false for a client-visible reply.

Response 200

  • dataobjectRequired

    The result of the action.

  • data.okbooleanRequired

    True when the action was carried out (or, with dryRun, previewed).

  • data.messagestringRequired

    Plain-words sentence describing what happened.

  • data.entityobject or nullRequired

    The record the action touched, or null when it did not touch one.

  • data.entity.typestring or nullRequired

    Kind of record that was acted on, when there is one.

  • data.entity.idstring or nullRequired

    Id of that record, when there is one.

  • data.entity.hrefstring or nullRequired

    Absolute portal link to that record, when there is one.

  • data.outputobjectRequired

    Anything else the action returned (may be empty).

Errors (400, 401, 402, 403, 404, 429)
  • 400 The body or a parameter is not valid for this operation (apiInvalidInput); the sentence names the field.
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 402 This portal is locked for changes (a trial ended or a payment is overdue): writes are refused until it is settled; reads keep working (apiLocked).
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Delete a ticket reply

DELETE/tickets/replies/{replyId}

Scope write:ticketsChanges data

Requires the write:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • replyIdstringin pathRequired

    Reply id.

  • Idempotency-Keystringin header

    Optional. Send a unique value per intended change; a retry with the same value within 24 hours replays the first answer instead of changing anything twice. Scoped to your API key.

Request body

  • reasonstringRequired

    Why this destructive action is being done (recorded in the audit log with the door it came through).

    At least 3 characters. Up to 2000 characters.

Response 200

  • dataobjectRequired

    The result of the action.

  • data.okbooleanRequired

    True when the action was carried out (or, with dryRun, previewed).

  • data.messagestringRequired

    Plain-words sentence describing what happened.

  • data.entityobject or nullRequired

    The record the action touched, or null when it did not touch one.

  • data.entity.typestring or nullRequired

    Kind of record that was acted on, when there is one.

  • data.entity.idstring or nullRequired

    Id of that record, when there is one.

  • data.entity.hrefstring or nullRequired

    Absolute portal link to that record, when there is one.

  • data.outputobjectRequired

    Anything else the action returned (may be empty).

Errors (400, 401, 402, 403, 404, 429)
  • 400 The body or a parameter is not valid for this operation (apiInvalidInput); the sentence names the field.
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 402 This portal is locked for changes (a trial ended or a payment is overdue): writes are refused until it is settled; reads keep working (apiLocked).
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

List tickets for a client

GET/tickets/search

Scope read:ticketsRead only

Requires the read:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • limitintegerin query

    Page size, 1 to 100 (default 25).

    Min 1. Max 100. Default 25.

  • cursorstringin query

    Opaque continuation token: pass back the nextCursor you were given. Never construct one.

  • organizationIdstringin query

    List one client only. Omit for the whole desk.

  • statusstringin query

    Only tickets with exactly this status.

  • openOnlybooleanin query

    true for tickets whose status is not resolved or closed.

  • orderstringin query

    Sort: newest or oldest by created date, last_updated by last activity, recently_resolved by resolved date (resolved or closed tickets only).

    One of: newest, oldest, last_updated, recently_resolved.

  • excludeKeywordsstring[]in query

    Leave out tickets whose subject contains any of these words (repeat the parameter or comma-separate).

  • excludeTagsstring[]in query

    Leave out tickets carrying any of these tag names.

  • excludeCategoriesstring[]in query

    Leave out tickets in any of these categories.

Response 200

  • dataobject[]Required

    One page of rows.

  • nextCursorstring or nullRequired

    Opaque cursor for the next page; pass it back as ?cursor=. Null on the last page.

Errors (401, 403, 404, 429)
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Get one ticket

GET/tickets/{id}

Scope read:ticketsRead only

Requires the read:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • idintegerin pathRequired

    Ticket number.

Response 200

  • dataobjectRequired

    The response payload.

  • data.idintegerRequired

    Record id (use it to link or fetch the record).

  • data.subjectstringRequired

    Ticket subject line.

  • data.descriptionstringRequired

    Ticket description text.

  • data.statusstringRequired

    Current ticket status.

  • data.prioritystringRequired

    Ticket priority.

  • data.assignedTostring or nullRequired

    Name of the person it is assigned to, or null when unassigned.

  • data.requesterstring or nullRequired

    Name of the person who requested the ticket, or null.

  • data.isEscalatedbooleanRequired

    True when the ticket has been escalated.

  • data.clientobjectRequired

    The client organization this record belongs to.

  • data.client.idstringRequired

    Record id (use it to link or fetch the record).

  • data.client.namestringRequired

    Display name.

  • data.boardobject or nullRequired

    The board the ticket sits on, or null when it has none.

  • data.board.idstringRequired

    Record id (use it to link or fetch the record).

  • data.board.namestringRequired

    Display name.

  • data.createdAtstringRequired

    When the record was created (ISO 8601).

  • data.updatedAtstringRequired

    When the record last changed (ISO 8601).

  • data.resolvedAtstring or nullRequired

    When the ticket was resolved (ISO 8601), or null.

  • data.closedAtstring or nullRequired

    When the ticket was closed (ISO 8601), or null.

Errors (401, 403, 404, 429)
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

List the devices linked to a ticket

GET/tickets/{id}/devices

Scope read:ticketsRead onlyNeeds the msp module

Requires the read:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now. Needs the msp module.

Parameters

  • idintegerin pathRequired

    Ticket number.

Response 200

  • dataobject[]Required

    The response payload.

  • data[].idstringRequired

    Record id (use it to link or fetch the record).

  • data[].namestringRequired

    Display name.

  • data[].deviceTypestring or nullRequired

    Device type, or null.

  • data[].osstring or nullRequired

    Operating system name, or null.

  • data[].onlinebooleanRequired

    True when the device is online now (derived from its last check-in, never a cached flag).

Errors (401, 403, 404, 429)
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key, or the msp module is not enabled on this instance (code moduleNotEnabled).
  • 429 Rate limit exceeded; wait Retry-After seconds.

List the replies on a ticket

GET/tickets/{id}/replies

Scope read:ticketsRead only

Requires the read:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • idintegerin pathRequired

    Ticket number.

  • limitintegerin query

    Page size, 1 to 100 (default 25).

    Min 1. Max 100. Default 25.

  • cursorstringin query

    Opaque continuation token: pass back the nextCursor you were given. Never construct one.

Response 200

  • dataobject[]Required

    The response payload.

  • data[].idstringRequired

    Record id (use it to link or fetch the record).

  • data[].authorNamestring or nullRequired

    Name of the reply author, or null for system replies.

  • data[].bodystringRequired

    Reply text.

  • data[].isInternalbooleanRequired

    True for an internal note (visible to MSP-scoped keys only).

  • data[].isHiddenbooleanRequired

    True when the reply is hidden from the client.

  • data[].createdAtstringRequired

    When the record was created (ISO 8601).

  • nextCursorstring or nullRequired

    Opaque cursor for the next page; pass it back as ?cursor=. Null on the last page.

Errors (401, 403, 404, 429)
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Create subtask ticket

POST/tickets/{parentTicketId}/subtasks

Scope write:ticketsChanges data

Requires the write:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • parentTicketIdintegerin pathRequired

    Parent ticket number.

  • Idempotency-Keystringin header

    Optional. Send a unique value per intended change; a retry with the same value within 24 hours replays the first answer instead of changing anything twice. Scoped to your API key.

Request body

  • subjectstringRequired

    Subject line of the ticket.

    Up to 500 characters.

  • descriptionstring

    Description of the subtask.

    Up to 50000 characters.

  • prioritystring

    Priority name as shown in the portal (use the options tool to list the valid names).

  • requestIdstring

    Your retry key. A repeat of the same subtask (same parent and title, same person, within 10 minutes) returns the one already made, whatever the key.

    Up to 200 characters.

Response 200

  • dataobjectRequired

    The result of the action.

  • data.okbooleanRequired

    True when the action was carried out (or, with dryRun, previewed).

  • data.messagestringRequired

    Plain-words sentence describing what happened.

  • data.entityobject or nullRequired

    The record the action touched, or null when it did not touch one.

  • data.entity.typestring or nullRequired

    Kind of record that was acted on, when there is one.

  • data.entity.idstring or nullRequired

    Id of that record, when there is one.

  • data.entity.hrefstring or nullRequired

    Absolute portal link to that record, when there is one.

  • data.outputobjectRequired

    Anything else the action returned (may be empty).

Errors (400, 401, 402, 403, 404, 429)
  • 400 The body or a parameter is not valid for this operation (apiInvalidInput); the sentence names the field.
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 402 This portal is locked for changes (a trial ended or a payment is overdue): writes are refused until it is settled; reads keep working (apiLocked).
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Merge ticket into another

POST/tickets/{sourceTicketId}/merge

Scope write:ticketsChanges data

Requires the write:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • sourceTicketIdintegerin pathRequired

    Number of the ticket to merge away (it is closed and linked into the target).

  • Idempotency-Keystringin header

    Optional. Send a unique value per intended change; a retry with the same value within 24 hours replays the first answer instead of changing anything twice. Scoped to your API key.

Request body

  • targetTicketIdnumberRequired

    Number of the ticket to merge into.

  • reasonstringRequired

    Why this destructive action is being done (recorded in the audit log with the door it came through).

    At least 3 characters. Up to 2000 characters.

Response 200

  • dataobjectRequired

    The result of the action.

  • data.okbooleanRequired

    True when the action was carried out (or, with dryRun, previewed).

  • data.messagestringRequired

    Plain-words sentence describing what happened.

  • data.entityobject or nullRequired

    The record the action touched, or null when it did not touch one.

  • data.entity.typestring or nullRequired

    Kind of record that was acted on, when there is one.

  • data.entity.idstring or nullRequired

    Id of that record, when there is one.

  • data.entity.hrefstring or nullRequired

    Absolute portal link to that record, when there is one.

  • data.outputobjectRequired

    Anything else the action returned (may be empty).

Errors (400, 401, 402, 403, 404, 429)
  • 400 The body or a parameter is not valid for this operation (apiInvalidInput); the sentence names the field.
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 402 This portal is locked for changes (a trial ended or a payment is overdue): writes are refused until it is settled; reads keep working (apiLocked).
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Split ticket

POST/tickets/{sourceTicketId}/split

Scope write:ticketsChanges data

Requires the write:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • sourceTicketIdintegerin pathRequired

    Source ticket number.

  • Idempotency-Keystringin header

    Optional. Send a unique value per intended change; a retry with the same value within 24 hours replays the first answer instead of changing anything twice. Scoped to your API key.

Request body

  • replyIdsstring[]Required

    IDs of the replies to move into the new ticket.

  • subjectstring

    Subject line of the ticket.

    Up to 500 characters.

  • requestIdstring

    Your retry key. Repeating a split of the same replies returns the ticket it already made, whatever the key.

    Up to 200 characters.

Response 200

  • dataobjectRequired

    The result of the action.

  • data.okbooleanRequired

    True when the action was carried out (or, with dryRun, previewed).

  • data.messagestringRequired

    Plain-words sentence describing what happened.

  • data.entityobject or nullRequired

    The record the action touched, or null when it did not touch one.

  • data.entity.typestring or nullRequired

    Kind of record that was acted on, when there is one.

  • data.entity.idstring or nullRequired

    Id of that record, when there is one.

  • data.entity.hrefstring or nullRequired

    Absolute portal link to that record, when there is one.

  • data.outputobjectRequired

    Anything else the action returned (may be empty).

Errors (400, 401, 402, 403, 404, 429)
  • 400 The body or a parameter is not valid for this operation (apiInvalidInput); the sentence names the field.
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 402 This portal is locked for changes (a trial ended or a payment is overdue): writes are refused until it is settled; reads keep working (apiLocked).
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Assign ticket to technician

PATCH/tickets/{ticketId}/assignee

Scope write:ticketsChanges data

Requires the write:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • ticketIdintegerin pathRequired

    Ticket number.

  • Idempotency-Keystringin header

    Optional. Send a unique value per intended change; a retry with the same value within 24 hours replays the first answer instead of changing anything twice. Scoped to your API key.

Request body

  • assignedToUserIdstringRequired

    ID of the technician (staff user) to assign to.

Response 200

  • dataobjectRequired

    The result of the action.

  • data.okbooleanRequired

    True when the action was carried out (or, with dryRun, previewed).

  • data.messagestringRequired

    Plain-words sentence describing what happened.

  • data.entityobject or nullRequired

    The record the action touched, or null when it did not touch one.

  • data.entity.typestring or nullRequired

    Kind of record that was acted on, when there is one.

  • data.entity.idstring or nullRequired

    Id of that record, when there is one.

  • data.entity.hrefstring or nullRequired

    Absolute portal link to that record, when there is one.

  • data.outputobjectRequired

    Anything else the action returned (may be empty).

Errors (400, 401, 402, 403, 404, 429)
  • 400 The body or a parameter is not valid for this operation (apiInvalidInput); the sentence names the field.
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 402 This portal is locked for changes (a trial ended or a payment is overdue): writes are refused until it is settled; reads keep working (apiLocked).
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

List ticket attachments

GET/tickets/{ticketId}/attachments

Scope read:ticketsRead only

Requires the read:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • ticketIdintegerin pathRequired

    Ticket number.

  • limitintegerin query

    Page size, 1 to 100 (default 25).

    Min 1. Max 100. Default 25.

  • cursorstringin query

    Opaque continuation token: pass back the nextCursor you were given. Never construct one.

Response 200

  • dataobject[]Required

    One page of rows.

  • nextCursorstring or nullRequired

    Opaque cursor for the next page; pass it back as ?cursor=. Null on the last page.

Errors (401, 403, 404, 429)
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Upload ticket attachment

POST/tickets/{ticketId}/attachments

Scope write:ticketsChanges data

Requires the write:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • ticketIdintegerin pathRequired

    Ticket number.

  • Idempotency-Keystringin header

    Optional. Send a unique value per intended change; a retry with the same value within 24 hours replays the first answer instead of changing anything twice. Scoped to your API key.

Request body

  • filesobject[]Required

    Files to attach; each has a fileName, a mimeType and its base64 content.

    Up to 10 items.

  • files[].fileNamestringRequired

    File name including its extension.

  • files[].mimeTypestringRequired

    MIME type of the file, for example application/pdf.

  • files[].base64stringRequired

    Raw base64 payload (no data URI prefix).

    Up to 34952538 characters.

  • replyIdstring

    ID of the ticket reply.

Response 200

  • dataobjectRequired

    The result of the action.

  • data.okbooleanRequired

    True when the action was carried out (or, with dryRun, previewed).

  • data.messagestringRequired

    Plain-words sentence describing what happened.

  • data.entityobject or nullRequired

    The record the action touched, or null when it did not touch one.

  • data.entity.typestring or nullRequired

    Kind of record that was acted on, when there is one.

  • data.entity.idstring or nullRequired

    Id of that record, when there is one.

  • data.entity.hrefstring or nullRequired

    Absolute portal link to that record, when there is one.

  • data.outputobjectRequired

    Anything else the action returned (may be empty).

Errors (400, 401, 402, 403, 404, 429)
  • 400 The body or a parameter is not valid for this operation (apiInvalidInput); the sentence names the field.
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 402 This portal is locked for changes (a trial ended or a payment is overdue): writes are refused until it is settled; reads keep working (apiLocked).
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Get ticket billing status

GET/tickets/{ticketId}/billing-status

Scope read:ticketsRead only

Requires the read:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • ticketIdintegerin pathRequired

    Ticket number.

Response 200

  • dataobjectRequired

    The ticket's billing status and the statuses it can move to.

  • data.ticketIdnumberRequired

    Ticket number.

  • data.subjectstringRequired

    Ticket subject.

  • data.billingStatusobject or nullRequired

    The ticket's current billing status, or null when it has none.

  • data.billingStatus.idstringRequired

    Billing status id.

  • data.billingStatus.namestringRequired

    Billing status name.

  • data.billingStatus.isInScopebooleanRequired

    True when time on the ticket is in scope (covered by the plan, never billed).

  • data.billingStatus.pricePerHourstring or number or nullRequired

    Hourly rate; null when the status has none or the caller may not see rates.

  • data.availableStatusesobject[]Required

    Every billing status that exists on this instance; the only values the update accepts.

  • data.availableStatuses[].idstringRequired

    Billing status id.

  • data.availableStatuses[].namestringRequired

    Billing status name.

  • data.availableStatuses[].isInScopebooleanRequired

    True when the status is in scope (never billed).

Errors (401, 403, 404, 429)
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Update ticket billing status

PATCH/tickets/{ticketId}/billing-status

Scope write:ticketsChanges data

Requires the write:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • ticketIdintegerin pathRequired

    Ticket number.

  • Idempotency-Keystringin header

    Optional. Send a unique value per intended change; a retry with the same value within 24 hours replays the first answer instead of changing anything twice. Scoped to your API key.

Request body

  • billingStatusIdstring or nullRequired

    ID of the billing status. Send null to clear it.

Response 200

  • dataobjectRequired

    The result of the action.

  • data.okbooleanRequired

    True when the action was carried out (or, with dryRun, previewed).

  • data.messagestringRequired

    Plain-words sentence describing what happened.

  • data.entityobject or nullRequired

    The record the action touched, or null when it did not touch one.

  • data.entity.typestring or nullRequired

    Kind of record that was acted on, when there is one.

  • data.entity.idstring or nullRequired

    Id of that record, when there is one.

  • data.entity.hrefstring or nullRequired

    Absolute portal link to that record, when there is one.

  • data.outputobjectRequired

    Anything else the action returned (may be empty).

Errors (400, 401, 402, 403, 404, 429)
  • 400 The body or a parameter is not valid for this operation (apiInvalidInput); the sentence names the field.
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 402 This portal is locked for changes (a trial ended or a payment is overdue): writes are refused until it is settled; reads keep working (apiLocked).
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Move ticket to different board

PATCH/tickets/{ticketId}/board

Scope write:ticketsChanges data

Requires the write:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • ticketIdintegerin pathRequired

    Ticket number.

  • Idempotency-Keystringin header

    Optional. Send a unique value per intended change; a retry with the same value within 24 hours replays the first answer instead of changing anything twice. Scoped to your API key.

Request body

  • boardIdstringRequired

    ID of the service-desk board.

Response 200

  • dataobjectRequired

    The result of the action.

  • data.okbooleanRequired

    True when the action was carried out (or, with dryRun, previewed).

  • data.messagestringRequired

    Plain-words sentence describing what happened.

  • data.entityobject or nullRequired

    The record the action touched, or null when it did not touch one.

  • data.entity.typestring or nullRequired

    Kind of record that was acted on, when there is one.

  • data.entity.idstring or nullRequired

    Id of that record, when there is one.

  • data.entity.hrefstring or nullRequired

    Absolute portal link to that record, when there is one.

  • data.outputobjectRequired

    Anything else the action returned (may be empty).

Errors (400, 401, 402, 403, 404, 429)
  • 400 The body or a parameter is not valid for this operation (apiInvalidInput); the sentence names the field.
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 402 This portal is locked for changes (a trial ended or a payment is overdue): writes are refused until it is settled; reads keep working (apiLocked).
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Close ticket

POST/tickets/{ticketId}/close

Scope write:ticketsChanges data

Requires the write:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • ticketIdintegerin pathRequired

    Ticket number.

  • Idempotency-Keystringin header

    Optional. Send a unique value per intended change; a retry with the same value within 24 hours replays the first answer instead of changing anything twice. Scoped to your API key.

Request body

  • closeReasonstring

    Why the ticket is being closed.

Response 200

  • dataobjectRequired

    The result of the action.

  • data.okbooleanRequired

    True when the action was carried out (or, with dryRun, previewed).

  • data.messagestringRequired

    Plain-words sentence describing what happened.

  • data.entityobject or nullRequired

    The record the action touched, or null when it did not touch one.

  • data.entity.typestring or nullRequired

    Kind of record that was acted on, when there is one.

  • data.entity.idstring or nullRequired

    Id of that record, when there is one.

  • data.entity.hrefstring or nullRequired

    Absolute portal link to that record, when there is one.

  • data.outputobjectRequired

    Anything else the action returned (may be empty).

Errors (400, 401, 402, 403, 404, 429)
  • 400 The body or a parameter is not valid for this operation (apiInvalidInput); the sentence names the field.
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 402 This portal is locked for changes (a trial ended or a payment is overdue): writes are refused until it is settled; reads keep working (apiLocked).
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Update ticket contact

PATCH/tickets/{ticketId}/contact

Scope write:ticketsChanges data

Requires the write:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • ticketIdintegerin pathRequired

    Ticket number.

  • Idempotency-Keystringin header

    Optional. Send a unique value per intended change; a retry with the same value within 24 hours replays the first answer instead of changing anything twice. Scoped to your API key.

Request body

  • contactNamestring

    Name of the contact person.

  • contactEmailstring

    Email address of the contact person.

    Format email.

Response 200

  • dataobjectRequired

    The result of the action.

  • data.okbooleanRequired

    True when the action was carried out (or, with dryRun, previewed).

  • data.messagestringRequired

    Plain-words sentence describing what happened.

  • data.entityobject or nullRequired

    The record the action touched, or null when it did not touch one.

  • data.entity.typestring or nullRequired

    Kind of record that was acted on, when there is one.

  • data.entity.idstring or nullRequired

    Id of that record, when there is one.

  • data.entity.hrefstring or nullRequired

    Absolute portal link to that record, when there is one.

  • data.outputobjectRequired

    Anything else the action returned (may be empty).

Errors (400, 401, 402, 403, 404, 429)
  • 400 The body or a parameter is not valid for this operation (apiInvalidInput); the sentence names the field.
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 402 This portal is locked for changes (a trial ended or a payment is overdue): writes are refused until it is settled; reads keep working (apiLocked).
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Ticket deadline status (computed)

GET/tickets/{ticketId}/deadline

Scope read:ticketsRead only

Requires the read:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • ticketIdintegerin pathRequired

    Ticket number.

Response 200

  • factsobjectRequired

    The computed deadline facts.

  • facts.ticketIdnumberRequired

    Ticket number.

  • facts.dueDateFieldstringRequired

    Always "none": tickets have no operator-set due date; the deadlines are the SLA clocks.

  • facts.slaAppliesbooleanRequired

    True when an SLA policy gives the ticket at least one clock.

  • facts.clocksobject[]Required

    One entry per SLA clock on the ticket.

  • facts.clocks[].clockstringRequired

    Which SLA clock: the first-response clock or the fix (resolution) clock.

    One of: response, fix.

  • facts.clocks[].statestringRequired

    What the clock is doing.

    One of: met, missed, paused, running, expired, closed.

  • facts.clocks[].dueAtDisplaystringRequired

    The deadline in words, in the viewer's time zone.

  • facts.clocks[].atDisplaystringRequired

    When the clock was settled, paused or closed, in words; empty while live.

  • facts.clocks[].minutesnumberRequired

    Minutes remaining (running), overdue (expired) or late (missed); 0 otherwise.

  • facts.clocks[].minutesDisplaystringRequired

    Those minutes in words.

  • facts.projectTargetCompletionDatestring or nullRequired

    Target completion date of a project root, or null.

  • facts.scheduledDisplaystring or nullRequired

    The booked dispatch window in words, or null.

  • facts.sentencestringRequired

    The whole answer in words.

  • factsTablestringRequired

    The same answer as one sentence.

Errors (401, 403, 404, 429)
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Mark a computer suggestion as right or not

POST/tickets/{ticketId}/diagnosis-verdict

Scope write:ticketsChanges data

Requires the write:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • ticketIdintegerin pathRequired

    Ticket number.

  • Idempotency-Keystringin header

    Optional. Send a unique value per intended change; a retry with the same value within 24 hours replays the first answer instead of changing anything twice. Scoped to your API key.

Request body

  • runIdstringRequired

    ID of the run.

    Up to 64 characters.

  • verdictstringRequired

    approved to run the suggested fix, rejected to decline it. Allowed values: approved, rejected.

    One of: approved, rejected.

  • reasonstring

    Why this is being done; kept in the record for later review.

    Up to 500 characters.

Response 200

  • dataobjectRequired

    The result of the action.

  • data.okbooleanRequired

    True when the action was carried out (or, with dryRun, previewed).

  • data.messagestringRequired

    Plain-words sentence describing what happened.

  • data.entityobject or nullRequired

    The record the action touched, or null when it did not touch one.

  • data.entity.typestring or nullRequired

    Kind of record that was acted on, when there is one.

  • data.entity.idstring or nullRequired

    Id of that record, when there is one.

  • data.entity.hrefstring or nullRequired

    Absolute portal link to that record, when there is one.

  • data.outputobjectRequired

    Anything else the action returned (may be empty).

Errors (400, 401, 402, 403, 404, 429)
  • 400 The body or a parameter is not valid for this operation (apiInvalidInput); the sentence names the field.
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 402 This portal is locked for changes (a trial ended or a payment is overdue): writes are refused until it is settled; reads keep working (apiLocked).
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

List invoices linked to a ticket

GET/tickets/{ticketId}/invoices

Scope read:ticketsRead only

Requires the read:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • ticketIdintegerin pathRequired

    Ticket number.

  • limitintegerin query

    Page size, 1 to 100 (default 25).

    Min 1. Max 100. Default 25.

  • cursorstringin query

    Opaque continuation token: pass back the nextCursor you were given. Never construct one.

Response 200

  • dataobject[]Required

    One page of rows.

  • nextCursorstring or nullRequired

    Opaque cursor for the next page; pass it back as ?cursor=. Null on the last page.

Errors (401, 403, 404, 429)
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

List ticket items

GET/tickets/{ticketId}/items

Scope read:ticketsRead only

Requires the read:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • ticketIdintegerin pathRequired

    Ticket number.

  • limitintegerin query

    Page size, 1 to 100 (default 25).

    Min 1. Max 100. Default 25.

  • cursorstringin query

    Opaque continuation token: pass back the nextCursor you were given. Never construct one.

Response 200

  • dataobject[]Required

    One page of rows.

  • nextCursorstring or nullRequired

    Opaque cursor for the next page; pass it back as ?cursor=. Null on the last page.

Errors (401, 403, 404, 429)
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Add billable item to ticket

POST/tickets/{ticketId}/items

Scope write:ticketsChanges data

Requires the write:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • ticketIdintegerin pathRequired

    Ticket number.

  • Idempotency-Keystringin header

    Optional. Send a unique value per intended change; a retry with the same value within 24 hours replays the first answer instead of changing anything twice. Scoped to your API key.

Request body

  • productIdstringRequired

    ID of the product.

  • quantitynumber

    Quantity.

    Max 999999999.999. Default 1.

  • unitPriceOverridenumber

    Price per unit that replaces the product price.

    Min 0.

  • descriptionstring

    Description of the billable ticket item.

    Up to 50000 characters.

  • displayNamestring

    Name to show on the line instead of the product name.

    Up to 500 characters.

  • requestIdstring

    Optional id of this one action (1 to 200 characters). Send the same id when you retry and the action is done once.

    Up to 200 characters.

Response 200

  • dataobjectRequired

    The result of the action.

  • data.okbooleanRequired

    True when the action was carried out (or, with dryRun, previewed).

  • data.messagestringRequired

    Plain-words sentence describing what happened.

  • data.entityobject or nullRequired

    The record the action touched, or null when it did not touch one.

  • data.entity.typestring or nullRequired

    Kind of record that was acted on, when there is one.

  • data.entity.idstring or nullRequired

    Id of that record, when there is one.

  • data.entity.hrefstring or nullRequired

    Absolute portal link to that record, when there is one.

  • data.outputobjectRequired

    Anything else the action returned (may be empty).

Errors (400, 401, 402, 403, 404, 429)
  • 400 The body or a parameter is not valid for this operation (apiInvalidInput); the sentence names the field.
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 402 This portal is locked for changes (a trial ended or a payment is overdue): writes are refused until it is settled; reads keep working (apiLocked).
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Delete all items on a ticket

DELETE/tickets/{ticketId}/items

Scope write:ticketsChanges data

Requires the write:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • ticketIdintegerin pathRequired

    Ticket number.

  • Idempotency-Keystringin header

    Optional. Send a unique value per intended change; a retry with the same value within 24 hours replays the first answer instead of changing anything twice. Scoped to your API key.

Request body

  • reasonstringRequired

    Why this destructive action is being done (recorded in the audit log with the door it came through).

    At least 3 characters. Up to 2000 characters.

Response 200

  • dataobjectRequired

    The result of the action.

  • data.okbooleanRequired

    True when the action was carried out (or, with dryRun, previewed).

  • data.messagestringRequired

    Plain-words sentence describing what happened.

  • data.entityobject or nullRequired

    The record the action touched, or null when it did not touch one.

  • data.entity.typestring or nullRequired

    Kind of record that was acted on, when there is one.

  • data.entity.idstring or nullRequired

    Id of that record, when there is one.

  • data.entity.hrefstring or nullRequired

    Absolute portal link to that record, when there is one.

  • data.outputobjectRequired

    Anything else the action returned (may be empty).

Errors (400, 401, 402, 403, 404, 429)
  • 400 The body or a parameter is not valid for this operation (apiInvalidInput); the sentence names the field.
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 402 This portal is locked for changes (a trial ended or a payment is overdue): writes are refused until it is settled; reads keep working (apiLocked).
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Add internal note to ticket

POST/tickets/{ticketId}/notes

Scope write:ticketsChanges data

Requires the write:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • ticketIdintegerin pathRequired

    Ticket number.

  • Idempotency-Keystringin header

    Optional. Send a unique value per intended change; a retry with the same value within 24 hours replays the first answer instead of changing anything twice. Scoped to your API key.

Request body

  • contentstringRequired

    Text content of the reply.

    Up to 50000 characters.

Response 200

  • dataobjectRequired

    The result of the action.

  • data.okbooleanRequired

    True when the action was carried out (or, with dryRun, previewed).

  • data.messagestringRequired

    Plain-words sentence describing what happened.

  • data.entityobject or nullRequired

    The record the action touched, or null when it did not touch one.

  • data.entity.typestring or nullRequired

    Kind of record that was acted on, when there is one.

  • data.entity.idstring or nullRequired

    Id of that record, when there is one.

  • data.entity.hrefstring or nullRequired

    Absolute portal link to that record, when there is one.

  • data.outputobjectRequired

    Anything else the action returned (may be empty).

Errors (400, 401, 402, 403, 404, 429)
  • 400 The body or a parameter is not valid for this operation (apiInvalidInput); the sentence names the field.
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 402 This portal is locked for changes (a trial ended or a payment is overdue): writes are refused until it is settled; reads keep working (apiLocked).
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Change ticket priority

PATCH/tickets/{ticketId}/priority

Scope write:ticketsChanges data

Requires the write:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • ticketIdintegerin pathRequired

    Ticket number.

  • Idempotency-Keystringin header

    Optional. Send a unique value per intended change; a retry with the same value within 24 hours replays the first answer instead of changing anything twice. Scoped to your API key.

Request body

  • prioritystringRequired

    Priority name as shown in the portal (use the options tool to list the valid names).

Response 200

  • dataobjectRequired

    The result of the action.

  • data.okbooleanRequired

    True when the action was carried out (or, with dryRun, previewed).

  • data.messagestringRequired

    Plain-words sentence describing what happened.

  • data.entityobject or nullRequired

    The record the action touched, or null when it did not touch one.

  • data.entity.typestring or nullRequired

    Kind of record that was acted on, when there is one.

  • data.entity.idstring or nullRequired

    Id of that record, when there is one.

  • data.entity.hrefstring or nullRequired

    Absolute portal link to that record, when there is one.

  • data.outputobjectRequired

    Anything else the action returned (may be empty).

Errors (400, 401, 402, 403, 404, 429)
  • 400 The body or a parameter is not valid for this operation (apiInvalidInput); the sentence names the field.
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 402 This portal is locked for changes (a trial ended or a payment is overdue): writes are refused until it is settled; reads keep working (apiLocked).
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

List quotes linked to a ticket

GET/tickets/{ticketId}/quotes

Scope read:ticketsRead only

Requires the read:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • ticketIdintegerin pathRequired

    Ticket number.

  • limitintegerin query

    Page size, 1 to 100 (default 25).

    Min 1. Max 100. Default 25.

  • cursorstringin query

    Opaque continuation token: pass back the nextCursor you were given. Never construct one.

Response 200

  • dataobject[]Required

    One page of rows.

  • nextCursorstring or nullRequired

    Opaque cursor for the next page; pass it back as ?cursor=. Null on the last page.

Errors (401, 403, 404, 429)
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Update ticket CC/BCC recipients

PATCH/tickets/{ticketId}/recipients

Scope write:ticketsChanges data

Requires the write:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • ticketIdintegerin pathRequired

    Ticket number.

  • Idempotency-Keystringin header

    Optional. Send a unique value per intended change; a retry with the same value within 24 hours replays the first answer instead of changing anything twice. Scoped to your API key.

Request body

  • ccEmailsstring

    Comma-separated email addresses to copy.

    Up to 5000 characters.

  • bccEmailsstring

    Comma-separated email addresses to blind-copy.

    Up to 5000 characters.

Response 200

  • dataobjectRequired

    The result of the action.

  • data.okbooleanRequired

    True when the action was carried out (or, with dryRun, previewed).

  • data.messagestringRequired

    Plain-words sentence describing what happened.

  • data.entityobject or nullRequired

    The record the action touched, or null when it did not touch one.

  • data.entity.typestring or nullRequired

    Kind of record that was acted on, when there is one.

  • data.entity.idstring or nullRequired

    Id of that record, when there is one.

  • data.entity.hrefstring or nullRequired

    Absolute portal link to that record, when there is one.

  • data.outputobjectRequired

    Anything else the action returned (may be empty).

Errors (400, 401, 402, 403, 404, 429)
  • 400 The body or a parameter is not valid for this operation (apiInvalidInput); the sentence names the field.
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 402 This portal is locked for changes (a trial ended or a payment is overdue): writes are refused until it is settled; reads keep working (apiLocked).
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Send public reply to client

POST/tickets/{ticketId}/replies

Scope write:ticketsChanges data

Requires the write:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • ticketIdintegerin pathRequired

    Ticket number.

  • Idempotency-Keystringin header

    Optional. Send a unique value per intended change; a retry with the same value within 24 hours replays the first answer instead of changing anything twice. Scoped to your API key.

Request body

  • contentstringRequired

    Text content of the reply.

    Up to 50000 characters.

  • requestIdstring

    Optional id of this one action (1 to 200 characters). Send the same id when you retry and the action is done once.

    Up to 200 characters.

Response 200

  • dataobjectRequired

    The result of the action.

  • data.okbooleanRequired

    True when the action was carried out (or, with dryRun, previewed).

  • data.messagestringRequired

    Plain-words sentence describing what happened.

  • data.entityobject or nullRequired

    The record the action touched, or null when it did not touch one.

  • data.entity.typestring or nullRequired

    Kind of record that was acted on, when there is one.

  • data.entity.idstring or nullRequired

    Id of that record, when there is one.

  • data.entity.hrefstring or nullRequired

    Absolute portal link to that record, when there is one.

  • data.outputobjectRequired

    Anything else the action returned (may be empty).

Errors (400, 401, 402, 403, 404, 429)
  • 400 The body or a parameter is not valid for this operation (apiInvalidInput); the sentence names the field.
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 402 This portal is locked for changes (a trial ended or a payment is overdue): writes are refused until it is settled; reads keep working (apiLocked).
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Change ticket status

PATCH/tickets/{ticketId}/status

Scope write:ticketsChanges data

Requires the write:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • ticketIdintegerin pathRequired

    Ticket number.

  • Idempotency-Keystringin header

    Optional. Send a unique value per intended change; a retry with the same value within 24 hours replays the first answer instead of changing anything twice. Scoped to your API key.

Request body

  • statusstringRequired

    Status of the ticket.

  • notestring

    Short free-text note to attach.

Response 200

  • dataobjectRequired

    The result of the action.

  • data.okbooleanRequired

    True when the action was carried out (or, with dryRun, previewed).

  • data.messagestringRequired

    Plain-words sentence describing what happened.

  • data.entityobject or nullRequired

    The record the action touched, or null when it did not touch one.

  • data.entity.typestring or nullRequired

    Kind of record that was acted on, when there is one.

  • data.entity.idstring or nullRequired

    Id of that record, when there is one.

  • data.entity.hrefstring or nullRequired

    Absolute portal link to that record, when there is one.

  • data.outputobjectRequired

    Anything else the action returned (may be empty).

Errors (400, 401, 402, 403, 404, 429)
  • 400 The body or a parameter is not valid for this operation (apiInvalidInput); the sentence names the field.
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 402 This portal is locked for changes (a trial ended or a payment is overdue): writes are refused until it is settled; reads keep working (apiLocked).
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

List ticket subtasks

GET/tickets/{ticketId}/subtasks

Scope read:ticketsRead only

Requires the read:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • ticketIdintegerin pathRequired

    Ticket number.

  • limitintegerin query

    Page size, 1 to 100 (default 25).

    Min 1. Max 100. Default 25.

  • cursorstringin query

    Opaque continuation token: pass back the nextCursor you were given. Never construct one.

Response 200

  • dataobject[]Required

    One page of rows.

  • nextCursorstring or nullRequired

    Opaque cursor for the next page; pass it back as ?cursor=. Null on the last page.

Errors (401, 403, 404, 429)
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

Add or remove ticket tags

PATCH/tickets/{ticketId}/tags

Scope write:ticketsChanges data

Requires the write:tickets scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • ticketIdintegerin pathRequired

    Ticket number.

  • Idempotency-Keystringin header

    Optional. Send a unique value per intended change; a retry with the same value within 24 hours replays the first answer instead of changing anything twice. Scoped to your API key.

Request body

  • addstring[]

    Tags to add.

    Up to 20 items.

  • removestring[]

    Tags to remove.

    Up to 20 items.

Response 200

  • dataobjectRequired

    The result of the action.

  • data.okbooleanRequired

    True when the action was carried out (or, with dryRun, previewed).

  • data.messagestringRequired

    Plain-words sentence describing what happened.

  • data.entityobject or nullRequired

    The record the action touched, or null when it did not touch one.

  • data.entity.typestring or nullRequired

    Kind of record that was acted on, when there is one.

  • data.entity.idstring or nullRequired

    Id of that record, when there is one.

  • data.entity.hrefstring or nullRequired

    Absolute portal link to that record, when there is one.

  • data.outputobjectRequired

    Anything else the action returned (may be empty).

Errors (400, 401, 402, 403, 404, 429)
  • 400 The body or a parameter is not valid for this operation (apiInvalidInput); the sentence names the field.
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 402 This portal is locked for changes (a trial ended or a payment is overdue): writes are refused until it is settled; reads keep working (apiLocked).
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

All API areas →