Get all submission requests on a form
This endpoint can only be hit by senior employees It will show every form submission request created for this form Including whom sent the request and the recipient
Headers
-
Content-Type string
-
Accept string
-
X-PLANNR-ACCOUNT-UUID string
Query parameters
-
filter[uuid] string
Filter by a comma separated list of UUIDs.
-
filter[created_after] string
Date to filter when the record was created after. Example 2022-04-05
-
filter[created_before] string
Date to filter when the record was created before. Example 2022-05-31
-
filter[form.title] string
filter title of the form
-
sort string
Field to sort by. Valid fields are [created_at, updated_at, description]. 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-request
curl \
-X GET https://api.plannrcrm.com/api/v1/form/form_uuid/submission-request \
-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": [
{
"form": {
"live": true,
"uuid": "b54b8f53-3981-42be-b7e7-8b58a686b350",
"title": "Annual Catchup 2022",
"sections": "App\\Http\\Resources\\FormQuestionResource",
"created_at": "2024-11-20T13:24:01+00:00",
"updated_at": "2024-11-20T13:24:01+00:00",
"visibility": "public",
"client_type": "client",
"description": "This is the annual catchup form for 2022",
"allowed_hosts": [
"domain.com",
"subdomain.domain.com"
],
"create_client": true,
"draft_submissions_count": 5,
"submitted_submissions_count": 5
},
"uuid": "7d085c97-87b9-47b0-a29f-46ab76ad4815",
"created_at": "2024-11-20T13:24:01+00:00",
"submission": {
"form": "App\\Http\\Resources\\FormResource",
"uuid": "f6750298-71d8-4451-ba2a-61e7097fb634",
"stage": "draft",
"account": "App\\Http\\Resources\\AccountResource",
"answers": [
{
"last_name": "olive",
"first_name": "john"
}
],
"request": "App\\Http\\Resources\\FormSubmissionRequestResource",
"created_at": "2024-11-20T13:24:01+00:00",
"updated_at": "2024-11-20T13:24:01+00:00"
},
"updated_at": "2024-11-20T13:24:01+00:00",
"description": "Please submit your annual survey form",
"has_submission": true
}
]
}