Skip to main content
POST
Create a deal

Authorizations

Authorization
string
header
required

API key starting with leo_

Body

application/json
title
string
required
Maximum string length: 255
company_id
string<uuid>
required
pipeline_id
string<uuid>

Uses default pipeline if omitted

stage_id
string<uuid>

Uses first stage if omitted

contact_id
string<uuid>
owner_id
string<uuid>
primary_source_id
string<uuid> | null

Optional source definition ID, for example the workspace's Inbound source.

amount
number
currency
string
default:EUR
Maximum string length: 3
expected_amount
number
expected_close_date
string<date>
probability
number
Required range: 0 <= x <= 100
custom_data
object

Response

Deal created

data
object
Example: