The HTTP API
The SDKs are the easy way in, but anything that speaks HTTP can use BeeAppie: a game engine, a backend, a script. Every example above has its HTTP request next to it.
- The address is
https://api.beeappie.com; requests and answers are JSON. - Every endpoint, with its parameters and answers, is in the API reference (or as an OpenAPI document, public.json, for code generators and API tools).
-
Every request sends
X-App-Key: your app key.POST /v1/users/initreturns the user's token; send it on the other requests asAuthorization: Bearer <token>. -
Keep the
deviceIdanddeviceSecretthatinitreturns, and send them on the next launch: otherwise every launch is a new user. -
Errors come as problem details with a
codeto act on, such asplan_limit_reached. Too many requests in a short time are answered with429and aRetry-Afterheader; wait that long and try again. Each server key, and each account as a whole, has a limit per minute. A429with the coderequest_limit_reachedmeans the account used its plan's requests for the month (fair use). A503with the codeserver_busymeans BeeAppie is handling as many requests as it can right now: wait for itsRetry-After, plus a random few seconds so your devices do not all come back at once. The SDKs do this for you, and keep events queued meanwhile.
Ready when you are
BeeAppie opens to new apps soon. Leave your email and we will tell you when you can sign up.
Join the waitlist SDKs and downloads