Requests
List Requests
Allowed for
- End Users
Pagination
- Cursor pagination (recommended)
- Offset pagination
See Pagination.
get/api/v2/requests
Query parameters
page[before]string
A pagination cursor that tells the endpoint which page to start on. It should be a meta.before_cursor value from a previous request. Note: page[before] and page[after] can't be used together in the same request.
page[after]string
A pagination cursor that tells the endpoint which page to start on. It should be a meta.after_cursor value from a previous request. Note: page[before] and page[after] can't be used together in the same request.
page[size]integer
Specifies how many records should be returned in the response. You can specify up to 100 records per page.
sort_bystring
Possible values are "updated_at", "created_at"
sort_orderstring
One of "asc", "desc". Defaults to "asc"
Response
Success response
Example response
{
"requests": [
{
"assignee_id": 72983,
"can_be_solved_by_me": false,
"collaborator_ids": [],
"created_at": "2009-07-20T22:55:29Z",
"description": "The fire is very colorful.",
"due_at": "2011-05-24T12:00:00Z",
"group_id": 8665,
"id": 35436,
"organization_id": 509974,
"priority": "normal",
"requester_id": 1462,
"status": "open",
"subject": "Help, my printer is on fire!",
"ticket_form_id": 2,
"type": "problem",
"updated_at": "2011-05-05T10:38:52Z",
"url": "https://company.zendesk.com/api/v2/requests/35436.json",
"via": {
"channel": "web"
}
}
]
}