Get all sent form submission requests

GET /api/v1/submission-request/sent

Query parameters

  • 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

  • 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).

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • data array[object]

      Additional properties are allowed.

GET /api/v1/submission-request/sent
curl \
 -X GET https://api.plannrcrm.com/api/v1/submission-request/sent \
 -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": "dd9e98a8-5f68-4422-9e64-17a92c8d2ca1",
        "title": "Annual Catchup 2022",
        "sections": "App\\Http\\Resources\\FormQuestionResource",
        "created_at": "2024-12-03T16:50:32+00:00",
        "updated_at": "2024-12-03T16:50:32+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": "24e14f26-dac8-45e5-8d85-dbfbd36d5f98",
      "created_at": "2024-12-03T16:50:32+00:00",
      "submission": {
        "form": "App\\Http\\Resources\\FormResource",
        "uuid": "4b081bb0-a626-4036-82b4-ef78b2b5b597",
        "stage": "draft",
        "account": "App\\Http\\Resources\\AccountResource",
        "answers": [
          {
            "last_name": "olive",
            "first_name": "john"
          }
        ],
        "request": "App\\Http\\Resources\\FormSubmissionRequestResource",
        "created_at": "2024-12-03T16:50:32+00:00",
        "updated_at": "2024-12-03T16:50:32+00:00"
      },
      "updated_at": "2024-12-03T16:50:32+00:00",
      "description": "Please submit your annual survey form",
      "has_submission": true
    }
  ]
}