Create an opportunity

When creating an opportunity, you must specify the pipeline and stage to which the opportunity belongs, along with the customer linked to the 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
post
/v1/agents/{agentId}/opportunities

Last updated