Satisfaction Surveys
List surveys
List surveys, paginated and ordered by their creation date, with the most recently created first.
get/api/satisfaction-surveys
Request
- Base URLhttps://your-domain.gorgias.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
cursorstring
Example:WyJuZXh0IiwgIjIwMjItMDEtMDFUMDE6MDA6MDAiLCAxMjNd
Value indicating your position in the list of all satisfaction surveys. If omitted, the first satisfaction survey of the list will be returned.
limitinteger
Maximum number of satisfaction surveys to return.
order_by'created_datetime:asc' | 'created_datetime:desc'
Attribute used to order satisfaction surveys.
ticket_idinteger nullable
Example:1
The ID of the ticket the satisfaction surveys are associated with.
Response
A list of surveys.
Example response
[
{
"id": 1234,
"body_text": "Such speed, much pertinent.",
"created_datetime": "2019-11-16T15:59:41.966927",
"customer_id": 120,
"meta": {
"externalData": {
"id": 1234
}
},
"score": 2,
"scored_datetime": "2019-11-25T15:59:41.966927",
"sent_datetime": "2019-11-23T15:59:41.966927",
"should_send_datetime": "2019-11-23T15:59:41.966927",
"ticket_id": 12
}
]Changes
No recorded changes to this operation across all 2 revisions of this API.