Skip to main content
POST
Prepare an approval
Returns the signing request for an approval or rejection. Sign the returned payload locally and return its context unchanged with your signature.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

activityId
string
required

Opaque activity ID returned by the pending approvals endpoint.

Body

application/json
action
enum<string>
required
Available options:
approve,
reject

Response

Prepared signing request

activityId
string
required

Opaque activity ID; use unchanged.

action
enum<string>
required
Available options:
approve,
reject
signingRequest
object | null
required

Version 1 uses a base64 payload, P-256 with SHA-256, and a base64 DER signature. Passkeys use the supplied challenge with user verification required. Null for a rejection requiring no signature. Prepare again after five minutes.