BitelioBitelio

Save a completed native survey step

Explicit user continuation only. Uses the same invitation draft as the browser and WhatsApp. Submit all answers in the completed visible prefix and the current revision. Optional skipped steps may omit their answer. Hidden/unknown options and missing required preceding answers are rejected. A successful save is progress, not a completed survey. On 409 reload and let the customer reconcile their changes. Never silently overwrite a newer device.

POST
/public/retention/mobile-survey/progress

Authorization

MobileSurveySession

X-Bitelio-Mobile-Session<token>

Short-lived token created by the authenticated merchant backend; also requires X-Bitelio-Device.

In: header

Header Parameters

X-Bitelio-Device*string
Match^[A-Za-z0-9_-]{16,128}$

Request Body

application/json

revision*integer
Range0 <= value
throughQuestionId*string
Lengthlength <= 80
answers*
Itemsitems <= 100
[key: string]?never

Response Body

application/json

curl -X POST "https://bitelio-api.heltia.com/public/retention/mobile-survey/progress" \  -H "X-Bitelio-Device: string" \  -H "Content-Type: application/json" \  -d '{    "revision": 0,    "throughQuestionId": "string",    "answers": [      {        "questionId": "string",        "value": "string"      }    ]  }'
{
  "revision": 0,
  "throughQuestionId": "string",
  "answers": [
    {
      "questionId": "string",
      "value": "string"
    }
  ]
}
Empty
Empty
Empty
Empty
Empty