Check if a Roblox User is Verified
This endpoint checks whether a Roblox user is verified and registered with a Discord account.
Success Response
{ "status": "success", "message": "Verified user.", "verified": true }
JavaScript Example
fetch('https://api.roshield.net/beta/public/is-verified/123456789', { method: 'GET', headers: { 'Authorization': 'your-api-key' } }) .then(response => response.json()) .then(data => console.log(data));
Check if a Roblox User is Flagged
This endpoint checks whether a Roblox user has any flags or notes registered in the system.
Success Response
{ "status": "success", "message": "User found.", "flags": ["High-risk user.", "Exploiting."] }
Not Found Response
{ "status": "success", "message": "No flags registered for this user." }
JavaScript Example
fetch('https://api.roshield.net/beta/public/is-flagged/123456789', { method: 'GET', headers: { 'Authorization': 'your-api-key' } }) .then(response => response.json()) .then(data => console.log(data));
Check if a User is a Server Booster
This endpoint checks if a user is a server booster on Discord based on their premium status.
Success Response
{ "status": "success", "is_booster": true, "premium_since": "2025-01-09T12:34:56" }
Not Found Response
{ "status": "error", "message": "User not found in server" }
JavaScript Example
fetch('https://api.roshield.net/beta/public/is-booster/1191892647976120390/1234', { method: 'GET', headers: { 'Authorization': 'your-api-key' } }) .then(response => response.json()) .then(data => console.log(data));
Get Roblox ID for a Discord User
This endpoint retrieves the Roblox user ID associated with a given Discord user ID.
Success Response
{ "status": "success", "message": "User found.", "roblox_id": "123456789" }
JavaScript Example
fetch('https://api.roshield.net/beta/public/discord-to-roblox/1312442314001481861', { method: 'GET', headers: { 'Authorization': 'your-api-key' } }) .then(response => response.json()) .then(data => console.log(data));
Get Discord ID for a Roblox User
This endpoint retrieves the Discord user ID(s) associated with a given Roblox user ID.
Success Response
{ "status": "success", "message": "User found.", "discord_ids": ["1312442314001481861", "1189225868271304774"] }
JavaScript Example
fetch('https://api.roshield.net/beta/public/roblox-to-discord/123456789', { method: 'GET', headers: { 'Authorization': 'your-api-key' } }) .then(response => response.json()) .then(data => console.log(data));
Webhook API
This endpoint allows you to send messages to a specific webhook for a Roblox group. You must provide an API key and the name of the webhook to send a message. This can be used to notify group owners or perform other webhook-related tasks.
Success Response
{ "status": "success", "message": "Webhook posted." }
JavaScript Example
fetch('https://api.roshield.net/beta/public/webhooks/myWebhook', { method: 'POST', headers: { 'Authorization': 'your-api-key', 'Content-Type': 'application/json' }, body: JSON.stringify({ message: 'This is a test message to the webhook!' }) }) .then(response => response.json()) .then(data => console.log(data));