CasePrimus.aiby Attestr
Documentation menu
POST/watchlist/candidates/{id}/promote

Add a candidate to the watchlist

Confirms a discovered case candidate as a tracked case.

Overview

Confirms a discovered case candidate as a tracked case. The case becomes ACTIVE and starts being monitored; if it is already tracked, the existing record is linked instead of duplicated. A candidate can be confirmed when it came from a historical search (discoveryMode HISTORICAL), or from ongoing monitoring (discoveryMode ONGOING) once CasePrimus has approved it (status APPROVED). Available on accounts where your own team reviews new cases. Where the CasePrimus team reviews new cases for you, they confirm candidates instead.

Auth API key
Send your API key in the X-CasePrimus-Api-Key header. See Authentication for how to create a key, and Rate limits & errors for how requests are counted.

Parameters

NameInDescription
id
string
Required
pathThe id returned when the resource was created.

Example request

Replace CASEPRIMUS_API_KEY with your key.

Request
BASE="https://api.caseprimus.ai/api/caseprimus/v1"

curl -X POST "$BASE/watchlist/candidates/CANDIDATE_ID/promote" \
  -H "X-CasePrimus-Api-Key: $CASEPRIMUS_API_KEY"

Responses

200Candidate promoted.
FieldDescription
caseId
string
linkedExisting
boolean

true if this case was already tracked (possibly against a different company) and this entity was just linked to it, rather than a new case being created.

Response 200
{
  "caseId": "CPWLC0exampledemo0002",
  "linkedExisting": false
}
400Candidate does not exist, is not approved yet, or has already been promoted.
Response 400
{
  "httpStatusCode": 400,
  "code": 60411,
  "message": "This candidate has not been approved yet",
  "appError": true
}
403The entity this candidate belongs to has not been shared with you, or the CasePrimus team does this for your account instead.
Response 403
{
  "httpStatusCode": 403,
  "code": 60413,
  "message": "Adding this candidate to the watchlist is not allowed for your account's monitoring pack",
  "appError": true
}

Error responses share one shape, listed on Rate limits & errors.