Category / Section
Obtain Ticket List by Requester Email or ID
Published:
Using advanced search API
You can use the advanced search API to pull tickets based on the requester’s email.
API URL: https://{yourDomain}/api/v1/tickets/advance-search-results
Payload
{
"page": 1,
"perPage": 100,
"orderBy": "createdOn desc",
"conditions": "{\"condition\":\"and\",\"rules\":[{\"label\":\"Requester Email\",\"field\":\"requesterEmail\",\"operator\":\"equal\",\"type\":\"string\",\"value\":[\"abc@gmail.com\"]}]}",
"filterId": null,
"requiresCounts": true,
"viewTypeId": 1,
"q": null,
"brandIds": null,
"textSearch": null
}
Note: You can modify the email address under the “conditions” section in the payload to access the tickets of different customers.
Using API requester ID
You can get a customer’s tickets based on the requester ID. Please find the following details.
API Documentation: https://developer.bolddesk.com/api#operation/tickets#list-tickets
API URL: https://{yourDomain}/api/v1/tickets?Q=requester%3A%5B1078%5D&RequiresCounts=true
To get the requester ID from the contact module, refer to the following screenshot.
Related articles
To learn more details about the REST API, refer to this page.