Documentation

The HTTP API

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/init returns the user's token; send it on the other requests as Authorization: Bearer <token>.
  • Keep the deviceId and deviceSecret that init returns, and send them on the next launch: otherwise every launch is a new user.
  • Errors come as problem details with a code to act on, such as plan_limit_reached. Too many requests in a short time are answered with 429 and a Retry-After header; wait that long and try again. Each server key, and each account as a whole, has a limit per minute. A 429 with the code request_limit_reached means the account used its plan's requests for the month (fair use). A 503 with the code server_busy means BeeAppie is handling as many requests as it can right now: wait for its Retry-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