Get all submission for a form authored by a specific account

GET /api/v1/form/{form_uuid}/submission-authored-by/{author_uuid}

Path parameters

Query parameters

  • include string

    Comma separated list of relationships to include in the response. Valid relationships are [account]

  • Filter by a comma separated list of UUIDs.

  • Date to filter when the record was created after. Example 2022-04-05

  • Date to filter when the record was created before. Example 2022-05-31

  • Flter submissions by their stage. Valid options are draft,submitted,approved,changes_requested.

  • Name of the account of who the submission was against.

  • Filter by a comma separated list of accounts UUIDs of who the form was submitted against.

  • Filter by a comma separated list of account UUIDs of who submitted the form.

  • Filter by a comma separated list of circle UUIDs belonging to accounts of who the form was submitted against.

  • Hide form submissions that are not linked to an account, this could be submissions on public forms.

  • sort string

    Field to sort by. Valid fields are [created_at, updated_at, stage]. 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-authored-by/{author_uuid}
curl \
 -X GET https://api.plannrcrm.com/api/v1/form/form_uuid/submission-authored-by/author_uuid \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json"
Response examples (200)
{
  "data": [
    {
      "form": {
        "live": true,
        "uuid": "0c8640a0-e30b-4c54-afde-e4e780a9dcdd",
        "title": "Annual Catchup 2022",
        "sections": "App\\Http\\Resources\\FormQuestionResource",
        "created_at": "2025-01-17T11:18:30+00:00",
        "updated_at": "2025-01-17T11:18:30+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": "ff0dd879-953d-49bb-b5e5-ef0013b9ab20",
      "stage": "draft",
      "account": {
        "firm": "App\\Http\\Resources\\FirmResource",
        "name": "Gareth Thompson",
        "role": "client",
        "tags": "App\\Http\\Resources\\TagResource",
        "type": "client",
        "uuid": "e5f24a62-834e-4048-bf30-30f8bce97a69",
        "email": "gareth@codepotato.co.uk",
        "groups": "App\\Http\\Resources\\GroupResource",
        "owners": "App\\Http\\Resources\\AccountResource",
        "last_name": "Thompson",
        "created_at": "2025-01-17T11:18:30+00:00",
        "first_name": "Gareth",
        "updated_at": "2025-01-17T11:18:30+00:00",
        "with_login": true,
        "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-01-17T11:18:30+00:00",
        "has_joint_account": true,
        "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
        "first_contact_date": "2025-01-17T11:18:30+00:00",
        "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
        "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
        "previous_review_date": "2025-01-17T11:18:30+00:00",
        "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
        "assigned_administrator": "App\\Http\\Resources\\AccountResource",
        "anniversary_review_date": "2025-01-17T11:18:30+00:00"
      },
      "answers": [
        {
          "last_name": "olive",
          "first_name": "john"
        }
      ],
      "request": {
        "form": "App\\Http\\Resources\\FormResource",
        "uuid": "87bf406a-2ec4-4093-a58a-2f24e61b710f",
        "created_at": "2025-01-17T11:18:30+00:00",
        "submission": "App\\Http\\Resources\\FormSubmissionResource",
        "updated_at": "2025-01-17T11:18:30+00:00",
        "description": "Please submit your annual survey form",
        "has_submission": true
      },
      "created_at": "2025-01-17T11:18:30+00:00",
      "updated_at": "2025-01-17T11:18:30+00:00"
    }
  ]
}