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
Key | Datatype | Required | Description |
---|---|---|---|
departmentId | string | ID of the department from which the history details must be fetched | |
agentId | string | Key that filters ticket activities performed by a particular agent | |
contactId | string | Key that filters ticket activities related to a particular contact | |
from | string | Index number, starting from which the history details must be fetched | |
limit | string | Number of history details to fetch |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
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"}]}