List completed responses
Returns the completed responses of your organisation, oldest first, one page at a time.
GET /v1/data/responses
Returns the completed responses of your organisation, oldest first, one page at a time. To get the next page, send the next value of this page as cursor. The last page has next: null.
Only answers are listed: social mentions, public reviews, complaints and ticket requests that came in without a survey are left out. So a page can hold fewer than limit responses, or none, while next is not null. Keep following next until it is null.
Pass next back exactly as you received it. See Pagination.
| Property | Value |
|---|---|
| Authentication | API key or OAuth access token: Authorization: Bearer ... |
| Scope | responses.read |
| Success | 200 OK |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
from |
string (date-time) | No | Only responses completed at or after this time. |
to |
string (date-time) | No | Only responses completed before this time. |
surveyId |
string (uuid) | No | Only responses to this survey. |
cursor |
string | No | The next value of the previous page. 1 to 512 characters. |
limit |
integer | No | Responses per page. From 1 to 200. Default 50. |
Response
200 OK
| Field | Type | Description |
|---|---|---|
items |
array of object | The responses of this page. |
items[].id |
string (uuid) | Response id. |
items[].surveyId |
string (uuid) or null | The survey answered. |
items[].orgUnitId |
string (uuid) or null | The branch or team. |
items[].contactId |
string (uuid) or null | The contact who answered. |
items[].channel |
string | The channel the survey was answered on. |
items[].lang |
string | The language the survey was answered in. |
items[].completedAt |
string (date-time) | When the response was completed. |
items[].nps |
integer or null | Net Promoter Score answer, 0 to 10. |
items[].csat |
integer or null | Customer satisfaction answer, 1 to 5. |
items[].ces |
integer or null | Customer effort answer, 1 to 7. |
items[].comment |
string or null | The customer's comment. |
items[].sentiment |
string or null | Sentiment of the comment. |
items[].themes |
array of string | Themes found in the comment. |
items[].ticketId |
string (uuid) or null | The follow-up ticket, when one was opened. |
next |
string or null | Pass it as cursor to get the next page. null on the last page. |
{
"items": [
{
"id": "3f6c1a2e-8b4d-4c7a-9e21-5d0b7f3a9c10",
"surveyId": "3f6c1a2e-8b4d-4c7a-9e21-5d0b7f3a9c10",
"orgUnitId": "a7d1c3e9-2f4b-4a6c-8e0d-9b5f1c2a3e47",
"contactId": "3f6c1a2e-8b4d-4c7a-9e21-5d0b7f3a9c10",
"channel": "whatsapp",
"lang": "ar",
"completedAt": "2026-11-01T09:30:00.000Z",
"nps": 9,
"csat": null,
"ces": null,
"comment": "Fast delivery, thank you.",
"sentiment": "positive",
"themes": [
"delivery"
],
"ticketId": null
}
],
"next": "WyIyMDI2LTExLTAxVDA5OjMwOjAwLjAwMDAwMFoiLCI3YjFlNGMyYS01ZjNkLTRlOGItOWE2Yy0yZDFmMGUzYjRhNWMiXQ"
}Errors
Errors have the body { "code": "...", "message": "...", "requestId": "..." }. See Errors.
| Status | Code | Meaning |
|---|---|---|
| 400 | VALIDATION_FAILED |
A query parameter is not valid. details lists each one. |
| 400 | INVALID_QUERY |
A filter could not be read. |
| 401 | INVALID_API_KEY |
The API key or access token is missing, wrong, revoked or expired. |
| 403 | API_KEY_SCOPE |
The key or token does not hold the scope this operation needs. |
| 403 | IP_NOT_ALLOWED |
An OAuth access token was used from an address outside its client's allow-list. |
| 403 | ENTITLEMENT_REQUIRED |
Your plan does not include API access. |
| 429 | RATE_LIMITED |
Too many requests. Wait for the number of seconds in the Retry-After header. |
Example request
curl -X GET "https://api.sayvara.com/v1/data/responses?limit=50" \
-H "Authorization: Bearer $SAYVARA_API_KEY"Was this page helpful?
Thanks. Need more help? Email support@sayvara.com