Skip to main content
POST
Create lead

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

populate
boolean
default:true

Whether to expand foreign keys into nested objects.

Body

application/json
address
string<uuid>
required
contact
string
required
Maximum string length: 250
country
string<uuid>
required
dni
string
required

Identity document number.

Maximum string length: 50
email
string<email>
required
Maximum string length: 250
ip
string
required
Maximum string length: 50
name
string
required
Maximum string length: 250
phone
string
required
Maximum string length: 50
type
enum<string>
required
Available options:
business,
home,
horeca
type_dni
string<uuid>
required

Identity document type.

collection_channel
string | null
Maximum string length: 250
commercial_activity
string | null
Maximum string length: 250
evaluation_date
string<date-time> | null
evaluation_debt
number | null
Required range: x >= 0
evaluation_score
number | null
Required range: x >= 0
gloss
string | null
Maximum string length: 150
name_fantasy
string | null
Maximum string length: 250
payment_method
enum<string> | null
Available options:
pac,
pat,
transfer
s_utm_compaign
string | null
Maximum string length: 250
s_utm_content
string | null
Maximum string length: 250
s_utm_medium
string | null
Maximum string length: 250
s_utm_source
string | null
Maximum string length: 250
s_utm_term
string | null
Maximum string length: 250
utm_compaign
string | null
Maximum string length: 250
utm_content
string | null
Maximum string length: 250
utm_medium
string | null
Maximum string length: 250
utm_source
string | null
Maximum string length: 250
utm_term
string | null
Maximum string length: 250

Response

Lead created

data
object
message
string
meta
object