An object containing a text string that isn't translated to the user's preferred language.
Name
Type
Optional
Nullable
Descriptions
type
string
false
false
Has the value static
value
string
false
false
A static (non-translatable) plain text content
Dynamic text content object
An object containing a dynamic content placeholder, which returns pre-defined content that is translated to a user's preferred language. See Dynamic content article.
Name
Type
Optional
Nullable
Descriptions
type
string
false
false
Has the value dynamic
key
string
false
false
The key of a dynamic content
value
string
false
false
The translated value of the dynamic content represented by its key for a given locale (determined by the locale path parameter)
Follow up object
Name
Type
Optional
Nullable
Descriptions
question_id
string
false
false
The id of the next question
Example
{"created_at":"2025-03-25T00:00:00.000Z","id":"01JQ6F1H5B9XSM626BT0M1R0W4","questions":[{"headline":{"type":"static","value":"How would you rate the support you received?"},"id":"01GFYBENPDGN1R6NAA4WRDNVFR","options":[{"emoji":{"type":"static","value":"😡"},"follow_up":{"question_id":"01JQ6E6V6SSXM7796DDCYM73NC"},"label":{"type":"static","value":"Very unsatisfied"},"rating":1},{"emoji":{"type":"static","value":"😊"},"follow_up":{"question_id":"01JQ6E6V6SSXM7796DDCYM73NC"},"label":{"type":"static","value":"Very satisfied"},"rating":2}],"sub_type":"customer_satisfaction","type":"rating_scale_emoji"},{"headline":{"type":"static","value":"Select a reason regarding your experience"},"id":"01JQ6E6V6SSXM7796DDCYM73NC","options":[{"follow_up":{"question_id":"01JQ6E6V6SQ9P0KB16GFZN61VK"},"id":"01J5DG6N2QMGYWAZ5X7ZCJFEM6","label":{"type":"static","value":"The issue took too long to resolve"}},{"follow_up":{"question_id":"01JQ6E6V6SQ9P0KB16GFZN61VK"},"id":"01J5DGHV93SGA784ANJ0ZFVWRY","label":{"type":"static","value":"The issue was not resolved"}},{"follow_up":{"question_id":"01JQ6E6V6SQ9P0KB16GFZN61VK"},"id":"01J5DGJ0AQV900JBP73V1610AN","label":{"type":"static","value":"The information provided was not clear or helpful"}}],"type":"closed_ended"},{"follow_up":null,"headline":{"type":"static","value":"Anything else you would like to share about your experience?"},"id":"01JQ6E6V6SQ9P0KB16GFZN61VK","type":"open_ended"}],"state":"enabled","updated_at":"2025-03-27T00:00:00.000Z","version":3}
List Surveys
GET /api/v2/guide/{locale}/surveys
Shows information about available CSAT surveys.
Allowed for
Agent users
Parameters
Name
Type
In
Required
Description
filter
object
Query
false
filter[types] - A comma-separated list of survey types
page
object
Query
false
A group of query parameters used for pagination. See Pagination
locale
string
Path
true
The locale used for the display of the corresponding survey questions and options
// Status 200 OK{"meta":{"after_cursor":"MW","before_cursor":"MQ","has_more":false},"surveys":[{"created_at":"2025-03-25T00:00:00.000Z","id":"01JQ6F1H5B9XSM626BT0M1R0W4","questions":[{"headline":{"type":"static","value":"How would you rate the support you received?"},"id":"01GFYBENPDGN1R6NAA4WRDNVFR","options":[{"emoji":{"type":"static","value":"😡"},"follow_up":{"question_id":"01JQ6E6V6SSXM7796DDCYM73NC"},"label":{"type":"static","value":"Very unsatisfied"},"rating":1},{"emoji":{"type":"static","value":"😊"},"follow_up":{"question_id":"01JQ6E6V6SSXM7796DDCYM73NC"},"label":{"type":"static","value":"Very satisfied"},"rating":2}],"sub_type":"customer_satisfaction","type":"rating_scale_emoji"},{"headline":{"type":"static","value":"Select a reason regarding your experience"},"id":"01JQ6E6V6SSXM7796DDCYM73NC","options":[{"follow_up":{"question_id":"01JQ6E6V6SQ9P0KB16GFZN61VK"},"id":"01J5DG6N2QMGYWAZ5X7ZCJFEM6","label":{"type":"static","value":"The issue took too long to resolve"}},{"follow_up":{"question_id":"01JQ6E6V6SQ9P0KB16GFZN61VK"},"id":"01J5DGHV93SGA784ANJ0ZFVWRY","label":{"type":"static","value":"The issue was not resolved"}},{"follow_up":{"question_id":"01JQ6E6V6SQ9P0KB16GFZN61VK"},"id":"01J5DGJ0AQV900JBP73V1610AN","label":{"type":"static","value":"The information provided was not clear or helpful"}}],"type":"closed_ended"},{"follow_up":null,"headline":{"type":"static","value":"Anything else you would like to share about your experience?"},"id":"01JQ6E6V6SQ9P0KB16GFZN61VK","type":"open_ended"}],"state":"enabled","updated_at":"2025-03-27T00:00:00.000Z","version":3}]}
Show Survey By Id And Version
GET /api/v2/guide/{locale}/surveys/{id}/{version}
Shows information about the specified survey by the id and the version.
The endpoint returns the latest available version if the version parameter is greater than the latest available version.
Allowed for
Anonymous users
Parameters
Name
Type
In
Required
Description
id
string
Path
true
The survey response id
locale
string
Path
true
The locale used for the display of the corresponding survey questions and options
version
integer
Path
true
The version of the survey upon which the survey response was based on. Every time the survey is updated, the version is automatically incremented.
// Status 200 OK{"survey":{"created_at":"2025-03-25T00:00:00.000Z","id":"01JQ6F1H5B9XSM626BT0M1R0W4","questions":[{"headline":{"type":"static","value":"How would you rate the support you received?"},"id":"01GFYBENPDGN1R6NAA4WRDNVFR","options":[{"emoji":{"type":"static","value":"😡"},"follow_up":{"question_id":"01JQ6E6V6SSXM7796DDCYM73NC"},"label":{"type":"static","value":"Very unsatisfied"},"rating":1},{"emoji":{"type":"static","value":"😊"},"follow_up":{"question_id":"01JQ6E6V6SSXM7796DDCYM73NC"},"label":{"type":"static","value":"Very satisfied"},"rating":2}],"sub_type":"customer_satisfaction","type":"rating_scale_emoji"},{"headline":{"type":"static","value":"Select a reason regarding your experience"},"id":"01JQ6E6V6SSXM7796DDCYM73NC","options":[{"follow_up":{"question_id":"01JQ6E6V6SQ9P0KB16GFZN61VK"},"id":"01J5DG6N2QMGYWAZ5X7ZCJFEM6","label":{"type":"static","value":"The issue took too long to resolve"}},{"follow_up":{"question_id":"01JQ6E6V6SQ9P0KB16GFZN61VK"},"id":"01J5DGHV93SGA784ANJ0ZFVWRY","label":{"type":"static","value":"The issue was not resolved"}},{"follow_up":{"question_id":"01JQ6E6V6SQ9P0KB16GFZN61VK"},"id":"01J5DGJ0AQV900JBP73V1610AN","label":{"type":"static","value":"The information provided was not clear or helpful"}}],"type":"closed_ended"},{"follow_up":null,"headline":{"type":"static","value":"Anything else you would like to share about your experience?"},"id":"01JQ6E6V6SQ9P0KB16GFZN61VK","type":"open_ended"}],"state":"enabled","updated_at":"2025-03-27T00:00:00.000Z","version":3}}
404 Not Found
// Status 404 Not Found{"errors":[{"code":"NotFound","status":"404","title":"The survey could not be found"}]}