Get started
Authentication
Each request carries your key in the Authorization header as a Bearer token. Keys are secret: keep them on your server, never in a web page or an app bundle.
| Where | How |
|---|---|
Header | Authorization: Bearer gw_live_… (recommended) |
Query | ?key=gw_live_… for WebSocket clients that cannot set headers |
A missing or wrong key answers 401. A valid key over its plan answers 402 (credits) or 429 (rate). One key per account, made on your dashboard. Replace it there at any time: the old key stops working at once.
curl https://gangwayais.com/v1/status \ -H "Authorization: Bearer $GANGWAY_KEY"
live from /v1
// press Run for a live answer
