Skip to main content

GET /v1/forms/:id/submissions

Retrieves a paginated list of submissions for a specific form.

Path Parameters

Query Parameters

The Submission object

id
string
required
The unique identifier for the submission.
form_id
string
required
The ID of the form this submission belongs to.
data
object
required
An object containing the submitted form data.
metadata
object
An object containing metadata about the submission, such as IP address and user agent.
created_at
string
required
The date and time the submission was created, in ISO 8601 format.

Example Request

curl -X GET "https://api.example.com/v1/forms/form_123/submissions" \
     -H "Authorization: Bearer <YOUR_API_KEY>"

Example Response

{
  "items": [
    {
      "id": "sub_789",
      "form_id": "form_123",
      "data": {
        "name": "John Doe",
        "email": "[email protected]"
      },
      "metadata": {
        "ipAddress": "127.0.0.1",
        "userAgent": "curl/7.81.0"
      },
      "created_at": "2023-01-03T00:00:00.000Z"
    }
  ],
  "total": 1,
  "limit": 20,
  "offset": 0
}