curl --request POST \
--url https://usejuiced.com/api/leads \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"first_name": "Katy",
"last_name": "Berry",
"email": "katy.berry@thirstyleads.com",
"phone": "555-123-4567",
"address_1": "742 Orchard Lane",
"city": "Paradise Bay",
"state": "FL",
"zip": "33139"
}
'{
"lead_uuid": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"status": "assigned",
"price": 45
}Submits a complete lead for processing and assignment. The lead will be validated, checked for duplicates, matched to a segment, and assigned to a customer (or placed in the marketplace).
If you previously submitted a ping, include the ping_id and optionally a bid_id to reference that ping’s pricing.
curl --request POST \
--url https://usejuiced.com/api/leads \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"first_name": "Katy",
"last_name": "Berry",
"email": "katy.berry@thirstyleads.com",
"phone": "555-123-4567",
"address_1": "742 Orchard Lane",
"city": "Paradise Bay",
"state": "FL",
"zip": "33139"
}
'{
"lead_uuid": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"status": "assigned",
"price": 45
}Use your source's API key as the username and API secret as the password. Base64 encode the credentials in the format api_key:api_secret.
Postal code. Must be valid for your account's operating countries.
"33139"
Reference to a previous ping request. Include to link this lead to prior pricing.
"f47ac10b-58cc-4372-a567-0e02b2c3d479"
Specific bid to accept from the ping response. Only applicable for internal sources.
"7c9e6679-7425-40de-944b-e07fc1f90ae7"
Additional fields as configured for your source and lead type.
Lead created successfully
Unique identifier for the created lead.
"f47ac10b-58cc-4372-a567-0e02b2c3d479"
Current status of the lead.
pending, assigned, duplicate, unassigned, marketplace "assigned"
Price paid for the lead. Zero if not yet assigned.
45