Skip to main content
POST
Ingest a submission

Authorizations

Authorization
string
header
required

A Sorraia API key created in the dashboard (Settings → API keys). Pass it as Authorization: Bearer sor_live_....

Headers

Idempotency-Key
string

Optional. A client-chosen unique string (≤256 chars). Within 24h, retrying with the same key replays the original result instead of creating a duplicate submission.

Maximum string length: 256

Path Parameters

id
integer
required

The resource id.

Body

application/json
formData
object
required

Field values (label → value). Max 50 keys, max 50KB serialized.

wcClientCurrent
string | null

Optional WhatConverts attribution cookie value.

Response

Idempotent replay — the original submission for this Idempotency-Key, returned verbatim.

id
integer
required
formId
integer
required
formData
object
required

The submitted field values (label → value).

createdAt
string<date-time>
required
sourceDomain
string | null

The page hostname the submission originated from (null for API ingestion).