Store a submission request
Headers
-
Content-Type
string -
Accept
string -
X-PLANNR-ACCOUNT-UUID
string
Path parameters
-
form_uuid
integer Required -
account_uuid
string Required
Body
-
description
string Description of the submission request
POST
/api/v1/form/{form_uuid}/submission-request/{account_uuid}
curl \
--request POST 'https://api.plannrcrm.com/api/v1/form/form_uuid/submission-request/account_uuid' \
--header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
--data '{"description":"Please can you submit your annual survey form"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"description": "Please can you submit your annual survey form"
}
Response examples (201)
{
"form": {
"live": true,
"uuid": "4bd9f61b-2de7-48c8-a160-d9572dd74335",
"title": "Annual Catchup 2022",
"sections": "App\\Http\\Resources\\FormQuestionResource",
"created_at": "2025-05-14T18:27:13+01:00",
"updated_at": "2025-05-14T18:27:13+01: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": "c5bcab8a-ca61-4acf-9681-4515e665c4e7",
"created_at": "2025-05-14T18:27:13+01:00",
"submission": {
"form": "App\\Http\\Resources\\FormResource",
"uuid": "27e43423-987a-4237-9174-5d4c4755dde1",
"stage": "draft",
"account": "App\\Http\\Resources\\AccountResource",
"answers": [
{
"last_name": "olive",
"first_name": "john"
}
],
"request": "App\\Http\\Resources\\FormSubmissionRequestResource",
"created_at": "2025-05-14T18:27:13+01:00",
"updated_at": "2025-05-14T18:27:13+01:00"
},
"updated_at": "2025-05-14T18:27:13+01:00",
"description": "Please submit your annual survey form",
"has_submission": true
}