Skip to main content
POST
/
v1
/
agents
/
get-opportunities
cURL
curl --request POST \
  --url https://revive-api-v2-production.herokuapp.com/v1/agents/get-opportunities \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "agentId": "<string>",
  "after": "<string>",
  "dealType": "<string>",
  "isLost": true,
  "startDate": 123,
  "separateByDealType": true
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
agentId
string
after
string
dealType
string
isLost
boolean
startDate
number
separateByDealType
boolean

Response

200

Success