Skip to main content
POST
Approve or reject an activity
Approve or reject a pending Turnkey activity with a customer-generated Turnkey stamp.

Authorizations

Authorization
string
header
required

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

Path Parameters

activityId
string
required

Activity ID returned by the pending activities endpoint.

Body

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

Response

Vote submitted

action
enum<string>
Available options:
approve,
reject
approved
boolean
rejected
boolean
alreadyCompleted
boolean
alreadyTerminal
boolean
status
string
approvalProgress
object | null

Customer approval counts, excluding Ground. Null when unknown.

currentUserApproved
boolean | null

Whether this customer has already approved; null when unknown.

resultStatus
string | null
activityId
string

Opaque activity ID; use unchanged.

approvalStatus
enum<string> | null

Approval state, separate from onchain confirmation and accounting. Null when unavailable.

Available options:
pending,
processing,
completed,
rejected,
expired,
failed,
null
canApprove
boolean