Headers

Path parameters

application/json

Body

  • UUID of the account to attach the form submission to, if left blank will use the authenticated account

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string

      The UUID of the resource.

    • The timestamp of when the resource was created.

    • The timestamp of when the resource was updated.

    • stage string

      The stage of the submission

    • account object

      Account responsible for answering the form

    • request object

      Form submission request attached to this submission if it has one

    • form object

      The form that this submission was created for

    • answers array[object]

      The answers to the questions

POST /api/v1/form/{form_uuid}/submission
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/form/form_uuid/submission' \
 --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 '{"account_uuid":"e7cbac90-062d-4341-b536-054cb73e7be1"}'
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
{
  "account_uuid": "e7cbac90-062d-4341-b536-054cb73e7be1"
}
Response examples (200)
{
  "form": {
    "live": true,
    "uuid": "ca886e6d-ea6a-4067-8d23-41fe5c64855e",
    "title": "Annual Catchup 2022",
    "sections": "App\\Http\\Resources\\FormQuestionResource",
    "created_at": "2025-04-22T13:44:18+01:00",
    "updated_at": "2025-04-22T13:44:18+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": "5a2e3f23-67f9-4d93-ac86-7e2816c70ff1",
  "stage": "draft",
  "account": {
    "firm": "App\\Http\\Resources\\FirmResource",
    "name": "Gareth Thompson",
    "role": "client",
    "tags": "App\\Http\\Resources\\TagResource",
    "type": "client",
    "uuid": "9ced8c59-3cc3-41ef-a918-38030fde60e7",
    "email": "gareth@codepotato.co.uk",
    "groups": "App\\Http\\Resources\\GroupResource",
    "owners": "App\\Http\\Resources\\AccountResource",
    "last_name": "Thompson",
    "created_at": "2025-04-22T13:44:18+01:00",
    "first_name": "Gareth",
    "updated_at": "2025-04-22T13:44:18+01:00",
    "with_login": true,
    "inactive_at": "2025-04-22",
    "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
    "introduced_by": "App\\Http\\Resources\\AccountResource",
    "primary_email": "App\\Http\\Resources\\ContactDetailResource",
    "can_be_deleted": "false",
    "assigned_adviser": "App\\Http\\Resources\\AccountResource",
    "next_review_date": "2025-04-22T13:44:18+01:00",
    "has_joint_account": true,
    "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
    "first_contact_date": "2025-04-22T13:44:18+01:00",
    "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
    "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
    "joint_account_circle": "App\\Http\\Resources\\CircleResource",
    "ownership_percentage": 100,
    "previous_review_date": "2025-04-22T13:44:18+01:00",
    "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
    "assigned_administrator": "App\\Http\\Resources\\AccountResource",
    "anniversary_review_date": "2025-04-22T13:44:18+01:00"
  },
  "answers": [
    {
      "last_name": "olive",
      "first_name": "john"
    }
  ],
  "request": {
    "form": "App\\Http\\Resources\\FormResource",
    "uuid": "d997724c-3158-42a9-95fe-f020a130f065",
    "created_at": "2025-04-22T13:44:18+01:00",
    "submission": "App\\Http\\Resources\\FormSubmissionResource",
    "updated_at": "2025-04-22T13:44:18+01:00",
    "description": "Please submit your annual survey form",
    "has_submission": true
  },
  "created_at": "2025-04-22T13:44:18+01:00",
  "updated_at": "2025-04-22T13:44:18+01:00"
}