Verslabs API

api.verslabs.net

One key for every Verslabs service.

Game servers, uploads, mail, documents and media, behind a single API with scoped keys you can revoke any time.

curl https://api.verslabs.net/v1/me \
  -H "Authorization: Bearer vl_member_…"

Check a key

Paste a key to see who it belongs to and what it can do. It's sent to this API only and never stored in your browser.

How keys work

Every key looks like vl_<tier>_<id>_<secret>. Only a hash is stored, so a key is shown once when it's created. Lose it and you make a new one.

Member

Anyone with Discord

Sign in with Discord or run /key create with the Verslabs bot. Up to 3 keys each.

Access: your profile (/v1/me) for now.

Staff

Issued by the owner

Created and revoked only by the owner, then handed to Verslabs staff.

Access: servers, uploads, mail, documents, media, staff.

Bot

The Verslabs Discord bot

Acts for whoever runs a command, never with more access than that person has.

Access: the caller's own permissions.

Endpoints

Full request and response schemas are in the interactive reference.

MethodPathWhoWhat it does
GET/v1/healthAnyoneService status
GET/v1/meAny keyWho this key belongs to and its scopes
GET/v1/keysAny keyList your member keys
POST/v1/keysAny keyCreate a member key
DELETE/v1/keys/{id}Any keyRevoke one of your keys
GET/v1/admin/keysOwnerList every key
POST/v1/admin/keysOwnerIssue a staff or bot key
DELETE/v1/admin/keys/{id}OwnerRevoke any key
PATCH/v1/admin/users/{discord_id}OwnerChange a role or ban a user

Coming next for staff: /v1/servers, /v1/uploads, /v1/mail, /v1/docs, /v1/media, /v1/staff.

Rate limits

Per minute, per account. Responses carry x-ratelimit-remaining; going over returns 429.

Member
30
Staff
300
No key
120 per IP