Invite your team, and API keys
Both are on the Team page, in the portal’s rail.
Everyone in an organization has one role:
| Role | What it lets them do |
|---|---|
| Owner | Everything, including members, billing and closing the organization |
| Developer | Build, publish and promote games |
| Designer | Edit rules and playtest |
| Viewer | Read games, versions and matches |
An organization always has at least one owner: the last owner can’t leave or be removed. Owners change other members’ roles and remove them from the Members table, and anyone can Leave organization from their own row. A removed member, or one whose role changes, loses what they had at once.
Invite someone
Section titled “Invite someone”Owners invite people by email. Under Invite someone, enter their address, choose a role and Send invitation. They get an email with a link, and join when they sign in with that address and accept; see joining with an invitation.
An invitation works for 7 days. Owners see the pending ones under Invitations, where they can Send again, which gives it another 7 days, or Withdraw it.
API keys
Section titled “API keys”A secret API key lets your own servers and CI call the Builder API without anyone signing in: to save drafts, publish and promote from a release pipeline, for example. Owners make them under API keys on the Team page.
Make a key
Section titled “Make a key”Give the key a name that says what it’s for, such as “Release pipeline”, and choose:
- Scope. Read reads games, versions, matches and usage. Build does that too, and saves drafts, publishes, promotes and starts imports.
- Expires. After 1 year (the default), 90 days or 30 days, or never.
Choose Make key. The secret, which starts sk_live_, is shown once: copy it and store it somewhere safe, such as
your CI’s secret store. Arbitas keeps only a hash of it, so a lost secret can’t be shown again; revoke the key and make
another.
No key can manage members, invitations, billing or other keys, or delete games: those always need a person signed in.
Use a key
Section titled “Use a key”Exchange the secret for a token at POST /v1/auth/key-token, then send the token as a bearer token. A token lasts 15
minutes, so exchange the key again when it runs out.
curl -X POST https://build.arbitas.dev/v1/auth/key-token \ -H "Content-Type: application/json" \ -d "{\"key\": \"$ARBITAS_API_KEY\"}"The answer holds the token:
{ "access_token": "eyJ…", "token_type": "Bearer", "expires_in": 900 }curl https://build.arbitas.dev/v1/games/gam_…/versions \ -H "Authorization: Bearer $ARBITAS_TOKEN"A malformed, unknown, revoked or expired key is refused with 401. Calls the key’s scope doesn’t allow are refused with
403.
Revoke a key
Section titled “Revoke a key”The keys table shows each key’s name, scope, the last characters of its secret, when it was last used, and whether it’s active, expired or revoked. Revoke a key you no longer need, or one that may have leaked, by typing its name to confirm. Revoked and expired keys stay listed for 30 days.