Create an opportunity
post
Create a new opportunity
Authorizations
AuthorizationstringRequired
Bearer {apikey}
Path parameters
agentIdstringRequired
The ID of the agent.
Body
namestring · min: 1Required
The name of the opportunity.
customerIdstringRequired
The ID of the customer associated with the opportunity.
pipelineIdstringRequired
The ID of the opportunity pipeline.
stageIdstringRequired
The ID of the pipeline stage.
ownerIdstring | nullableOptional
The ID of the user that own the opportunity.
scoreinteger | nullableOptional
The score indicating the likelihood of closing the opportunity.
amountnumber | nullableOptional
The monetary value of the opportunity, if applicable.
tagsstring[]Optional
The tags associated with the opportunity.
Responses
200
Successful Response
application/json
400
Bad Request
application/json
403
Forbidden
application/json
404
Not Found
application/json
422
Validation Error
application/json
post
/v1/agents/{agentId}/opportunitiesLast updated