Skip to content

Surveys/NPS

It is possible to use both a single-user API key and a multi-user API key.

If the “sub_branding_id” parameter is not passed, all merchants assigned to the API key must share the same customer survey. However, if the “sub_branding_id” parameter is passed, the survey results will belong to that specific sub-branding.

If multiple sub-branding IDs are passed, they must all have the same customer survey.

Surveys Result CSV

Request

Security
key
Query
date_fromstring, (date)required

Returns surveys for dates greater than or equal to the passed value (ISO-8601).

date_tostring, (date)required

Returns surveys for dates less than or equal to the passed value (ISO-8601).

sub_branding_idinteger, (int32)

Returns surveys belonging to the passed sub-branding.

sub_branding_id_2integer, (int32)

Sub-branding can be passed multiple times. In this case, all related surveys will be returned.

curl -i -X GET \
  'https://developer.radaro.com.au/_mock/split-external-api/api/webhooks/surveys/result-csv?date_from=2019-08-24&date_to=2019-08-24&sub_branding_id=0&sub_branding_id_2=0&key=YOUR_API_KEY_HERE'

Responses

200

Bodyapplication/json
Response
"Content-Type:text/csv"