Skip to main content
PATCH
/
opportunities
/
{id}
Triage an opportunity
curl --request PATCH \
  --url https://app.reechee.io/api/v1/opportunities/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "is_viewed": true
}
'
{
  "success": true,
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "is_viewed": true,
    "status": "contacted",
    "viewed_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

A paid-team API key, sent as Authorization: Bearer rch_live_…. Create and revoke keys in the app under Settings → API keys.

Path Parameters

id
string<uuid>
required

Opportunity id (uuid).

Body

application/json
is_viewed
boolean

Mark viewed (stamps viewed_at) or un-viewed (clears it).

status
enum<string>
Available options:
new,
revealed,
contacted,
archived

Response

The updated opportunity.

success
boolean
required
data
object
required