Retrieve Tickets for Account

GET {{baseUrl}}/tickets?offset=0&pageSize=50&ownerId=UR_8FhxpvCDAz6W&ticketStatus=<integer>&status=<integer>&priority=<integer>&sortBy=<string>&order=asc&allTickets=<boolean>&newFormat=<boolean>

Using the provided query parameters, the API client can filter and retrieve a subset of tickets, instead of the entire collection if desired. <!--From Readme--> <!-- theme: info -->

This API call is only available to organizations that have purchased Closed Loop Follow Up.

This API call will paginate up to a maximum of 10,000 tickets.

To return more than this, use the Search Tickets endpoint with filters that split the tickets into sections of less than 10,000 each.

<!--From Readme--> <!-- theme: info -->

Ticket Priority Mapping

This API will return the Ticket Priority as an integer, 0: Low, 1: Medium, 2:High.

Using the allTickets parameter

The allTickets parameter is used to specify that tickets for any user in the brand (not just the ones that belong to the authenticated user) should be returned.

Request Params

KeyDatatypeRequiredDescription
offsetnumberThe start position for pagination
pageSizenumberThe maximum number of tickets to return per request
ownerIdstringThe owner of the ticket
ticketStatusstringA singular ticket status
statusstringA singular ticket status
prioritystringA singular ticket priority
sortBystringThe attribute to sort results by
orderstringThe order to sort results by.
allTicketsstringA flag for returning all of an organization's tickets, if user is an admin
newFormatstringFlag used to request the new list tickets response format.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;result&quot;:{&quot;elements&quot;:[{&quot;key&quot;:&quot;T-0&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;ownerId&quot;:&quot;UR_nFCyhfYhUTO&quot;,&quot;status&quot;:&quot;\u003cinteger\u003e&quot;,&quot;priority&quot;:&quot;\u003cinteger\u003e&quot;,&quot;followUpDetailsSurveyId&quot;:&quot;\u003cstring\u003e&quot;,&quot;followUpDetailsResponseId&quot;:&quot;\u003cstring\u003e&quot;},{&quot;key&quot;:&quot;T-4400&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;ownerId&quot;:&quot;UR_3BdbDZBSj0g0r52&quot;,&quot;status&quot;:&quot;\u003cinteger\u003e&quot;,&quot;priority&quot;:&quot;\u003cinteger\u003e&quot;,&quot;followUpDetailsSurveyId&quot;:&quot;\u003cstring\u003e&quot;,&quot;followUpDetailsResponseId&quot;:&quot;\u003cstring\u003e&quot;}],&quot;links&quot;:{&quot;prev&quot;:{&quot;href&quot;:&quot;\u003cstring\u003e&quot;},&quot;next&quot;:{&quot;href&quot;:&quot;\u003cstring\u003e&quot;}}},&quot;meta&quot;:{&quot;httpStatus&quot;:&quot;\u003cstring\u003e&quot;,&quot;requestId&quot;:&quot;\u003cstring\u003e&quot;,&quot;notice&quot;:&quot;\u003cstring\u003e&quot;}}