List Audits for a Ticket

GET {{baseUrl}}/api/v2/tickets/:ticket_id/audits

Lists the audits for a specified ticket.

Pagination

  • Cursor pagination (recommended)
  • Offset pagination

See Pagination.

Returns a maximum of 100 records per page.

Allowed for

  • Agents

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"audits":[{"author_id":5246746,"created_at":"2011-09-25T22:35:44Z","events":[{"attachments":[],"body":"This is a new private comment","html_body":"\u003cp\u003eThis is a new private comment\u003c/p\u003e","id":2127301148,"public":false,"type":"Comment"},{"field_name":"status","id":2127301163,"previous_value":"new","type":"Change","value":"open","via":{"channel":"rule","source":{"from":{"id":35079792,"title":"Assign to first responder"},"rel":"trigger","to":{}}}},{"field_name":"custom_status_id","id":2127301164,"previous_value":1,"type":"Change","value":123,"via":{"channel":"rule","source":{"from":{"id":22472716,"title":"Assign to first responder"},"rel":"trigger","to":{}}}}],"id":2127301143,"metadata":{"custom":{},"system":{"client":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.186 Safari/535.1","ip_address":"76.218.201.212","location":"San Francisco, CA, United States"}},"ticket_id":666,"via":{"channel":"web"}}],"count":1,"next_page":null,"previous_page":null}