Skip to main content
POST
Record decision

Authorizations

Authorization
string
header
required

Unkey API key passed as Bearer token

Headers

X-External-User-ID
string
required

External user identifier from the calling system

X-External-User-Email
string<email>

External user email from the calling system

Path Parameters

promotionId
string<uuid>
required

Promotion ID

versionId
string<uuid>
required

Version ID

Body

application/json
decision
enum<string>
required

The human review decision to record on the version. Uses the same vocabulary as GET .../decision and the review.* webhooks.

Available options:
approved,
rejected,
changes_requested
Example:

"approved"

Response

Decision recorded

success
boolean
required
correlationId
string<uuid>
required

Correlation ID for request tracing. Include in support requests.