POST /api/v1/form/{form_uuid}/submission/{submission_uuid}/answer

Path parameters

  • form_uuid string Required
  • submission_uuid string Required
application/json

Body

  • answers object Required

    Answers linked with questions keys array

    Additional properties are allowed.

Responses

  • 401 application/json
    Hide response attribute Show response attribute object
    • message string
POST /api/v1/form/{form_uuid}/submission/{submission_uuid}/answer
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/form/6ff8f7f6-1eb3-3525-be4a-3932c805afed/submission/6ff8f7f6-1eb3-3525-be4a-3932c805afed/answer' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"answers":{"last_name":"Cena","first_name":"John","another.field":"Some value"}}'
Request examples
{
  "answers": {
    "last_name": "Cena",
    "first_name": "John",
    "another.field": "Some value"
  }
}
Response examples (401)
{
  "message": "Unauthenticated."
}