How it works
Register a Marketplace app
Create an app in the HoopAI Marketplace to receive your
client_id and client_secret.Exchange code for tokens
After the user authorizes, exchange the code for an access token and refresh token.
Required headers
Every API request must include these two headers:Version header pins the API to a stable version. Always send 2021-07-28.
Token lifetime
| Token | Lifetime |
|---|---|
| Access token | 24 hours |
| Refresh token | Does not expire (revoked on re-auth) |
Response fields
Every API response includes atraceId field — a unique identifier for the request. Include it when filing support tickets or debugging issues.
Rate limits
| Scope | Limit |
|---|---|
| Per sub-account | 100 requests / 10 seconds |
| Token endpoint | 5 requests / minute |
429 Too Many Requests. Use exponential backoff.
.png?fit=max&auto=format&n=EQK5eX9kTD8NzWwA&q=85&s=878008bf159fcc4964d0c0d508b6e400)