Skip to main content
POST
/
api
/
orders
/
{id}
/
approve
Approve an order
curl --request POST \
  --url https://api.useblueprints.ai/api/orders/{id}/approve \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Approve a pending order intent owned by the authenticated account. API keys need orders:write. Use this only after the operator has reviewed the order details and risk rules.
curl https://api.useblueprints.ai/api/orders/00000000-0000-0000-0000-000000000000/approve \
  -X POST \
  -H "Authorization: Bearer bp_YOUR_API_KEY"

Authorizations

Authorization
string
header
default:bp_YOUR_API_KEY
required

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

Path Parameters

id
string<uuid>
required

Resource UUID.

Response

Order was approved.

ok
boolean
id
string<uuid>