← Back to API

Get a form

Retrieve a single form by ID. Only forms owned by the API key's account can be retrieved.

GET /api/v1/forms/:id

Request

Path parameters

ParameterDescription
idForm ID (e.g. form_1739012345_abc123xyz)

Response (success)

Status: 200 OK

{
  "success": true,
  "data": {
    "id": "form_1739012345_abc123xyz",
    "formUrl": "https://www.chatterforms.com/forms/form_1739012345_abc123xyz",
    "formSchema": {
      "title": "Contact Form",
      "fields": [
        { "type": "text", "label": "Name", "required": true },
        { "type": "email", "label": "Email", "required": true }
      ]
    },
    "isPublished": true,
    "isHipaa": false,
    "createdAt": "2025-01-08T12:00:00.000Z",
    "updatedAt": "2025-01-08T12:30:00.000Z"
  },
  "meta": { "request_id": null, "api_version": "2024-01-01" }
}

Code examples

curl -X GET "https://backend.chatterforms.com/api/v1/forms/form_1739012345_abc123xyz" \
  -H "Authorization: Bearer cf_live_YOUR_API_KEY"

Error responses

StatusCodeDescription
401INVALID_API_KEYMissing or invalid API key
404NOT_FOUNDForm not found or not owned
500INTERNAL_ERRORInternal error

See Errors for details.