Create an opportunity
Changed onCreate a new opportunity for a household
Request
- Base URLhttps://api.slant.app
- URLhttps://api.slant.app/v1/households/{household_id}/opportunities
- AuthHTTP bearer
Headers
Unique key to ensure idempotent request handling. If a request with the same key was already processed, the original response will be returned.
Request body
Example request
{
"name": "New Investment Opportunity",
"value": 500000,
"probability": 75,
"target_close_date": "2026-06-01T00:00:00Z",
"pipeline_id": "pipeline123xyz",
"pipeline_stage_id": "stage123xyz",
"owner_id": "user123xyz",
"assigned_to_id": "user123xyz"
}Response
opportunity created
Example response
{
"id": "abc123xyz",
"name": "New Investment Opportunity",
"value": 5000,
"probability": 75,
"book_id": "book123xyz",
"household_id": "household123xyz",
"pipeline": {
"id": "pipeline123xyz",
"name": "Sales Pipeline",
"pipeline_type": "prospect",
"book_id": "book123xyz",
"pipeline_stages": [
{
"id": "stage123xyz",
"name": "Qualified",
"stage_order": 1,
"visible": true,
"default_probability": 50
}
]
},
"pipeline_stage": {
"id": "stage123xyz",
"name": "Qualified",
"stage_order": 1,
"visible": true,
"default_probability": 50
},
"custom_fields": {
"lead_source": "Referral"
},
"assigned_to": {
"id": "abc123xyz",
"email": "user@example.com",
"first_name": "John",
"last_name": "Doe",
"api_access": {
"auth_type": "personal_access_token",
"scope": "read_write"
}
}
}Changes
- breaking
the response property
//////became nullable for the status - warning
added the new
oauthenum value to the//////response property for the response status - info
added the new optional request property
- info
added the new optional request property
- info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the optional property
/to the response with the status - info
removed the
invalid_jsonenum value from theresponse property for the response status - info
response property
detaillist-of-types was narrowed by removing typesarrayfrom media typeapplication/jsonof response400
- breaking