Skip to main content
POST
Create a lead

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Gövde

application/json
first_name
string | null

The first name.

Maximum string length: 255
last_name
string | null

The last name.

Maximum string length: 255
phone_number
string | null

The phone number in E.164 format.

Maximum string length: 50
email
string<email> | null

The email address.

Maximum string length: 255
description
string | null

The description.

message
string | null

The message body.

expected_value
number | null

The expected deal value.

Gerekli aralık: x >= 0
treatment_ids
integer[] | null

The active treatment identifiers selected for the lead.

An active treatment identifier belonging to the tenant.

currency_id
integer | null

The currency ID for the expected value.

exchange_rate
number | null

The exchange rate of the lead currency against the tenant base currency (1 for the base currency).

Gerekli aralık: x >= 0
preferred_contact
string | null

Preferred contact channel.

Maximum string length: 50
source_page_url
string<uri> | null

URL of the page that produced the lead.

Maximum string length: 2048
pipeline_stage_id
integer | null

The pipeline stage ID.

lead_reference_source_id
integer | null

The lead reference source ID.

assigned_user_id
integer | null

The assigned user ID.

country_id
integer | null

The country ID.

marketing_attribution
string[] | null

The marketing attribution.

Yanıt

success
string
gerekli
data
LeadResource · object
gerekli