Action Requests
An action request asks a company Admin to approve an action in the Truss dashboard. Your app asks. The Admin decides.
Today there is one action: create_wallet. It asks the company to add a new wallet (bank account) in Truss. The wallet is created only after a company Admin approves the request.
How it works
- Create the request with
POST /v1/action-requests/. This needs theaction_requests:writescope. - The response has a
dashboard_review_url. Send a company Admin to this URL. - The Admin signs in to Truss, reviews the request, and approves or rejects it.
- Truss sends the
action_request.updatedwebhook with the result. - To read the request at any time, call
GET /v1/action-requests/{uid}/. This needs theaction_requests:readscope.
Only a company Admin can approve or reject an action request.
What dashboard_review_url is for
It is the page in the Truss dashboard where a company Admin reviews this one request. Your app cannot approve the request through the API. Open the link in the user's browser, or show it as a button in your product.
Request and response fields are in the API Reference.

