Amazi API
Overview
Connect your server or automation to Amazi with API v1.
Public catalogs
Read GET /v1/project-templates, GET /v1/project-integrations, and GET /v1/project-prompts without authentication. Plans and skills remain at /v1/plans and /v1/agent-skills. GET /v1/desktop-app returns minimum supported versions and current installer links for Windows, macOS and Linux. Catalog discovery is separate from permission to launch templates, connect integrations, or use skills. See Public data for response fields.
Base URL
The Amazi API base URL is https://api.amazi.pro/v1. Send requests over HTTPS. The reference pages show full paths such as /v1/plans; append those paths to https://api.amazi.pro without an extra /api prefix or a second /v1.
Interactive reference
Open the API v1 reference to inspect endpoints, parameters and response schemas, or download the OpenAPI JSON. Both are readable without signing in and contain only the external /v1 API.
To try project chat requests, choose Authorize → userApiTokenBearer and enter your personal API token. Public data reads need no token. Try it out sends real requests: creating chats or sending messages changes your project and may use credits. Swagger keeps the token only until you reload the page.
Choose a resource
| Guide | What you can do | Authentication |
|---|---|---|
| Authentication | Get, list and revoke API tokens | Email/password to get a token; that token for later requests |
| Project chats | List, create, rename, archive and restore chats; read and send messages | Personal API token |
| Public data | Read plans, legal documents, banners, skills and the questionnaire | None |
Project chat requests use your current account permissions and normal credit rules. Sending a message returns after acceptance; follow its queue and history to see the result.
First request
Read the plan catalog without a token:
curl --fail --silent --show-error https://api.amazi.pro/v1/plans -H 'Accept-Language: en'
To send a message, get a token with your email and password, then follow the project chat example. Authentication and token management are part of /v1/auth.
Published application endpoints
To let an external service call your published application API, webhook or WebSocket, or another public HTTP/WebSocket destination, ask Amazi in project chat to create an inbound proxy route. Use the complete returned URL, which has its own host and /v1/inbound-proxy/<id> path, and the authentication required by your application. An Amazi personal API token does not grant access to application endpoints. See Integrations and environment.
A configured inbound proxy status webhook receives JSON with type: "inbound_proxy.status", id, requestId, projectId, proxyId, occurredAt, protocol, method, httpStatus, status (ok or error) and nullable error (code, message, optional capability). Request headers, paths, query strings and bodies are not included. For WebSockets, only the handshake outcome is reported.
Verify X-Amazi-Webhook-Signature against sha256= plus the hexadecimal HMAC-SHA256 of timestamp + "." + rawBody, using the dedicated signing secret and X-Amazi-Webhook-Timestamp (Unix seconds). Compare in constant time, reject stale timestamps (for example outside five minutes), and deduplicate by id, which also appears in X-Amazi-Event-Id. Verify the original body bytes before JSON parsing. Each retry keeps the same event ID with a fresh signature timestamp. Return 2xx after accepting it; redirects and other responses count as failed delivery. There are up to eight attempts, with retry delays of 5 seconds, 30 seconds, 2 minutes, 10 minutes, 1 hour, 6 hours and 24 hours. A newer status may replace a pending event; ignore events older than your stored occurredAt. Gateway outages can prevent observations, so this is not an exhaustive request log. Ask Amazi to configure, inspect or disable this webhook in project chat.
Availability and retries
During an Amazi API update, requests can return HTTP 503 with code SYSTEM_MAINTENANCE and a Retry-After header in seconds. Wait before retrying; keep the same retry key when resubmitting a message. Published project addresses remain available, but project features that call Amazi's API may also need to wait.
The previous /public/... catalog URLs have moved to /v1/... and return HTTP 404. Use the paths in Public data.
For services connected inside a project, see Integrations and environment, GitHub synchronization and Amazi AI Gateway.