Skip to main content
POST
Create an opportunity

Autorizaciones

Authorization
string
header
requerido

Workspace API key sent as a bearer token: Authorization: Bearer failfast_.... Create keys in Settings -> Workspace -> API Keys.

Cuerpo

A ModelSerializer that takes an additional fields argument that controls which fields should be displayed.

lead
string<uuid>
requerido
custom_fields
unknown
status
string
Maximum string length: 50
stage
string
Maximum string length: 50
expected_value
string<decimal> | null
Pattern: ^-?\d{0,14}(?:\.\d{0,6})?$
probability
integer
Rango requerido: -2147483648 <= x <= 2147483647
last_activity_at
string<date-time> | null
last_activity_type
string | null
Maximum string length: 50
close_date
string<date> | null
sales_quote
string<uuid> | null

Respuesta

201 - application/json
message
string
requerido

Human-readable outcome of the request.

error
boolean
requerido

true when the request failed.

Ejemplo:

false

data
object
requerido

A ModelSerializer that takes an additional fields argument that controls which fields should be displayed.