Skip to main content
POST
/
flows
/
{flow_id}
/
sources
/
{source_id}
/
submit
Submit data to a source within a flow
curl --request POST \
  --url https://app.leadconduit.com/flows/{flow_id}/sources/{source_id}/submit \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{}'
[
  {
    "request": {
      "method": "POST",
      "uri": "https://app.leadconduit-staging.com/flows/12345/sources/67890/submit",
      "headers": {
        "Accept": "application/json",
        "Content-Type": "application/x-www-form-urlencoded"
      },
      "body": "email=test@example.com&fname=John",
      "version": "1.1",
      "timestamp": 1742844135024
    },
    "response": {
      "status": 201,
      "headers": {
        "Content-Type": "application/json",
        "Content-Length": "72"
      },
      "body": "{\"outcome\":\"success\",\"lead\":{\"id\":\"abc123\"},\"price\":0}"
    }
  }
]

Authorizations

Authorization
string
header
required

LeadConduit uses HTTP Basic Authentication with the username API and your API key as the password.

For example: API:1f1b96c9150d8050e858c043d543bb4eadae0e6f'

Path Parameters

flow_id
string
required

The ID of the flow 24 character alpha-numeric BSON identifier

Pattern: ^[0-9a-fA-F]{24}$
Example:

"5fd4371e940df5a34a3888b2"

source_id
string
required

The ID of the source within the flow 24 character alpha-numeric BSON identifier

Pattern: ^[0-9a-fA-F]{24}$
Example:

"5fd4371e940df5a34a3888b2"

Body

application/json

The JSON lead data to submit.

{key}
string

A dynamic set of key-value pairs representing lead data.

Response

A list of metadata records for lead submissions.

request
object

Details of the lead submission request.

response
object

Details of the response from the server.