Create Lead
POST/crm/leads
Create lead
Request
Query Parameters
The ID of the credential.
Header Parameters
Default value: bearer YOUR_API_KEY
- application/json
Body
Array [
]
Array [
]
Array [
]
Filter contacts by the exact last name.
Filter contacts by the exact first name.
Filter leads by the exact name of the lead owner.
Filter leads by their exact source (e.g., inbound, outbound, referral).
Filter leads by their exact title or job role.
Filter leads by the exact name of the associated company.
addresses
object[]
An array of address objects related to the lead.
The type of the address (e.g., shipping, billing).
The first line of the address.
The second line of the address.
The city of the address.
The state of the address.
The country subdivision of the address.
The country of the address.
The postal/zip code of the address.
emailAddresses
object[]
An array of email address objects associated with the lead.
The type of the email address (e.g., main, secondary).
The email address.
phoneNumbers
object[]
An array of phone number objects associated with the lead.
The type of the phone number (e.g., primary, secondary).
The phone number.
An object containing remote fields that are not supported by the common model. The keys are the names of the fields of the corresponding resource in the remote app, and the values can be strings, numbers, arrays or objects.
Responses
- 200
- 400
200
- application/json
- Schema
- Example (from schema)
- Result
Schema
Array [
]
Array [
]
Array [
]
lead
object
addresses
object[]
emailAddresses
object[]
phoneNumbers
object[]
Default value: true
{
"lead": {
"remoteId": "1234567890123",
"leadOwner": "alex",
"leadSource": "Trade Show",
"leadTitle": "Marketing Manager",
"company": "Bright Future Tech",
"firstName": "Jordan",
"lastName": "Smith",
"addresses": [
{
"country": "United States",
"street1": "123 Sunny Lane",
"state": "CA",
"city": "San Francisco",
"addressType": "main"
}
],
"emailAddresses": [
{
"emailAddressType": "main",
"emailAddress": "jordan.smith@fakemail.com"
}
],
"phoneNumbers": [
{
"phoneNumberType": "main",
"phoneNumber": "123-456-7890"
}
],
"id": "a1b2c3d4-e5f6-7g8h-9i0j-k1l2m3n4o5p6",
"remoteCreatedAt": "2023-11-19T17:00:17.000Z",
"remoteUpdatedAt": "2023-11-19T17:00:17.000Z",
"remoteDeleted": false,
"createdAt": "2024-02-22T11:17:53.264Z",
"updatedAt": "2024-02-22T13:54:03.445Z"
}
}
{
"lead": {
"remoteId": "1234567890123",
"leadOwner": "alex",
"leadSource": "Trade Show",
"leadTitle": "Marketing Manager",
"company": "Bright Future Tech",
"firstName": "Jordan",
"lastName": "Smith",
"addresses": [
{
"country": "United States",
"street1": "123 Sunny Lane",
"state": "CA",
"city": "San Francisco",
"addressType": "main"
}
],
"emailAddresses": [
{
"emailAddressType": "main",
"emailAddress": "jordan.smith@fakemail.com"
}
],
"phoneNumbers": [
{
"phoneNumberType": "main",
"phoneNumber": "123-456-7890"
}
],
"id": "a1b2c3d4-e5f6-7g8h-9i0j-k1l2m3n4o5p6",
"remoteCreatedAt": "2023-11-19T17:00:17.000Z",
"remoteUpdatedAt": "2023-11-19T17:00:17.000Z",
"remoteDeleted": false,
"createdAt": "2024-02-22T11:17:53.264Z",
"updatedAt": "2024-02-22T13:54:03.445Z"
}
}
400
- application/json
- Schema
- Example (from schema)
- Result
Schema
{}
{}