Skip to main content
POST
Create Lead for Firm

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

The id of the record to retrieve.

Example:

"abc123"

Body

application/json

The data to create the record with.

email
string<email>
required

The client's email address

Example:

"client1+74049788@example.com"

firstName
string
required

The client's first name

Example:

"Amya"

lastName
string
required

The client's last name

Example:

"Williamson"

resourceType
enum<string>
required

The resource type of the lead owner

Available options:
ClientProfile,
Firm,
FirmMember
Example:

"Firm"

resourceId
string
required

The resource ID of the lead owner

Example:

"qSBKZzUi"

phone
object | null

The client's phone number

clientData
object | null

The user data for the lead

Response

201 - application/json

Successful response

data
object