Skip to main content
Approves a pending approval. The API replays the frozen action through the same service that would have run it live, then records the result and sets status to executed (or failed with an error). Only pending approvals can be approved. Cross-user variant: POST /v1/approvals/:id/approve.
curl -X POST https://api.usenaive.ai/v1/users/USER_ID/approvals/APPROVAL_ID/approve \
  -H "Authorization: Bearer $NAIVE_API_KEY"
{
  "id": "uuid",
  "status": "executed",
  "action_type": "domains.purchase",
  "result": { "checkout_url": "https://...", "domain": "acme.com" },
  "resolved_by": { "actor_type": "user", "actor_id": "usr_..." }
}