Skip to main content
POST
/
v0
/
insto
/
custody
/
tasks
/
{id}
/
review
Review task
curl --request POST \
  --url https://api.kraken.com/v0/insto/custody/tasks/{id}/review \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --header 'api-nonce: <api-key>' \
  --header 'api-otp: <api-key>' \
  --header 'api-sign: <api-key>' \
  --data '
{
  "type": "approve",
  "comment": "Transaction approved by finance team"
}
'
{
  "state": "approved"
}

Authorizations

api-key
string
header
required
api-sign
string
header
required
api-nonce
string
header
required
api-otp
string
header
required

Path Parameters

id
string
required

Task identifier, a T-prefixed 14-char base32 string.

Example:

"TABCDEF234567A"

Body

application/json
type
string
required

The review decision to record. Must be either approve or deny.

Example:

"approve"

comment
string

Optional free-text comment to attach to the decision. Surfaced in the task's activity timeline.

Example:

"Transaction approved by finance team"

Response

The task's lifecycle state after the decision was applied.

state
string
required

New lifecycle state of the task after the decision was applied. One of pending, approved, rejected, canceled, expired, failed, executed.

Example:

"approved"