Skip to main content
POST
Create Deal
Create a deal. Stage ids come from get_apollo_opportunity_stages, and the account it belongs to comes from post_apollo_accounts_search. Writes land in the AIsa workspace, which every caller shares: the record becomes visible and editable by others, and there is no per-caller isolation. Deals feed the workspace’s forecast, so a test record distorts numbers other people read.

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required

Deal name

owner_id
string

Owner ID

account_id
string

Account ID

amount
number

Deal amount

opportunity_stage_id
string

Deal stage ID

closed_date
string

Closed date (date string)

typed_custom_fields
object

Typed custom fields object

Response

Successful response

opportunity
object

Created opportunity