Creates a lead that can be tracked, engaged, and converted into a customer or account.
Request Body
First name of the lead.Example: Sarah
Last name of the lead.Example: Johnson
Phone number of the lead.Example: +1-555-234-5678
Job title or position.Example: VP of Operations
Department or division.Example: Operations
Source or origin of the lead.Options: website, referral, trade_show, cold_call, social_media, partner, other
Additional details or notes about the lead.
Whether the lead should not be contacted by phone.
Whether the lead has opted out of email communication.
Response
Unique identifier for the created lead.
Object type. Always lead.
Email address of the lead.
Phone number of the lead.
Current status of the lead. Starts as new.
ISO 8601 timestamp when the lead was created.
curl --location --request POST 'https://api.stateset.com/v1/leads' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data-raw '{
"firstName": "Sarah",
"lastName": "Johnson",
"email": "[email protected]",
"phone": "+1-555-234-5678",
"title": "VP of Operations",
"department": "Operations",
"leadSource": "website",
"description": "Interested in returns automation"
}'
{
"id": "e0901f08-3aa1-43c5-af5c-0a9d2fc64e30",
"object": "lead",
"firstName": "Sarah",
"lastName": "Johnson",
"email": "[email protected]",
"phone": "+1-555-234-5678",
"title": "VP of Operations",
"department": "Operations",
"leadSource": "website",
"status": "new",
"description": "Interested in returns automation",
"created_at": "2024-06-15T10:30:00.000Z"
}