Skip to content
Coursey CreativeSign in

POST /forms/[formId]/submissions

/api/store/[slug]/forms/[formId]/submissions

Saves a submission for a custom store form (Coursey One form builder) and fires the form_submitted automation event.

Public - no auth neededHow authentication works

Path parameters

slugstringrequired

Business (store) slug

formIdstringrequired

UUID of the form; must belong to the business resolved from the slug (404 otherwise)

Body parameters

submitter_emailstringrequired

Submitter's email address (trimmed, valid email).

fieldsobjectrequired

Record of string keys to string values (each value max 10000 chars, max 50 keys total) containing the form field answers.

Responses

201

The resource was created.

400

A field failed validation. The response names the fields that failed, not just the first.

404

No such store, or no such record inside it.

429

Too many requests. Back off and retry after the window in the response.

500

Something failed on our side. The response carries no detail; retry is safe on a GET.

What comes back

201 with { success: true, data: { submission_id } }. Errors: { error } with 400 (invalid JSON/body), 404 (business or form not found), 429 ({ error, retryAfter } plus a Retry-After header when the submission rate limit is exceeded), 500. CORS-enabled; OPTIONS preflight supported.