Skip to main content
POST
Typescript (SDK)

Authorizations

Authorization
string
header
required

API key in the format: Bearer {api_token}

Body

application/json
form_id
string
required

Form prefix_id being submitted

email
string
required

Respondent email address. Used to upsert a Customer and, as a convenience, auto-fills the form's email field if no answer is provided for it.

answers
object
required

Map of form_field id → answer value. Optional for simple email-only forms — pass {} and rely on the email auto-fill.

name
string | null

Respondent name (defaults to email local-part if omitted). Auto-fills the form's first text field when present and not otherwise supplied via answers.

Response

Form submission created

id
string
required
object
string
required
answers
object[]
required
respondent_type
string
required
created_at
string<date-time>
required
respondent_id
string
required
form_id
string
required