Get your API key
Sign in, create the key, copy it, and run your first request. Total time: about five minutes.
Sign in
Open envyauth.my.id/login.
New user: click the Sign up tab, paste your invite code, then click Connect Discord.

Returning user: click the Sign in tab, then paste your API key or click Continue with Discord.

Open the API Tokens page
Click your profile, then go to Settings → API Tokens.

Create a token
Click Generate Token and fill in the form:
- Token Name — anything you'll recognize later.
- Allowlist IPs (optional) — paste IPs one per line to restrict access to known servers. Skip if unsure.
- Permissions — what this key can do:
- Read Only (recommended for testing) — read access, no writes.
- Update Script — update existing scripts only.
- Delete — delete access. Use with a paired read role.
- Administrator — full create, update, and delete access.
Click Generate.

Copy the key — you only get one chance
Your new key appears in a banner at the top of the page. Copy it now and paste it into a password manager or your .env file. If you dismiss the banner without copying, the key is gone and you'll need to delete it and create a new one.

Test it
Replace YOUR_API_KEY and run:
curl https://api.envyauth.my.id/api/v3/me/account \ -H "Authorization: Bearer YOUR_API_KEY"Pick the tab that matches the status you got:
{ "success": true, "data": { "id": "acc_...", "username": "your-handle", "email": "you@example.com", "plan": "max", "expiry_date_unix": 1750000000, "created_at": "2026-01-12T08:42:11.123Z" }, "requestid": "01HV..."}{ "success": false, "error": "Missing or invalid Bearer token.", "code": "AUTH_INVALID", "requestid": "01HV..."}{ "success": false, "error": "This token doesn't have permission to access this resource.", "code": "PERMISSION_DENIED", "requestid": "01HV..."}{ "success": false, "error": "Too many requests. Slow down.", "code": "RATE_LIMITED", "retry_after_seconds": 30, "requestid": "01HV..."}200 OK means your key works. Every endpoint at api.envyauth.my.id/api/v3/... uses the same Authorization: Bearer … header.
Error codes:
- 401 — key is wrong, expired, or missing the
Bearerprefix. - 403 — key is valid but lacks permission for that endpoint. Generate a stronger key.
- 429 — rate limited. Wait
retry_after_secondsand retry.
Where to go next
- Connect the Discord bot — link the bot to manage users, sessions, and commands from Discord.
- The full API reference, Roblox SDK, ad reward guides, and macro docs are in progress.
Ping us in Discord if you get stuck.