Create form submission
Changed onSubmits a response to a lead magnet form; creates the contact if needed and triggers delivery.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Request body
Form ID being submitted
Respondent email address. Used to upsert a Contact and, as a convenience, auto-fills the form's email field if no answer is provided for it.
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.
Map of form_field id → answer value. Optional for simple email-only forms — pass {} and rely on the email auto-fill. A consent field takes true when the person ticked it.
The submitter's IP address, kept with the submission as a record of the signup.
Response
Form submission created
Changes
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
4 more changes in this revision
- warning