API key + first call

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.

Sign-up screen with invite code field and Connect Discord button

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

Sign-in screen with API key field or Continue with Discord button

Open the API Tokens page

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

API Tokens page in the dashboard, with an empty token list

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.

Generate Token modal with name, IP allowlist, and permission checkboxes

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.

Newly generated token revealed, with a Copy button and a warning that it will not be shown again

Test it

Replace YOUR_API_KEY and run:

terminal
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..."}

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 Bearer prefix.
  • 403 — key is valid but lacks permission for that endpoint. Generate a stronger key.
  • 429 — rate limited. Wait retry_after_seconds and 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.