Skip to main content
Returns all form responses across all forms in your environment. By default, only completed responses are returned.

Request

Learn how to create an API key in the API Keys documentation.
curl -X GET 'https://forms.withsurface.com/api/v1/responses' \
  -H 'x-api-key: your-api-key-here'

Response

data
array
Array of response objects for all forms in your environment.

Example Response

{
  "data": [
    {
      "id": "cmasda085pa0018js0barsadxn5b",
      "createdAt": "2026-01-20T19:45:59.519Z",
      "updatedAt": "2026-01-20T19:46:37.149Z",
      "dataUpdatedAt": "2026-01-20T19:46:01.725Z",
      "finished": true,
      "status": 4,
      "formId": "casdkgkufzp0001kw0btrmz1asd",
      "version": "2.0",
      "data": [
        {
          "response": {
            "type": "IdentityInfo",
            "headline": "Identity Info",
            "emailAddress": "[email protected]",
            "firstName": "John",
            "lastName": "Doe",
            "companyName": "Example Inc.",
            "componentShapeVersion": "2.0"
          },
          "questionId": "gOyoYYzZRnvo"
        },
      ],
      "meta": {
        "leadId": "lead_1234567890"
      },
      "personAttributes": {
        "ip": "123.45.67.89",
        "country": "United States",
        "visitedForm": 1,
        "completedForm": 0
      }
    },
  ]
}