Get all answers for a submission

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

Path parameters

Query parameters

  • Filter by a comma separated list of UUIDs.

  • sort string

    Field to sort by. Valid fields are [created_at, updated_at, value]. Negative sign to denote DESC. Defaults to '-created_at'.

  • per_page integer

    Number of results to return with pagination (Default 15. Max 500).

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • data array[object]

      Additional properties are allowed.

GET /api/v1/form/{form_uuid}/submission/{submission_uuid}/answer
curl \
 -X GET https://api.plannrcrm.com/api/v1/form/form_uuid/submission/submission_uuid/answer \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json" \
 -H "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (200)
{
  "data": [
    {
      "uuid": "7d00310a-044a-40b5-8a2a-3aa97c3c5e48",
      "value": "this as an answer to a form question",
      "question": {
        "key": "what_is_your_name",
        "type": "string",
        "uuid": "db49cf25-d77b-4392-9f96-7de62464887d",
        "title": "What is your name?",
        "caption": "Your full legal name",
        "section": "App\\Http\\Resources\\FormSectionResource",
        "position": 1,
        "required": true,
        "help_text": "Gareth",
        "created_at": "2025-01-12T12:55:58+00:00",
        "updated_at": "2025-01-12T12:55:58+00:00",
        "target_field": "name",
        "linked_primary": true,
        "linked_question": "App\\Http\\Resources\\FormBuilder\\LinkedFormQuestionResource",
        "selection_options": [
          "option 1",
          "option 2"
        ]
      },
      "created_at": "2025-01-12T12:55:58+00:00",
      "updated_at": "2025-01-12T12:55:58+00:00"
    }
  ]
}