RoGoid
How it works Commands Docs RoGoid+ Contact support Status Privacy Terms Refunds Dashboard

What the API does

The RoGoid API is read-only. It looks things up for your server, but it can't change anything. To verify, force verify, unlink or suspend someone, use the commands in Discord or the Members page on the dashboard.

You can

  • Read your server's RoGoid settings, with GET /v1/guild
  • Look up a member's verification, with GET /v1/verifications/:discordId
  • List the members suspended in your server, with GET /v1/bans
  • List members flagged as alts, with GET /v1/alts (RoGoid+)
  • Make a verify link for a member, with GET /v1/verify-link/:discordId

You can't

  • Verify or force verify members. Use /force-verify or the Members page
  • Unlink or suspend members
  • Give or remove roles, or change nicknames
  • Change your server's RoGoid settings

Want your bot to react when someone verifies? Use webhooks, and RoGoid sends your bot each verification as it happens.

Authentication

All endpoints live under https://api.rogoid.xyz/v1.

Every request needs your server's API key, either as a bearer token or a header:

Authorization: Bearer rgd_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

or

X-Api-Key: rgd_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

A key only ever reads data for the one server it was generated on. Each server can make 60 requests a minute, or 300 a minute with RoGoid+. See rate limits for details.

Here's a first request, reading your server's settings with GET /v1/guild:

Node.js 18 or newer, no packages needed
const res = await fetch('https://api.rogoid.xyz/v1/guild', {
  headers: { Authorization: 'Bearer YOUR_API_KEY' }
});

if (!res.ok) throw new Error(`RoGoid API error ${res.status}`);

const guild = await res.json();
console.log(guild.guildName, guild.rateLimitPerMinute);

GET/v1/guild

Basic config for your server.

{
  "guildId": "...",
  "guildName": "...",
  "verifiedRoleConfigured": true,
  "vpnBlockingEnabled": false,
  "banEvasionBlockingEnabled": false,
  "premium": true,
  "rateLimitPerMinute": 300
}

GET/v1/verifications/:discordId

The Roblox account a Discord member is currently verified as in your server. 404 if not verified.

{
  "discordId": "...",
  "robloxId": "...",
  "robloxUsername": "...",
  "robloxDisplayName": "...",
  "verificationMethod": "oauth",
  "verifiedAt": "2026-09-01T12:00:00.000Z"
}

GET/v1/bans

Ban records RoGoid holds for your server.

{ "bans": [ { "discordId": "...", "reason": "...", "bannedBy": "...", "createdAt": "..." } ] }

GET/v1/alts RoGoid+

Members flagged for having a linked Roblox account shared with another Discord account that's currently in your server or banned from it. Returns 403 without RoGoid+.

{
  "flagged": [
    {
      "discordId": "...",
      "verifiedRobloxIds": ["..."],
      "linkedAccounts": [ { "discordId": "...", "robloxId": "...", "status": "in_server" } ]
    }
  ]
}

Build your own verify panel

You can put your own bot in front of verification instead of using RoGoid's /verify command or panel. Your bot's only job is to hand the member a link everything after that is still RoGoid.

RoGoid still has to be installed in the server. It's what actually gives the verified role, removes the unverified role and sets the nickname, using its own permissions, so this replaces the prompt rather than replacing RoGoid. That means:

  • RoGoid stays in the server with Manage Roles and Manage Nicknames.
  • RoGoid's role sits above the verified and unverified roles in your server's role list, or Discord won't let it change them.
  • The verified and unverified roles are still picked in the RoGoid dashboard, not in your bot.
  • Your bot needs no Discord permissions beyond sending a message it never touches roles.

The flow is:

  1. A member runs your command (or clicks your panel button).
  2. Your bot calls GET /v1/verify-link/:discordId with your API key.
  3. Your bot replies with a link button pointing at the returned url.
  4. They verify with Roblox, and RoGoid's bot gives the verified role, removes the unverified role and sets their nickname.

To react when verification finishes (send a confirmation, unlock a channel), point a webhook at your bot RoGoid will POST to it as soon as the member is verified.

Each link is generated for one specific member in your server, so build it when they ask for it don't post a single shared link in a channel. Only the member it was made for can finish verifying with it; everyone else is told the link is for someone else.

Example

These use Components V2 containers, not the older Embed API RoGoid's own bot has fully moved off embeds in favor of containers, and we'd recommend the same for anything you build against this API.

discord.js v14.19 or newer, Node.js 18 or newer npm install discord.js
const { ActionRowBuilder, ButtonBuilder, ButtonStyle, ContainerBuilder, TextDisplayBuilder, SeparatorBuilder, SeparatorSpacingSize, MessageFlags } = require('discord.js');

client.on('interactionCreate', async (interaction) => {
  if (!interaction.isChatInputCommand() || interaction.commandName !== 'verify') return;

  const res = await fetch(
    `https://api.rogoid.xyz/v1/verify-link/${interaction.user.id}`,
    { headers: { Authorization: 'Bearer YOUR_API_KEY' } }
  );

  if (!res.ok) {
    return interaction.reply({ content: 'Verification is unavailable right now.', ephemeral: true });
  }

  const { url, verifiedRoleConfigured } = await res.json();

  if (!verifiedRoleConfigured) {
    return interaction.reply({ content: 'This server has no verified role set up yet.', ephemeral: true });
  }

  const container = new ContainerBuilder()
    .setAccentColor(0xf5ea51)
    .addTextDisplayComponents(
      new TextDisplayBuilder().setContent(
        '# Verify with Roblox\n\nClick below to link your Roblox account. Your role is applied automatically once you finish.'
      )
    )
    .addSeparatorComponents(new SeparatorBuilder().setSpacing(SeparatorSpacingSize.Large).setDivider(true))
    .addActionRowComponents(
      new ActionRowBuilder().addComponents(
        new ButtonBuilder().setLabel('Verify').setStyle(ButtonStyle.Link).setURL(url)
      )
    );

  await interaction.reply({
    components: [container],
    flags: MessageFlags.IsComponentsV2 | MessageFlags.Ephemeral
  });
});

Reply ephemerally so the link stays private to the member who asked for it. To check whether someone is already verified before showing the button, call GET /v1/verifications/:discordId first a 404 means they aren't verified yet.

Webhooks

Instead of polling, you can have RoGoid POST to your own endpoint the moment something happens. Set the URL under Webhook on your server's Settings page you'll get a signing secret when you save.

Events

  • member.verified a member finished verification in your server
  • member.unverified a member's verification was removed there

Payload

{
  "event": "member.verified",
  "sentAt": "2026-09-08T20:00:00.000Z",
  "data": {
    "guildId": "...",
    "discordId": "...",
    "robloxId": "...",
    "robloxUsername": "...",
    "robloxDisplayName": "...",
    "verificationMethod": "oauth"
  }
}

member.unverified carries guildId, discordId, robloxId and robloxUsername, and the Roblox fields may be null if there was no active link left to read.

Verifying the signature

Every request carries these headers:

  • X-RoGoid-Event the event name
  • X-RoGoid-Timestamp milliseconds since epoch
  • X-RoGoid-Signature HMAC-SHA256 of timestamp + "." + rawBody, using your signing secret

Check it against the raw request body, before any JSON parsing re-serialising the object first will produce a different string and the signature won't match.

Express 4.17 or newer npm install express
const crypto = require('crypto');

app.post('/webhooks/rogoid', express.raw({ type: 'application/json' }), (req, res) => {
  const timestamp = req.get('X-RoGoid-Timestamp');
  const signature = req.get('X-RoGoid-Signature');

  const expected = crypto
    .createHmac('sha256', process.env.ROGOID_WEBHOOK_SECRET)
    .update(`${timestamp}.${req.body}`)
    .digest('hex');

  const valid = signature
    && signature.length === expected.length
    && crypto.timingSafeEqual(Buffer.from(signature), Buffer.from(expected));

  if (!valid) return res.sendStatus(401);

  if (Math.abs(Date.now() - Number(timestamp)) > 5 * 60 * 1000) return res.sendStatus(401);

  const { event, data } = JSON.parse(req.body);
  console.log(event, data.discordId, data.robloxUsername);

  res.sendStatus(200);
});

Delivery behaviour

  • Respond with any 2xx as soon as you receive it and do your work afterwards. RoGoid gives up after 5 seconds.
  • A failed delivery is retried once, then dropped deliveries are not queued or replayed, so treat them as best-effort and fall back to /verifications/:discordId if you need certainty.
  • Redirects are not followed, so point the URL directly at your endpoint.
  • Your endpoint must be https and publicly reachable private and internal addresses are rejected.
  • Regenerating the secret takes effect immediately, so update your server before you rotate it.

Errors & Rate Limits

Errors come back as JSON with an error code, and sometimes a message.

StatusErrorMeaning
400invalid_discord_idThe Discord ID in the URL isn't a valid ID.
401missing_api_key / invalid_api_keyNo key was sent, or it doesn't match a server.
403premium_requiredThe endpoint needs RoGoid+ (only /alts).
404not_verifiedThat member isn't verified in your server.
429rate_limitedYour server went over its limit for this minute. Wait the number of seconds in retryAfter, then retry.

Rate limits

PlanRequests per minute
Free60
RoGoid+300

The limit is per server, shared by everything that uses that server's key, and resets every minute. Every response tells you where you stand:

HeaderMeaning
X-RateLimit-LimitYour server's limit per minute.
X-RateLimit-RemainingRequests left in the current minute.
X-RateLimit-ResetSeconds until the count resets.
Retry-AfterOnly on a 429: seconds to wait before trying again.
Checking for new verifications over and over? Use webhooks instead. RoGoid sends each verification to your bot as it happens, so you don't spend any of your limit waiting for changes.

Contact

Questions or requests: Get support or join our Discord