POST
/
landing-pages
/
{id}
/
submissions
Submit Form Response
curl --request POST \
  --url https://connextify.com/api/v1/landing-pages/{id}/submissions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "form_data": {},
  "form_name": "<string>",
  "utm_source": "<string>",
  "utm_medium": "<string>",
  "utm_campaign": "<string>",
  "referrer": "<string>"
}
'
{
  "success": true,
  "data": {
    "message": "<string>",
    "id": "<string>"
  }
}
Submits a response to a contact form, lead magnet, or survey hosted on a Connextify landing page. This endpoint does not require an API key, allowing client-side forms, mobile apps, and headless web widgets to post data securely.

Path Parameters

id
string
required
UUID of the target landing page or form.

Request Body

form_data
object
required
Key-value map containing the submitted field answers.Example:
{
  "name": "Alex Mercer",
  "email": "alex@example.com",
  "company": "Acme Corp",
  "message": "Interested in an enterprise demo"
}
form_name
string
default:"Contact Form"
Name or section identifier of the form being submitted.
utm_source
string
Campaign source captured by client-side tracking.
utm_medium
string
Campaign medium.
utm_campaign
string
Campaign name.
referrer
string
Referring URL where the visitor arrived from.

Response

success
boolean
true
data
object
message
string
"Form submitted successfully"
id
string
UUID assigned to the newly created submission.

Request Examples

curl -X POST https://connextify.com/api/v1/landing-pages/8fa95874-8b63-41c3-881c-cb89d9f5844a/submissions \
  -H "Content-Type: application/json" \
  -d '{
    "form_data": {
      "email": "lead@example.com",
      "name": "Sarah Connor"
    },
    "utm_source": "linkedin",
    "utm_campaign": "q4_leads"
  }'