v1

latestOpenAPI 3.0.12026-07-247756110.6 KB
Participant Information

Create question

Create Participant Question

post/draft_trips/{trip_uuid}/surveys

Path parameters

trip_uuidstring required

Request body

Example request

{
  "data": {
    "question": "What's your favorite meal?",
    "question_type": "text",
    "required": true
  }
}

Response

Successfully created

Example response

{
  "data": {
    "question_id": 1157591197,
    "question": "T-Shirt size",
    "type": "checkbox",
    "answers": [
      "L"
    ],
    "files": [
      {
        "handle": "4d9uMXxpRpqcDVA8mUMk",
        "filename": "Id.png",
        "url": "https://cdn.filestackcontent.com/1d9uMtxpapqcDVA8mlMk"
      }
    ]
  }
}