API REFERENCE

One gateway. Every product. Infinite possibilities.

Complete REST & GraphQL API documentation for all 36 Amoza products — powered by aHub, the unified API gateway.

100+
Endpoints
50+
Webhook Events
5
SDKs
OpenAPI 3.0
Specification
QUICK START

Get started in 3 steps

STEP 01

Get Your API Key

Sign up at developers.amoza.ai and generate your API key instantly. Free tier: 1,000 API calls/day — no credit card required.

STEP 02

Authenticate

Use Bearer Token authentication with your API key in the Authorization header for all requests.

STEP 03

Make Your First Request

Call any endpoint with your key. Start with GET /v1/aplanner/forecasts to retrieve a demand forecast.

Authentication

API Key

Standard

Server-to-server, testing, scripts

OAuth 2.0

High

User-context apps, third-party integrations

JWT Tokens

High

Session-based access, web applications

HMAC Signature

Verification

Webhook verification

OAuth 2.0 Flow

1
Register your app and get client_id + client_secret
2
Redirect user to https://auth.amoza.ai/authorize
3
Exchange authorization code via POST /oauth/token
4
Use access_token in Authorization: Bearer header
5
Refresh via POST /oauth/token (grant_type=refresh_token)

Security Best Practices

Never expose keys

Use environment variables, never commit to source control

Use HTTPS only

All API calls must use HTTPS

Rotate keys

Rotate API keys every 90 days

Scope permissions

Use least-privilege principle for OAuth scopes

Monitor usage

Review API usage logs for anomalies

REST API endpoints

All APIs follow RESTful conventions with JSON request/response bodies. Base URL: https://api.amoza.ai/v1

MAKE

/v1/make/
30+

aPlanner, aMonitor, aOps, aQuality, aYield, aMake

MOVE

/v1/move/
25+

aFulfill, aShip, aRoute, aStock, aReturn, aTrack

SELL

/v1/sell/
28+

aShop, aPrice, aSearch, aMarket, aConvert, aSocial

DELIGHT

/v1/delight/
22+

aCare, aLoyalty, aInsight, aPersona, aConnect, aVoice

AI

/v1/ai/
15+

aCore, aFlow, aExecutor, aData

Platform

/v1/platform/
10+

Auth, Users, Organizations, Billing

Common Parameters

ParameterTypeDescription
pageintegerPage number (default: 1)
per_pageintegerItems per page (default: 25, max: 100)
sortstringSort field (e.g., created_at, -updated_at)
filterobjectFilter parameters (product-specific)
fieldsstringComma-separated fields to include
expandstringRelated resources to embed

GraphQL API

Flexible queries for when you need exactly the data you want — nothing more, nothing less. Endpoint: https://api.amoza.ai/graphql

Schema Introspection

Self-documenting — explore the full schema in the playground

Subscriptions

Real-time updates via WebSocket — watch for changes as they happen

Batching

Combine multiple queries in a single request

Fragments

Reuse query components across different queries

Caching

Response caching with ETags and Cache-Control headers

Webhooks

Subscribe to real-time events — get notified when things happen across the Amoza platform.

MAKE Events

forecast.generated, schedule.updated, schedule.published, quality.defect_detected, yield.threshold_alert

Example: New forecast ready for review

MOVE Events

order.placed, fulfillment.started, shipment.created, shipment.delivered, return.initiated

Example: Order shipped to customer

SELL Events

product.created, price.updated, cart.abandoned, checkout.completed, review.submitted

Example: New order completed

DELIGHT Events

ticket.created, feedback.received, nps.response, journey.milestone, loyalty.tier_changed

Example: Customer feedback submitted

Platform Events

user.created, data.sync.completed, alert.triggered, integration.error

Example: Data sync completed

Webhook Security

HMAC Signature

Every webhook is signed — verify with your webhook secret

Retry Logic

Automatic retry with exponential backoff (5 attempts)

Dead Letter Queue

Failed webhooks stored for 7 days — replay anytime

IP Allowlist

Optional IP allowlisting for added security

Event Filtering

Subscribe to specific events — don't get overwhelmed

Rate limits

TierLimitBurstCost
Free1,000 calls/day10 calls/sec$0
Pro100,000 calls/day50 calls/secUsage-based
EnterpriseUnlimitedCustomCustom pricing

Rate Limit Headers

X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 987
X-RateLimit-Reset: 1708300800

Versioning policy

Current Version

v1

Version in URL

https://api.amoza.ai/v1/...

Breaking Changes

Major version bump (v1 to v2) — minimum 12 months notice

Non-Breaking Changes

Added fields, new endpoints — no version change

Deprecation

Deprecated endpoints marked in docs; 6-month sunset period

Changelog

Published at /developers/changelog

Error handling

CodeStatusDescriptionAction
200
OKRequest successful--
201
CreatedResource created--
400
Bad RequestInvalid parametersCheck request body
401
UnauthorizedInvalid or missing API keyVerify authentication
403
ForbiddenInsufficient permissionsCheck scopes
404
Not FoundResource doesn't existVerify resource ID
429
Too Many RequestsRate limit exceededBackoff and retry
500
Server ErrorInternal errorContact support

Try it live

Test any API endpoint in our interactive sandbox. Pre-loaded with sample data — no setup required.

Pre-loaded Data

Sample products, orders, customers, forecasts — ready to query

No Production Impact

Sandbox is completely isolated from production

Code Generation

Try an endpoint and get code in Python, JavaScript, Java, Go, C#

Save & Share

Save your API experiments and share with team members

Auto-Reset

Sandbox data resets every 24 hours to clean state

Ready to integrate?

Get your free API key and start building with Amoza APIs.