List all opportunities
Returns a list of opportunities.
get
List all opportunities.
Authorizations
AuthorizationstringRequired
Bearer {apikey}
Path parameters
agentIdstringRequired
The ID of the agent.
Query parameters
limitinteger · max: 100OptionalDefault:
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
10startingAfterstringOptional
A cursor for use in pagination. startingAfter is an opportunity ID.
endingBeforestringOptional
A cursor for use in pagination. endingBefore is an opportunity ID.
pipelineIdstringOptional
Only return opportunities for the pipeline specified by this pipeline ID.
stageIdstringOptional
Only return opportunities for the stage specified by this stage ID.
includeDeletedbooleanOptionalDefault:
Whether or not to include deleted opportunities in the results.
falseResponses
200
Successful Response
application/json
400
Bad Request
application/json
403
Forbidden
application/json
404
Not Found
application/json
get
/v1/agents/{agentId}/opportunitiesLast updated