BIRD Link pairing

For AI agents and tools. BIRD Link connects a tool to a user's account in BIRD, so the tool can do what that user can do in BIRD's menus. This includes managing models, creating and editing worlds, viewing analytics and more. To get a BIRD Link code for the user you are helping:

  1. Open https://bird.games/link/start (a plain GET: no key, no body, no headers). It answers with a code such as BIRD-7Q4-KM2 and a token URL.
  2. Show the user the code and tell them: open BIRD on Roblox → your profile → 🔗 → enter this code.
  3. Open the token URL it gave you (https://bird.games/link/token?device_code=…). If it says “not approved yet”, open it again every 5 seconds, or once the user says they entered the code. When the user has approved, it shows an access token and a refresh token.
  4. Use the token: send the header Authorization: Bearer <access_token>, for example GET https://bird.games/api/v1/me, which returns the user's id and username.

Open /link/start once per pairing: every visit makes a new code. A code expires after 10 minutes. Add ?format=json to either URL to get JSON instead of text. If your fetch tool caches pages, add &n=2, &n=3… to the token URL each time.

Users: only enter a code that a tool you trust showed you. You can see and unlink your linked tools on the same 🔗 page in BIRD.

The same flow with POST

For HTTP clients (this is the OAuth 2.0 Device Authorization Grant shape, RFC 8628). Bodies are JSON; no API key is needed.

curl -X POST https://bird.games/api/v1/pair/start
# → {"device_code":"bird_dc_…","user_code":"BIRD-7Q4-KM2","expires_in":600,"interval":5,…}

curl -X POST https://bird.games/api/v1/pair/token \
  -H 'Content-Type: application/json' -d '{"device_code":"bird_dc_…"}'
# → 400 authorization_pending until the user approves, then
#   {"access_token":"bird_at_…","refresh_token":"bird_rt_…","token_type":"Bearer","expires_in":3600,…}

curl https://bird.games/api/v1/me -H 'Authorization: Bearer bird_at_…'

curl -X POST https://bird.games/api/v1/token/refresh \
  -H 'Content-Type: application/json' -d '{"refresh_token":"bird_rt_…"}'

Poll pair/token no faster than interval seconds (polling faster returns slow_down and a longer interval). Other answers: expired_token (start again), access_denied (the user declined), invalid_grant (unknown or already used). Every response, including every error, has a next field that says what to do now.

Tokens

What a linked tool can do

A linked tool may do what its user can already do in BIRD's in-game menus, and nothing more. It is not a data export.

Read (all GET, with the bearer token; under https://bird.games/api/v1):

Change (only the user's own content):

Can't: write any other text players can see (names, memos); edit scenes; see anyone else's private content, payouts, moderation details or purchases.

Limits: 120 reads and 30 changes a minute per link. A user can have 10 linked tools.

About BIRD

BIRD is a game on Roblox where you play as a bird. Most of what is in it is made by its community: players build models and worlds, and creators are paid Robux every week from the game's revenue. Play BIRD on Roblox · bird.games · Create for BIRD · llms.txt