Leads
Create lead
Record a new lead for a company, capturing a potential customer's interest in a specific product.
Required permissions:
- lead:manage
- member:email:read
- access_pass:basic:read
- member:basic:read
post/leads
Request body
Example request
{
"account_id": "biz_xxxxxxxxxxxxxx",
"product_id": "prod_xxxxxxxxxxxxx",
"user_id": "user_xxxxxxxxxxxxx"
}Response
A successful response
Example response
{
"created_at": "2023-12-01T05:00:00.401Z",
"id": "lead_xxxxxxxxxxxxx",
"product": {
"id": "prod_xxxxxxxxxxxxx",
"title": "Pickaxe Analytics"
},
"referrer": "https://twitter.com/whabormarket",
"updated_at": "2023-12-01T05:00:00.401Z",
"user": {
"email": "john.doe@example.com",
"id": "user_xxxxxxxxxxxxx",
"name": "John Doe",
"username": "johndoe42"
}
}Changes
Changed in 1 of the 74 revisions of this API.11
- ▲
added the new required request property
new-required-request-property
- ●
removed the request property
request-property-removed
This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
Of the 74 revisions, 1 has no diff computed.