Actions — API reference
The Universal Action Engine and the Action Center: the catalogue (Record Sender's own actions and the partner platforms' confirmed capabilities; proposed ones are coming soon and never run), suggestions for an email, contact, notification or record found in mail, and the person's own actions — propose, approve with the parameters' hash (any change invalidates an approval), deny, change, execute, cancel, retry. Payments above the account's threshold also need the person's approval in Authpermit (step-up). Actions belong to one person: nobody else sees or decides them. Scopes `actions:read` and `actions:write`.
← All groups
Your actions
Newest first, with the count per group (waiting · running · done · failed · compensated · closed).
Scope: actions:read
· paginated
· actions.index
Parameter In Type Description
group query "waiting" | "running" | "done" | "failed" | "compensated" | "closed" status query "draft" | "planning" | "validating" | "awaiting_information" | "awaiting_authorization" | "awaiting_confirmation" | "ready" | "executing" | "verifying" | "retry_pending" | "completed" | "partially_completed" | "failed" | "compensating" | "compensated" | "rejected" | "cancelled" | "requires_attention" platform query string source_type query string q query string title, item or action cursor query string The `next_cursor` of the previous page limit query integer Page size
Responses 200 · 401 · 403 · 429
200 Success
actions *
[Action]
fields
Action
action *
string
the catalogue key, or plan
agent_id
string | null
approvals
[ActionApproval]
fields
ActionApproval
approval_url
string | null
channel
string | null
decided_at
string | null
expires_at
string | null
id
string (uuid)
kind
"confirmation" | "step_up"
number
string | null
show it: Authpermit's Authorizer asks for the same number
params_hash
string
reason
string | null
status
"pending" | "approved" | "denied" | "expired" | "invalidated" | "used"
via
string | null
attempts
integer
capability
string
category
"read" | "reversible" | "external_commitment" | "financial_or_irreversible"
confirmed_at
string | null
connection_id
string | null
error
string | null
expires_at
string | null
finished_at
string | null
id *
string (uuid)
idempotency_key
string | null
inserted_at
string (date-time)
missing
[string]
ownership
object
fields
authority
string | null
domain
string | null
the Authority Registry's domain (docs/data-exchange.md)
holding
"none" | "reference" | "summary" | "cached" | "full" | nil
owner
"person" | "organization"
platform
string
result_removed
boolean
the platform's answer was removed when the connection ended
sync_class
"native" | "sent"
params
object | null
the exact parameters (one action)
params_hash *
string
approvals are bound to it
plan
array | null
platform
string
proposed_by
"person" | "agent" | "flow" | "api"
reason_text
string | null
requires_confirmation
boolean
result
object | null
risk
"read" | "low" | "medium" | "high" | "financial"
sister_transaction
object | null
fields
amount
string
currency
string
purpose
string
recipient
string
reference
string | null
source
object | null
fields
id
string
title
string | null
type
string
started_at
string | null
status *
"draft" | "planning" | "validating" | "awaiting_information" | "awaiting_authorization" | "awaiting_confirmation" | "ready" | "executing" | "verifying" | "retry_pending" | "completed" | "partially_completed" | "failed" | "compensating" | "compensated" | "rejected" | "cancelled" | "requires_attention"
status_reason
string | null
step_up
boolean
needs Authpermit's approval
step_up_reason
string | null
over_threshold, high_risk_payment, or sister_required (the platform's own limit)
steps
[ActionStep]
fields
ActionStep
action
string
attempts
integer
capability
string
compensation
string | null
compensation_status
"compensated" | "failed" | "not_available" | nil
error
string | null
finished_at
string | null
idempotency_key
string
platform
string
position
integer
provider_ref
string | null
started_at
string | null
status
"pending" | "executing" | "completed" | "failed" | "skipped" | "compensating" | "compensated"
title
string | null
summary
string | null
title *
string
updated_at
string (date-time)
counts
object
group → count
has_more
boolean
next_cursor
string | null
Pass as `cursor` for the next page; null on the last
401 Problem details (401)
403 Problem details (403)
429 Problem details (429)
Example
Propose an action
One action (`action` + `params`) or a plan (`steps`: at most 10, run in order as a saga — a step may name an earlier step's result, `{{ steps.1.id }}`). Validated against the capability's input schema; missing details make it wait (awaiting_information). Answers 200 with the existing action for an `idempotency_key` (body or `Idempotency-Key` header) already used with the same parameters, 409 with other parameters.
Scope: actions:write
· Idempotency-Key
· actions.create
Request body application/json
action
string
a catalogue key, e.g. recordsender.tasks.create or malaleem.transfers.execute
connection_id
string (uuid)
which of your connections to that platform
idempotency_key
string
params
object
source_id
string
source_type
"message" | "contact" | "notification" | "station_record"
steps
[object]
fields
action *
string
params
object
summary
string
title
string
Responses 201 · 401 · 402 · 403 · 409 · 422 · 429
201 Success
action *
Action
fields
Action
action *
string
the catalogue key, or plan
agent_id
string | null
approvals
[ActionApproval]
fields
ActionApproval
approval_url
string | null
channel
string | null
decided_at
string | null
expires_at
string | null
id
string (uuid)
kind
"confirmation" | "step_up"
number
string | null
show it: Authpermit's Authorizer asks for the same number
params_hash
string
reason
string | null
status
"pending" | "approved" | "denied" | "expired" | "invalidated" | "used"
via
string | null
attempts
integer
capability
string
category
"read" | "reversible" | "external_commitment" | "financial_or_irreversible"
confirmed_at
string | null
connection_id
string | null
error
string | null
expires_at
string | null
finished_at
string | null
id *
string (uuid)
idempotency_key
string | null
inserted_at
string (date-time)
missing
[string]
ownership
object
fields
authority
string | null
domain
string | null
the Authority Registry's domain (docs/data-exchange.md)
holding
"none" | "reference" | "summary" | "cached" | "full" | nil
owner
"person" | "organization"
platform
string
result_removed
boolean
the platform's answer was removed when the connection ended
sync_class
"native" | "sent"
params
object | null
the exact parameters (one action)
params_hash *
string
approvals are bound to it
plan
array | null
platform
string
proposed_by
"person" | "agent" | "flow" | "api"
reason_text
string | null
requires_confirmation
boolean
result
object | null
risk
"read" | "low" | "medium" | "high" | "financial"
sister_transaction
object | null
fields
amount
string
currency
string
purpose
string
recipient
string
reference
string | null
source
object | null
fields
id
string
title
string | null
type
string
started_at
string | null
status *
"draft" | "planning" | "validating" | "awaiting_information" | "awaiting_authorization" | "awaiting_confirmation" | "ready" | "executing" | "verifying" | "retry_pending" | "completed" | "partially_completed" | "failed" | "compensating" | "compensated" | "rejected" | "cancelled" | "requires_attention"
status_reason
string | null
step_up
boolean
needs Authpermit's approval
step_up_reason
string | null
over_threshold, high_risk_payment, or sister_required (the platform's own limit)
steps
[ActionStep]
fields
ActionStep
action
string
attempts
integer
capability
string
compensation
string | null
compensation_status
"compensated" | "failed" | "not_available" | nil
error
string | null
finished_at
string | null
idempotency_key
string
platform
string
position
integer
provider_ref
string | null
started_at
string | null
status
"pending" | "executing" | "completed" | "failed" | "skipped" | "compensating" | "compensated"
title
string | null
summary
string | null
title *
string
updated_at
string (date-time)
401 Problem details (401)
402 Problem details (402)
403 The key acts for no person
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
409 capability_proposed · capability_removed · idempotency_conflict
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
422 unknown_action · invalid_params · too_many_steps · one_approval_per_plan
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
429 Problem details (429)
Example
GET
/api/v1/actions/catalogue
The action catalogue
Record Sender's own actions and every capability of the partner platforms' manifests, with the person's availability: available, connect (they haven't connected that platform) or coming_soon (the platform only proposes it — it never runs).
Scope: actions:read
· actions.catalogue
Parameter In Type Description
platform query string a registry key, or recordsender source_type query "message" | "contact" | "notification" | "station_record"
Responses 200 · 401 · 403 · 429
200 Success
actions *
[ActionEntry]
fields
ActionEntry
availability
"available" | "connect" | "coming_soon"
capability
string
category
"read" | "reversible" | "external_commitment" | "financial_or_irreversible"
compensation
string | null
the capability that undoes it
description
string | null
idempotent
boolean
input_schema
object
JSON Schema
key *
string
offline_preparable
boolean
platform *
string
platform_name
string
requires_confirmation
boolean
risk
"read" | "low" | "medium" | "high" | "financial"
side_effecting
boolean
sources
[string]
title
string
401 Problem details (401)
403 Problem details (403)
429 Problem details (429)
Example
POST
/api/v1/actions/read
Run a partner's read as you
A partner platform's **read** (planning a trip on TeleTransit, pricing a ticket, searching products …) run as the person through the Action Center's own path: the catalogue entry, the person's own connection and the token Authpermit exchanges for it — for the native apps' partner pages. Only a provider-verified capability whose risk is `read` runs; anything that changes something answers 422 `not_read` and is proposed with `POST /api/v1/actions` instead. `result` is the platform's answer as it gave it; `items` its list (its `data`, `items`, `results` or the list itself; `[]` when there is none).
Scope: actions:read
· Idempotency-Key
· actions.read
Request body application/json
action *
string
a catalogue key, e.g. teletransit.trips.plan
params
object
the capability's input
Responses 200 · 401 · 402 · 403 · 409 · 422 · 429 · 502
200 Success
items *
[any]
result *
any
the platform's answer
401 Problem details (401)
402 Problem details (402)
403 no_person: the key acts for no person
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
409 not_connected, needs_account or capability_proposed
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
422 invalid (action is required), unknown_action or not_read
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
429 Problem details (429)
502 The platform couldn't answer (its code, or partner_error)
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
Example
GET
/api/v1/actions/suggestions
Actions that fit an item
For an email, contact, notification or a record found in mail (only one the person can reach): the actions that fit, with parameters filled in from it by free rules (no AI) — reply, draft, schedule, task, contact, booking link, pay an invoice with Malaleem, request money, ActionableSales and ActionableBooking.
Scope: actions:read
· actions.suggestions
Parameter In Type Description
source_type * query "message" | "contact" | "notification" | "station_record" source_id * query string
Responses 200 · 401 · 403 · 429
200 Success
suggestions *
[object]
fields
action
string
availability
"available" | "connect" | "coming_soon"
params
object
title
string
401 Problem details (401)
403 Problem details (403)
429 Problem details (429)
Example
One action with its history
Scope: actions:read
· actions.show
Parameter In Type Description
id * path string (uuid)
Responses 200 · 401 · 403 · 404 · 429
200 Success
action *
Action
fields
Action
action *
string
the catalogue key, or plan
agent_id
string | null
approvals
[ActionApproval]
fields
ActionApproval
approval_url
string | null
channel
string | null
decided_at
string | null
expires_at
string | null
id
string (uuid)
kind
"confirmation" | "step_up"
number
string | null
show it: Authpermit's Authorizer asks for the same number
params_hash
string
reason
string | null
status
"pending" | "approved" | "denied" | "expired" | "invalidated" | "used"
via
string | null
attempts
integer
capability
string
category
"read" | "reversible" | "external_commitment" | "financial_or_irreversible"
confirmed_at
string | null
connection_id
string | null
error
string | null
expires_at
string | null
finished_at
string | null
id *
string (uuid)
idempotency_key
string | null
inserted_at
string (date-time)
missing
[string]
ownership
object
fields
authority
string | null
domain
string | null
the Authority Registry's domain (docs/data-exchange.md)
holding
"none" | "reference" | "summary" | "cached" | "full" | nil
owner
"person" | "organization"
platform
string
result_removed
boolean
the platform's answer was removed when the connection ended
sync_class
"native" | "sent"
params
object | null
the exact parameters (one action)
params_hash *
string
approvals are bound to it
plan
array | null
platform
string
proposed_by
"person" | "agent" | "flow" | "api"
reason_text
string | null
requires_confirmation
boolean
result
object | null
risk
"read" | "low" | "medium" | "high" | "financial"
sister_transaction
object | null
fields
amount
string
currency
string
purpose
string
recipient
string
reference
string | null
source
object | null
fields
id
string
title
string | null
type
string
started_at
string | null
status *
"draft" | "planning" | "validating" | "awaiting_information" | "awaiting_authorization" | "awaiting_confirmation" | "ready" | "executing" | "verifying" | "retry_pending" | "completed" | "partially_completed" | "failed" | "compensating" | "compensated" | "rejected" | "cancelled" | "requires_attention"
status_reason
string | null
step_up
boolean
needs Authpermit's approval
step_up_reason
string | null
over_threshold, high_risk_payment, or sister_required (the platform's own limit)
steps
[ActionStep]
fields
ActionStep
action
string
attempts
integer
capability
string
compensation
string | null
compensation_status
"compensated" | "failed" | "not_available" | nil
error
string | null
finished_at
string | null
idempotency_key
string
platform
string
position
integer
provider_ref
string | null
started_at
string | null
status
"pending" | "executing" | "completed" | "failed" | "skipped" | "compensating" | "compensated"
title
string | null
summary
string | null
title *
string
updated_at
string (date-time)
history *
[ActionEvent]
fields
ActionEvent
actor_type
string | null
at
string (date-time)
from
string | null
kind
string
reason
string | null
step
integer | null
to
string | null
401 Problem details (401)
403 Problem details (403)
404 Problem details (404)
429 Problem details (429)
Example
PATCH
/api/v1/actions/{id}
Change a waiting action's parameters
Every approval given so far is invalidated; the action waits for confirmation again.
Scope: actions:write
· actions.update
Parameter In Type Description
id * path string (uuid)
Request body application/json
params
object
steps
[object]
fields
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429
200 Success
action *
Action
fields
Action
action *
string
the catalogue key, or plan
agent_id
string | null
approvals
[ActionApproval]
fields
ActionApproval
approval_url
string | null
channel
string | null
decided_at
string | null
expires_at
string | null
id
string (uuid)
kind
"confirmation" | "step_up"
number
string | null
show it: Authpermit's Authorizer asks for the same number
params_hash
string
reason
string | null
status
"pending" | "approved" | "denied" | "expired" | "invalidated" | "used"
via
string | null
attempts
integer
capability
string
category
"read" | "reversible" | "external_commitment" | "financial_or_irreversible"
confirmed_at
string | null
connection_id
string | null
error
string | null
expires_at
string | null
finished_at
string | null
id *
string (uuid)
idempotency_key
string | null
inserted_at
string (date-time)
missing
[string]
ownership
object
fields
authority
string | null
domain
string | null
the Authority Registry's domain (docs/data-exchange.md)
holding
"none" | "reference" | "summary" | "cached" | "full" | nil
owner
"person" | "organization"
platform
string
result_removed
boolean
the platform's answer was removed when the connection ended
sync_class
"native" | "sent"
params
object | null
the exact parameters (one action)
params_hash *
string
approvals are bound to it
plan
array | null
platform
string
proposed_by
"person" | "agent" | "flow" | "api"
reason_text
string | null
requires_confirmation
boolean
result
object | null
risk
"read" | "low" | "medium" | "high" | "financial"
sister_transaction
object | null
fields
amount
string
currency
string
purpose
string
recipient
string
reference
string | null
source
object | null
fields
id
string
title
string | null
type
string
started_at
string | null
status *
"draft" | "planning" | "validating" | "awaiting_information" | "awaiting_authorization" | "awaiting_confirmation" | "ready" | "executing" | "verifying" | "retry_pending" | "completed" | "partially_completed" | "failed" | "compensating" | "compensated" | "rejected" | "cancelled" | "requires_attention"
status_reason
string | null
step_up
boolean
needs Authpermit's approval
step_up_reason
string | null
over_threshold, high_risk_payment, or sister_required (the platform's own limit)
steps
[ActionStep]
fields
ActionStep
action
string
attempts
integer
capability
string
compensation
string | null
compensation_status
"compensated" | "failed" | "not_available" | nil
error
string | null
finished_at
string | null
idempotency_key
string
platform
string
position
integer
provider_ref
string | null
started_at
string | null
status
"pending" | "executing" | "completed" | "failed" | "skipped" | "compensating" | "compensated"
title
string | null
summary
string | null
title *
string
updated_at
string (date-time)
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
409 not_editable
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
422 invalid_params
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
429 Problem details (429)
Example
POST
/api/v1/actions/{id}/approve
Confirm an action as shown
`params_hash` is the hash of the parameters the person saw; if the action changed since, 409 parameters_changed. A payment above the threshold then waits for the person's approval in Authpermit (awaiting_authorization, with the number to show); otherwise it runs. A high-risk action, and any action that moves money (at any amount), is confirmed in the app only — the web or the person's own signed-in Record Sender app (a session token); an API key or an OAuth token gets 403 confirm_in_app.
Scope: actions:write
· Idempotency-Key
· actions.approve
Parameter In Type Description
id * path string (uuid)
Request body application/json
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429 · 502
200 Success
action *
Action
fields
Action
action *
string
the catalogue key, or plan
agent_id
string | null
approvals
[ActionApproval]
fields
ActionApproval
approval_url
string | null
channel
string | null
decided_at
string | null
expires_at
string | null
id
string (uuid)
kind
"confirmation" | "step_up"
number
string | null
show it: Authpermit's Authorizer asks for the same number
params_hash
string
reason
string | null
status
"pending" | "approved" | "denied" | "expired" | "invalidated" | "used"
via
string | null
attempts
integer
capability
string
category
"read" | "reversible" | "external_commitment" | "financial_or_irreversible"
confirmed_at
string | null
connection_id
string | null
error
string | null
expires_at
string | null
finished_at
string | null
id *
string (uuid)
idempotency_key
string | null
inserted_at
string (date-time)
missing
[string]
ownership
object
fields
authority
string | null
domain
string | null
the Authority Registry's domain (docs/data-exchange.md)
holding
"none" | "reference" | "summary" | "cached" | "full" | nil
owner
"person" | "organization"
platform
string
result_removed
boolean
the platform's answer was removed when the connection ended
sync_class
"native" | "sent"
params
object | null
the exact parameters (one action)
params_hash *
string
approvals are bound to it
plan
array | null
platform
string
proposed_by
"person" | "agent" | "flow" | "api"
reason_text
string | null
requires_confirmation
boolean
result
object | null
risk
"read" | "low" | "medium" | "high" | "financial"
sister_transaction
object | null
fields
amount
string
currency
string
purpose
string
recipient
string
reference
string | null
source
object | null
fields
id
string
title
string | null
type
string
started_at
string | null
status *
"draft" | "planning" | "validating" | "awaiting_information" | "awaiting_authorization" | "awaiting_confirmation" | "ready" | "executing" | "verifying" | "retry_pending" | "completed" | "partially_completed" | "failed" | "compensating" | "compensated" | "rejected" | "cancelled" | "requires_attention"
status_reason
string | null
step_up
boolean
needs Authpermit's approval
step_up_reason
string | null
over_threshold, high_risk_payment, or sister_required (the platform's own limit)
steps
[ActionStep]
fields
ActionStep
action
string
attempts
integer
capability
string
compensation
string | null
compensation_status
"compensated" | "failed" | "not_available" | nil
error
string | null
finished_at
string | null
idempotency_key
string
platform
string
position
integer
provider_ref
string | null
started_at
string | null
status
"pending" | "executing" | "completed" | "failed" | "skipped" | "compensating" | "compensated"
title
string | null
summary
string | null
title *
string
updated_at
string (date-time)
401 Problem details (401)
402 Problem details (402)
403 confirm_in_app
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
404 Problem details (404)
409 parameters_changed · missing_information · not_connected · not_waiting · identity_not_linked · authpermit_not_configured
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
422 Problem details (422)
429 Problem details (429)
502 Authpermit refused or didn't answer
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
Example
POST
/api/v1/actions/{id}/cancel
Cancel an action
Only one that hasn't started (or waits for a retry).
Scope: actions:write
· Idempotency-Key
· actions.cancel
Parameter In Type Description
id * path string (uuid)
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429
200 Success
action *
Action
fields
Action
action *
string
the catalogue key, or plan
agent_id
string | null
approvals
[ActionApproval]
fields
ActionApproval
approval_url
string | null
channel
string | null
decided_at
string | null
expires_at
string | null
id
string (uuid)
kind
"confirmation" | "step_up"
number
string | null
show it: Authpermit's Authorizer asks for the same number
params_hash
string
reason
string | null
status
"pending" | "approved" | "denied" | "expired" | "invalidated" | "used"
via
string | null
attempts
integer
capability
string
category
"read" | "reversible" | "external_commitment" | "financial_or_irreversible"
confirmed_at
string | null
connection_id
string | null
error
string | null
expires_at
string | null
finished_at
string | null
id *
string (uuid)
idempotency_key
string | null
inserted_at
string (date-time)
missing
[string]
ownership
object
fields
authority
string | null
domain
string | null
the Authority Registry's domain (docs/data-exchange.md)
holding
"none" | "reference" | "summary" | "cached" | "full" | nil
owner
"person" | "organization"
platform
string
result_removed
boolean
the platform's answer was removed when the connection ended
sync_class
"native" | "sent"
params
object | null
the exact parameters (one action)
params_hash *
string
approvals are bound to it
plan
array | null
platform
string
proposed_by
"person" | "agent" | "flow" | "api"
reason_text
string | null
requires_confirmation
boolean
result
object | null
risk
"read" | "low" | "medium" | "high" | "financial"
sister_transaction
object | null
fields
amount
string
currency
string
purpose
string
recipient
string
reference
string | null
source
object | null
fields
id
string
title
string | null
type
string
started_at
string | null
status *
"draft" | "planning" | "validating" | "awaiting_information" | "awaiting_authorization" | "awaiting_confirmation" | "ready" | "executing" | "verifying" | "retry_pending" | "completed" | "partially_completed" | "failed" | "compensating" | "compensated" | "rejected" | "cancelled" | "requires_attention"
status_reason
string | null
step_up
boolean
needs Authpermit's approval
step_up_reason
string | null
over_threshold, high_risk_payment, or sister_required (the platform's own limit)
steps
[ActionStep]
fields
ActionStep
action
string
attempts
integer
capability
string
compensation
string | null
compensation_status
"compensated" | "failed" | "not_available" | nil
error
string | null
finished_at
string | null
idempotency_key
string
platform
string
position
integer
provider_ref
string | null
started_at
string | null
status
"pending" | "executing" | "completed" | "failed" | "skipped" | "compensating" | "compensated"
title
string | null
summary
string | null
title *
string
updated_at
string (date-time)
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
409 not_cancellable
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
422 Problem details (422)
429 Problem details (429)
Example
POST
/api/v1/actions/{id}/deny
Deny an action
It ends rejected; pending approvals are withdrawn.
Scope: actions:write
· Idempotency-Key
· actions.deny
Parameter In Type Description
id * path string (uuid)
Request body application/json
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429
200 Success
action *
Action
fields
Action
action *
string
the catalogue key, or plan
agent_id
string | null
approvals
[ActionApproval]
fields
ActionApproval
approval_url
string | null
channel
string | null
decided_at
string | null
expires_at
string | null
id
string (uuid)
kind
"confirmation" | "step_up"
number
string | null
show it: Authpermit's Authorizer asks for the same number
params_hash
string
reason
string | null
status
"pending" | "approved" | "denied" | "expired" | "invalidated" | "used"
via
string | null
attempts
integer
capability
string
category
"read" | "reversible" | "external_commitment" | "financial_or_irreversible"
confirmed_at
string | null
connection_id
string | null
error
string | null
expires_at
string | null
finished_at
string | null
id *
string (uuid)
idempotency_key
string | null
inserted_at
string (date-time)
missing
[string]
ownership
object
fields
authority
string | null
domain
string | null
the Authority Registry's domain (docs/data-exchange.md)
holding
"none" | "reference" | "summary" | "cached" | "full" | nil
owner
"person" | "organization"
platform
string
result_removed
boolean
the platform's answer was removed when the connection ended
sync_class
"native" | "sent"
params
object | null
the exact parameters (one action)
params_hash *
string
approvals are bound to it
plan
array | null
platform
string
proposed_by
"person" | "agent" | "flow" | "api"
reason_text
string | null
requires_confirmation
boolean
result
object | null
risk
"read" | "low" | "medium" | "high" | "financial"
sister_transaction
object | null
fields
amount
string
currency
string
purpose
string
recipient
string
reference
string | null
source
object | null
fields
id
string
title
string | null
type
string
started_at
string | null
status *
"draft" | "planning" | "validating" | "awaiting_information" | "awaiting_authorization" | "awaiting_confirmation" | "ready" | "executing" | "verifying" | "retry_pending" | "completed" | "partially_completed" | "failed" | "compensating" | "compensated" | "rejected" | "cancelled" | "requires_attention"
status_reason
string | null
step_up
boolean
needs Authpermit's approval
step_up_reason
string | null
over_threshold, high_risk_payment, or sister_required (the platform's own limit)
steps
[ActionStep]
fields
ActionStep
action
string
attempts
integer
capability
string
compensation
string | null
compensation_status
"compensated" | "failed" | "not_available" | nil
error
string | null
finished_at
string | null
idempotency_key
string
platform
string
position
integer
provider_ref
string | null
started_at
string | null
status
"pending" | "executing" | "completed" | "failed" | "skipped" | "compensating" | "compensated"
title
string | null
summary
string | null
title *
string
updated_at
string (date-time)
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
409 not_waiting
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
422 Problem details (422)
429 Problem details (429)
Example
POST
/api/v1/actions/{id}/execute
Run a ready action now
Idempotent: an action already running or done isn't run again.
Scope: actions:write
· Idempotency-Key
· actions.execute
Parameter In Type Description
id * path string (uuid)
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429
200 Success
action *
Action
fields
Action
action *
string
the catalogue key, or plan
agent_id
string | null
approvals
[ActionApproval]
fields
ActionApproval
approval_url
string | null
channel
string | null
decided_at
string | null
expires_at
string | null
id
string (uuid)
kind
"confirmation" | "step_up"
number
string | null
show it: Authpermit's Authorizer asks for the same number
params_hash
string
reason
string | null
status
"pending" | "approved" | "denied" | "expired" | "invalidated" | "used"
via
string | null
attempts
integer
capability
string
category
"read" | "reversible" | "external_commitment" | "financial_or_irreversible"
confirmed_at
string | null
connection_id
string | null
error
string | null
expires_at
string | null
finished_at
string | null
id *
string (uuid)
idempotency_key
string | null
inserted_at
string (date-time)
missing
[string]
ownership
object
fields
authority
string | null
domain
string | null
the Authority Registry's domain (docs/data-exchange.md)
holding
"none" | "reference" | "summary" | "cached" | "full" | nil
owner
"person" | "organization"
platform
string
result_removed
boolean
the platform's answer was removed when the connection ended
sync_class
"native" | "sent"
params
object | null
the exact parameters (one action)
params_hash *
string
approvals are bound to it
plan
array | null
platform
string
proposed_by
"person" | "agent" | "flow" | "api"
reason_text
string | null
requires_confirmation
boolean
result
object | null
risk
"read" | "low" | "medium" | "high" | "financial"
sister_transaction
object | null
fields
amount
string
currency
string
purpose
string
recipient
string
reference
string | null
source
object | null
fields
id
string
title
string | null
type
string
started_at
string | null
status *
"draft" | "planning" | "validating" | "awaiting_information" | "awaiting_authorization" | "awaiting_confirmation" | "ready" | "executing" | "verifying" | "retry_pending" | "completed" | "partially_completed" | "failed" | "compensating" | "compensated" | "rejected" | "cancelled" | "requires_attention"
status_reason
string | null
step_up
boolean
needs Authpermit's approval
step_up_reason
string | null
over_threshold, high_risk_payment, or sister_required (the platform's own limit)
steps
[ActionStep]
fields
ActionStep
action
string
attempts
integer
capability
string
compensation
string | null
compensation_status
"compensated" | "failed" | "not_available" | nil
error
string | null
finished_at
string | null
idempotency_key
string
platform
string
position
integer
provider_ref
string | null
started_at
string | null
status
"pending" | "executing" | "completed" | "failed" | "skipped" | "compensating" | "compensated"
title
string | null
summary
string | null
title *
string
updated_at
string (date-time)
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
409 confirmation_required · authorization_required · missing_information · not_runnable
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
422 Problem details (422)
429 Problem details (429)
Example
POST
/api/v1/actions/{id}/refresh
Ask Authpermit about the step-up
Approved → it runs; denied → rejected; expired → confirm again.
Scope: actions:write
· Idempotency-Key
· actions.refresh
Parameter In Type Description
id * path string (uuid)
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429
200 Success
action *
Action
fields
Action
action *
string
the catalogue key, or plan
agent_id
string | null
approvals
[ActionApproval]
fields
ActionApproval
approval_url
string | null
channel
string | null
decided_at
string | null
expires_at
string | null
id
string (uuid)
kind
"confirmation" | "step_up"
number
string | null
show it: Authpermit's Authorizer asks for the same number
params_hash
string
reason
string | null
status
"pending" | "approved" | "denied" | "expired" | "invalidated" | "used"
via
string | null
attempts
integer
capability
string
category
"read" | "reversible" | "external_commitment" | "financial_or_irreversible"
confirmed_at
string | null
connection_id
string | null
error
string | null
expires_at
string | null
finished_at
string | null
id *
string (uuid)
idempotency_key
string | null
inserted_at
string (date-time)
missing
[string]
ownership
object
fields
authority
string | null
domain
string | null
the Authority Registry's domain (docs/data-exchange.md)
holding
"none" | "reference" | "summary" | "cached" | "full" | nil
owner
"person" | "organization"
platform
string
result_removed
boolean
the platform's answer was removed when the connection ended
sync_class
"native" | "sent"
params
object | null
the exact parameters (one action)
params_hash *
string
approvals are bound to it
plan
array | null
platform
string
proposed_by
"person" | "agent" | "flow" | "api"
reason_text
string | null
requires_confirmation
boolean
result
object | null
risk
"read" | "low" | "medium" | "high" | "financial"
sister_transaction
object | null
fields
amount
string
currency
string
purpose
string
recipient
string
reference
string | null
source
object | null
fields
id
string
title
string | null
type
string
started_at
string | null
status *
"draft" | "planning" | "validating" | "awaiting_information" | "awaiting_authorization" | "awaiting_confirmation" | "ready" | "executing" | "verifying" | "retry_pending" | "completed" | "partially_completed" | "failed" | "compensating" | "compensated" | "rejected" | "cancelled" | "requires_attention"
status_reason
string | null
step_up
boolean
needs Authpermit's approval
step_up_reason
string | null
over_threshold, high_risk_payment, or sister_required (the platform's own limit)
steps
[ActionStep]
fields
ActionStep
action
string
attempts
integer
capability
string
compensation
string | null
compensation_status
"compensated" | "failed" | "not_available" | nil
error
string | null
finished_at
string | null
idempotency_key
string
platform
string
position
integer
provider_ref
string | null
started_at
string | null
status
"pending" | "executing" | "completed" | "failed" | "skipped" | "compensating" | "compensated"
title
string | null
summary
string | null
title *
string
updated_at
string (date-time)
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
409 Problem details (409)
422 Problem details (422)
429 Problem details (429)
Example
POST
/api/v1/actions/{id}/retry
Retry a failed action
Completed steps never run again; an action that needed confirmation is confirmed again first.
Scope: actions:write
· Idempotency-Key
· actions.retry
Parameter In Type Description
id * path string (uuid)
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429
200 Success
action *
Action
fields
Action
action *
string
the catalogue key, or plan
agent_id
string | null
approvals
[ActionApproval]
fields
ActionApproval
approval_url
string | null
channel
string | null
decided_at
string | null
expires_at
string | null
id
string (uuid)
kind
"confirmation" | "step_up"
number
string | null
show it: Authpermit's Authorizer asks for the same number
params_hash
string
reason
string | null
status
"pending" | "approved" | "denied" | "expired" | "invalidated" | "used"
via
string | null
attempts
integer
capability
string
category
"read" | "reversible" | "external_commitment" | "financial_or_irreversible"
confirmed_at
string | null
connection_id
string | null
error
string | null
expires_at
string | null
finished_at
string | null
id *
string (uuid)
idempotency_key
string | null
inserted_at
string (date-time)
missing
[string]
ownership
object
fields
authority
string | null
domain
string | null
the Authority Registry's domain (docs/data-exchange.md)
holding
"none" | "reference" | "summary" | "cached" | "full" | nil
owner
"person" | "organization"
platform
string
result_removed
boolean
the platform's answer was removed when the connection ended
sync_class
"native" | "sent"
params
object | null
the exact parameters (one action)
params_hash *
string
approvals are bound to it
plan
array | null
platform
string
proposed_by
"person" | "agent" | "flow" | "api"
reason_text
string | null
requires_confirmation
boolean
result
object | null
risk
"read" | "low" | "medium" | "high" | "financial"
sister_transaction
object | null
fields
amount
string
currency
string
purpose
string
recipient
string
reference
string | null
source
object | null
fields
id
string
title
string | null
type
string
started_at
string | null
status *
"draft" | "planning" | "validating" | "awaiting_information" | "awaiting_authorization" | "awaiting_confirmation" | "ready" | "executing" | "verifying" | "retry_pending" | "completed" | "partially_completed" | "failed" | "compensating" | "compensated" | "rejected" | "cancelled" | "requires_attention"
status_reason
string | null
step_up
boolean
needs Authpermit's approval
step_up_reason
string | null
over_threshold, high_risk_payment, or sister_required (the platform's own limit)
steps
[ActionStep]
fields
ActionStep
action
string
attempts
integer
capability
string
compensation
string | null
compensation_status
"compensated" | "failed" | "not_available" | nil
error
string | null
finished_at
string | null
idempotency_key
string
platform
string
position
integer
provider_ref
string | null
started_at
string | null
status
"pending" | "executing" | "completed" | "failed" | "skipped" | "compensating" | "compensated"
title
string | null
summary
string | null
title *
string
updated_at
string (date-time)
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
409 not_retryable
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
422 Problem details (422)
429 Problem details (429)
Example