---
title: "Submit an authorization request"
method: POST
path: "/v1/authorize"
tags: ["authorization"]
---

# Submit an authorization request

`POST /v1/authorize`

## Request

- Base URL: `https://api.spendnod.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.spendnod.com/v1/authorize`
- Auth: none declared

Agent submits a transaction for authorization. Returns 200 with status=auto_approved or status=denied for immediate decisions. Returns 202 Accepted with status=pending if human review is required.

## Request body

- AuthorizeRequest
  - `action` string, required
  - `amount` union
    - number
    - string
  - `currency` string
  - `vendor` string, nullable
  - `category` string, nullable
  - `description` string, nullable

## Response `200`

Successful Response

- AuthorizeResponse
  - `id` string, uuid, required
  - `agent_id` string, uuid, nullable
  - `agent_name` string, nullable
  - `action` string, nullable
  - `amount` string, nullable
  - `currency` string, nullable
  - `vendor` string, nullable
  - `category` string, nullable
  - `description` string, nullable
  - `status` 'auto_approved' | 'pending' | 'approved' | 'denied' | 'expired' | 'cancelled', required
  - `approval_token` string, nullable
  - `resolved_by` string, nullable
  - `rule_evaluation` object, nullable
  - `expires_at` string, date-time, nullable
  - `created_at` string, date-time, required
  - `plan_warning` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/spendnod/apis/spendnod-api.md) · [All operations](https://skmtc.dev/spendnod/apis/spendnod-api/llms.txt) · [OpenAPI document](https://skmtc.dev/spendnod/apis/spendnod-api/revisions/170dc867d036?raw)
