Get account history

GET {{baseUrl}}/v1/accounts/:account_id/history

This API fetches the ticket history of an account.

OAuth Scope

  • Desk.tickets.READ
  • Desk.contacts.READ

Request Params

KeyDatatypeRequiredDescription
departmentIdstringID of the department from which the history details must be fetched
agentIdstringKey that filters ticket activities performed by a particular agent
contactIdstringKey that filters ticket activities related to a particular contact
fromstringIndex number, starting from which the history details must be fetched
limitstringNumber of history details to fetch

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"data":[{"ticketNumber":"156648","statusType":"Open","subject":"Real Time analysis Requirement","author":{"photoURL":"https://desk.zoho.com/api/v1/agents/4000000012902/photo","firstName":"Admin","lastName":"Admin","id":"4000000012902","type":"AGENT","email":"saranraj@zylker.com"},"dueDate":null,"departmentId":"4000000013957","priority":null,"recipients":null,"webUrl":"https://desk.zoho.com/support/zylker/ShowHomePage.do#Cases/dv/4000000012999","eventTime":"2019-09-19T09:37:11.000Z","operation":"Comment_Updated","ticketId":"4000000012999","status":"Open"},{"ticketNumber":"125289","statusType":"Open","subject":"Ticket subject here.","author":{"photoURL":"https://desk.zoho.com/api/v1/agents/4000000012902/photo","firstName":"Admin","lastName":"Admin","id":"4000000012902","type":"AGENT","email":"saranraj@zylker.com"},"dueDate":null,"departmentId":"4000000013758","priority":null,"recipients":["ragavan@zylker.com","kannan@zylker.com","thamizharasi@zylker.com"],"webUrl":"https://desk.zoho.com/support/zylker/ShowHomePage.do#Cases/dv/4000000012807","eventTime":"2019-07-22T16:27:20.000Z","operation":"Mail_Response_Forward","ticketId":"4000000012807","status":"Open"}]}