Create an opportunity
Create a new opportunity
Authorizations
OAuth 2.0 Bearer Token from Clerk authentication
Headers
Unique key to ensure idempotent request handling. If a request with the same key was already processed, the original response will be returned.
Body
Opportunity data. Provide pipeline_id or pipeline_type to choose a pipeline. Household-backed opportunities can omit both and Slant will infer the default client/prospect pipeline from the household type. Contact and business opportunities must provide a compatible pipeline_id, or a pipeline_type whose default pipeline supports that related record type.
The book ID
"abc123xyz"
Name of the opportunity
"New Investment Opportunity"
The monetary value of the opportunity in whole dollars, not cents
500000
The probability of closing (0-100)
75
Expected close date (must be in the future)
"2026-06-01T00:00:00Z"
The pipeline type used to choose the default prospect or client pipeline when pipeline_id is not provided.
prospect, client "prospect"
The exact pipeline ID to create the opportunity in. Takes precedence over pipeline_type.
"pipeline123xyz"
The pipeline stage ID. Must belong to the selected pipeline. Defaults to the first stage.
"stage123xyz"
Legacy household ID for household-backed opportunities (optional)
"household123xyz"
Related record type for the opportunity. Household records can infer the default client/prospect pipeline; Contact and Business records need a compatible pipeline_id or pipeline_type.
Household, Contact, Business "Contact"
Related record ID for the opportunity
"contact123xyz"
Alias for assigned_to_id
"user123xyz"
The assigned user ID from the relevant book users list (defaults to authenticated user)
"user123xyz"
Response
opportunity created
The opportunity ID
"abc123xyz"
The name of the opportunity
"New Investment Opportunity"
The book ID
"book123xyz"
The user assigned to this opportunity. Set this with assigned_to_id on create or update.
The monetary value of the opportunity in dollars
5000
The probability of closing (0-100)
75
Expected close date
When the opportunity last moved stages. Useful for stage aging and pipeline reporting.
The household ID (null for unassociated opportunities)
"household123xyz"
The related record type for this opportunity
Household, Contact, Business The related record ID for this opportunity
Compact related record payload for the opportunity
Custom field values as key-value pairs
When the opportunity was created
When the opportunity was last updated