InvergeDocs

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).

POST /partner/surveys/active

POST 200 x-api-key

Headers

Prop

Type

Body — ActiveSurveysDto

Prop

Type

Request
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-key

Headers

Prop

Type

Body — SubmitResponseDto

Prop

Type

Request
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": {}
    }'

On this page