Skip to main content
POST
Request an approval

Authorizations

Authorization
string
header
required

The org's platform API key.

Headers

Nexio-Act-As
string

The person the request is made for (a WorkOS user id).

Nexio-Act-As-Email
string

The acting person's verified email, lowercased. Ignored without Nexio-Act-As.

Body

application/json
action
string
required
approver_id
string
required
expires_at
string<date-time>
required
idempotency_key
string
required
payload_hash
string
required
policy_version
integer<int64>
required
record_ids
string[] | null
required
workflow
string
required

Response

OK

action
string
required

The audit action the change recorded.

data
object
required
before
any

The state the change replaced, as the audit recorded it, when there was one.

principal
string

The person the change is about.

request_id
string

The request's id, as logged.