Skip to main content
POST
Update a decision

Authorizations

Authorization
string
header
required

Your company API token. Keep it on your server.

Body

application/json
assessmentId
string
required

Assessment identifier returned by the create endpoint.

Example:

"YOUR_TEST_ASSESSMENT_ID"

status
enum<string>
required

Decision status. Approved is a legacy alias for Compliance Approved.

Available options:
Pending,
Manager Approved,
Compliance Approved,
Rejected,
Canceled
Example:

"Compliance Approved"

complianceTeamMemberId
string

Registered, activated compliance Staff ID in the token’s company. Required for Compliance Approved.

Example:

"COMPLIANCE-001"

note
string

Note to accompany the decision.

Example:

"Reviewed by the compliance team"

externalEventId
string

Your event identifier. Required by the current test client; upstream requirement and retry deduplication need verification.

Example:

"decision-001"

managerId
string

External manager Staff ID. Required for Manager Approved, or can identify the actor for Rejected.

cancelledByStaffId
string

Company Staff ID of the person cancelling the assessment. Required for Canceled.

Response

200 - application/json

Workflow response. Check the JSON status: HTTP 200 can include an application error. Other HTTP error statuses have not yet been verified.

status
enum<string>
Available options:
success
success
boolean
message
string