Skip to main content
POST
/
v1
/
leads
Add a new lead to campaign
curl --request POST \
  --url https://adscrush-api.anonymoussherlock.workers.dev/api/v1/leads \
  --header 'API_KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "phone": "<string>",
  "s1": "<string>",
  "lp_name": "<string>",
  "address": "<string>"
}
'
{
  "success": true,
  "order_id": "rec_crlh9b3n9o8uin0cj1kg"
}

Authorizations

API_KEY
string
header
required

Your API key. Include this key in the API_KEY header when making requests to endpoints that require authentication. You can find your API key in the 'Profile' tab on the website.

Body

application/json
name
string
required

Name is required. The name of the lead.

phone
string
required

The phone number of the lead.

s1
string
required

The unique code provided by us.

lp_name
string
required

The lp name provided by us.

address
string

The address of the lead.

Response

Successful response

success
boolean
Example:

true

order_id
string
Example:

"rec_crlh9b3n9o8uin0cj1kg"