Get all answers for a submission
Headers
-
Content-Type string
-
Accept string
-
X-PLANNR-ACCOUNT-UUID string
Query parameters
-
filter[uuid] string
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).
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": "6fb95969-f5b9-473d-b5e7-81bd227ec116",
"value": "this as an answer to a form question",
"question": {
"key": "what_is_your_name",
"type": "string",
"uuid": "921b0a84-3472-4b1b-b4ea-0f0e0a996e74",
"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-17T11:18:30+00:00",
"updated_at": "2025-01-17T11:18:30+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-17T11:18:30+00:00",
"updated_at": "2025-01-17T11:18:30+00:00"
}
]
}