Surveys
Eligible surveys and responses.
SDK-facing (API-key) surveys surface. active returns the surveys a user is
eligible to see; responses ingests answers (partial or complete). Sessions
are optional but correlated when identity is supplied. Un-prefixed (/partner).
| Method | Path | Summary |
|---|---|---|
POST | /partner/surveys/active | |
POST | /partner/surveys/responses |
POST /partner/surveys/active
POST 200 x-api-keyHeaders
Prop
Type
Body — ActiveSurveysDto
Prop
Type
curl -X POST 'https://services.inverge.net/partner/surveys/active' \
-H 'x-api-key: nxs_live_xxx' \
-H 'content-type: application/json' \
-d '{
"distinctId": "user_123",
"deviceKey": "dev_41ab",
"properties": {}
}'POST /partner/surveys/responses
POST 202 x-api-keyHeaders
Prop
Type
Body — SubmitResponseDto
Prop
Type
curl -X POST 'https://services.inverge.net/partner/surveys/responses' \
-H 'x-api-key: nxs_live_xxx' \
-H 'content-type: application/json' \
-d '{
"surveyId": "survey_1",
"answers": {}
}'