Skip to main content
POST
Prepare an activity approval
Returns the Turnkey approve or reject request payload that the customer signer must stamp locally before submitting it to the vote endpoint.

Authorizations

Authorization
string
header
required

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

Body

application/json
activityId
string
required

Activity ID returned by the pending activities endpoint.

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.

turnkeyRequest
object
stampPayload
string

JSON string form of turnkeyRequest. Stamp this payload with the customer signer outside Ground's servers.