Vexel Docs

Build for Vexel

Vexel's API is Discord-compatible. Bots written with discord.js, discord.py and similar libraries run here once they point at our address, and Discord-style webhooks work by swapping the URL. On Vexel these bots are called Vexel Bots.

REST APIhttps://vexel.pulsedmc.net/api/v10
Gatewaywss://vexel.pulsedmc.net/gateway (v10, JSON, zlib-stream)
CDNhttps://vexel.pulsedmc.net/cdn
AuthAuthorization: Bot <token>

Choose a bot library

When creating an application, choose discord.js or vexel.js. Your choice is saved with the project and can be changed in its General tab.

discord.js

Use the current Discord-compatible API with your Node.js bot. The setup examples below show the required Vexel addresses.

vexel.js (recommended)

The official Vexel SDK for Node.js, with slash commands, buttons, select menus, modals, autocomplete, moderation and voice. See vexel.js.

Quick start

  1. Open the Developer Portal (sign in first) and click New application. That creates the bot account.
  2. Choose vexel.js (the official SDK) or discord.js (an existing Discord bot with Vexel's addresses).
  3. Copy the bot token and keep it secret. Discord tokens don't work here, and Vexel tokens don't work on Discord.
  4. Turn on the privileged intents you need (Message Content, Server Members, Presence).
  5. Open the Invite link tab, choose permissions, and add the bot to a server where you have Manage Server.
  6. Point your library at Vexel (below) and run it.

discord.js (v14)

Add one rest option. The gateway address comes from the API automatically.

JavaScript
const { Client, GatewayIntentBits } = require('discord.js');

const client = new Client({
  intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent],
  rest: { api: 'https://vexel.pulsedmc.net/api', cdn: 'https://vexel.pulsedmc.net/cdn' },   // ← the only Vexel change
});

client.once('ready', () => console.log(`Logged in as ${client.user.tag}`));
client.on('messageCreate', (m) => { if (m.content === '!ping') m.reply('pong 🏓'); });
client.login(process.env.PULSED_TOKEN);

vexel.js

vexel.js is the official Node.js SDK for Vexel bots. It handles the gateway (reconnecting, resuming, heartbeats, intents), rate limits, slash commands, buttons, select menus, modals, autocomplete, moderation and voice. TypeScript types are included.

npm install https://vexel.pulsedmc.net/sdk/vexel.js.tgz

vexel.js isn’t on the npm registry, so npm install vexel.js fails; use the link above. New to it? Everything on one page has the install, a complete bot to copy, common mistakes and a cheat sheet. It’s also the page to give an AI assistant.

const { Client, GatewayIntentBits } = require('vexel.js');

const client = new Client({
  intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent],
});

client.on('ready', () => console.log(`Logged in as ${client.user.username}`));

client.on('messageCreate', async (message) => {
  if (message.author.bot) return;
  if (message.content === '!ping') await message.reply('Pong!');
});

client.commands.register({
  name: 'ban',
  description: 'Ban a member',
  defaultMemberPermissions: 'BanMembers',
  options: [
    { name: 'user', description: 'User to ban', type: 'user', required: true },
    { name: 'reason', description: 'Reason for the ban', type: 'string' },
  ],
  execute: async (interaction) => {
    const user = interaction.options.getUser('user');
    const reason = interaction.options.getString('reason');
    await interaction.guild.members.ban(user.id, { reason });
    await interaction.reply({ content: `Banned ${user.username}.`, ephemeral: true });
  },
});

client.login(process.env.VEXEL_TOKEN);

What's included

  • Gateway: every event Vexel sends, including message bulk deletes, reaction clears, role create/update/delete, pins, voice states, presences and interactions. Configurable intents, automatic reconnects with backoff, heartbeat timeouts, and session resume with replay of missed events.
  • Messages: send, edit, delete, bulk delete, replies, embeds, files, reactions, pins, history with paging, mentions and formatting helpers.
  • Slash commands: options of every type, choices, subcommands and groups, autocomplete, default permissions, plus user and message commands (the Apps menu). Commands you register are uploaded on login.
  • Interactions: buttons, string/user/role/mentionable/channel select menus, modals, deferring, follow-ups and ephemeral replies. The SDK warns you when the 3-second window would be missed.
  • Servers: members (fetch, search, chunking), kick, ban with message clean-up, timeouts, roles, nicknames, channels and permission overwrites, webhooks, presence and profile editing.
  • Voice: join voice channels and play audio with a player, queue, pause/resume and volume. See voice.

The full guide, API reference and examples (ping, slash commands, moderation, buttons, modals, music bot) ship with the package in docs/ and examples/.

Security: Vexel stores only a hash of your bot token, and resetting it ends every session that used the old one. Permissions, role hierarchy, intents, blocks and message requests are all enforced by Vexel's servers. A bot can't do anything its role doesn't allow, and its first DM to someone arrives as a message request.

Voice and music bots (vexel.js)

Vexel voice is peer-to-peer WebRTC. A bot joins like a person: the gateway relays connection setup, and the bot's WebRTC stack sends Opus audio to each person in the channel.

npm install https://vexel.pulsedmc.net/sdk/vexel.js.tgz werift opusscript   # plus ffmpeg on your PATH
const { createAudioPlayer, createAudioResource, VoiceConnectionStatus } = require('vexel.js');

const connection = client.voice.join(interaction.member.voice.channel);
await connection.entersState(VoiceConnectionStatus.Ready, 15_000);
const player = createAudioPlayer();
connection.subscribe(player);
player.play(createAudioResource('https://example.com/song.mp3'));
player.pause(); player.unpause(); player.setVolume(0.5);
  • The bot needs the Voice States intent and the Connect and Speak permissions.
  • A bot is in one voice channel at a time. Bots can play audio but can't receive it yet.
  • Audio goes to each listener separately (up to 25 per channel), so host music bots with good upload bandwidth.
  • Other languages can use the same gateway operations: op 4 joins or leaves, op 40 relays WebRTC signals, op 41 updates mute/deafen, and VOICE_SIGNAL events carry the replies.

discord.py (2.x)

Set all three lines before creating the client.

⚠️ If you skip the gateway line, discord.py sends your token to Discord's servers.

Python
import os, discord, yarl

# ← these three lines point discord.py at Vexel (set ALL of them)
discord.http.Route.BASE = 'https://vexel.pulsedmc.net/api/v10'
discord.gateway.DiscordWebSocket.DEFAULT_GATEWAY = yarl.URL('wss://vexel.pulsedmc.net/gateway')
discord.asset.Asset.BASE = 'https://vexel.pulsedmc.net/cdn'

intents = discord.Intents.default(); intents.message_content = True
client = discord.Client(intents=intents)

@client.event
async def on_message(m):
    if m.content == '!ping':
        await m.reply('pong 🏓')

client.run(os.environ['PULSED_TOKEN'])

Plain HTTP

Any language works. It's JSON over HTTPS, with the same routes and object shapes as Discord's v10 API.

Shell
curl -X POST https://vexel.pulsedmc.net/api/v10/channels/CHANNEL_ID/messages \
  -H "Authorization: Bot $PULSED_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"content": "Hello from curl!"}'

Slash commands, buttons & menus

Register global or server commands with PUT /applications/:app/commands (client.application.commands.set() or bot.tree.sync()). Interactions support replies, ephemeral replies, deferring, follow-ups, buttons and select menus.

JavaScript
const { SlashCommandBuilder } = require('discord.js');

client.once('ready', async () => {
  await client.application.commands.set([
    new SlashCommandBuilder().setName('ip').setDescription('Show the Minecraft server address'),
  ]);
});
client.on('interactionCreate', async (i) => {
  if (i.isChatInputCommand() && i.commandName === 'ip')
    await i.reply({ content: 'play.example.net', ephemeral: true });
});

Vexel specifics

Servers = guilds

A Vexel server is a guild. The @everyone role id equals the server id, as on Discord.

Forum & media channels

Forums are type 15 and media channels type 16. Posts are type 11 with parent_id set, and tags come back as available_tags.

Timeouts

PATCH a member's communication_disabled_until (up to 28 days). Timed-out members can read and listen but not talk.

Voice moderation

PATCH members with mute, deaf or channel_id (move, or null to disconnect). Needs Mute/Deafen/Move Members.

Custom status

Presence updates (gateway op 3) support a custom status, which shows on the bot's profile and in the member list.

Permissions

Discord permission bits are mapped to Vexel's. Channel overwrites work, including View Channel for private channels. Bots never outrank the roles above theirs.

Pulse levels

A server's Pulse level raises its limits (message length, uploads, emoji). Bots get the same limits as members.

Avatar

PATCH /users/@me with an avatar data URI, as on Discord (client.user.setAvatar()). Rename the bot in the Developer Portal.

JavaScript
client.user.setPresence({
  status: 'online',
  activities: [{ type: ActivityType.Custom, name: 'custom', state: '⛏️ Mining with 42 players' }],
});
JavaScript
const member = await guild.members.fetch(userId);
await member.timeout(10 * 60 * 1000, 'Spamming');   // time out for 10 minutes
await member.voice.setMute(true);                  // server mute
await member.voice.disconnect();                   // kick from voice
await channel.setRateLimitPerUser(10);             // 10s slowmode

Webhooks

A webhook is a secret URL that posts into one channel. Use one for server-status pings, CI deploys, or forwarding alerts from another app. Create it in Server Settings → Webhooks (needs the Manage Webhooks permission), then copy its URL.

🔒 Anyone with the URL can post as the webhook. If it leaks, click Reset URL.

URLhttps://vexel.pulsedmc.net/api/webhooks/<id>/<token> (Discord-style /api/v10/webhooks/… also works)
Bodycontent, username, avatar_url, embeds (up to 10), allowed_mentions, files via payload_json + multipart
Query?wait=true returns the message (otherwise 204), ?thread_id= posts into a forum post
AlsoGET/PATCH/DELETE …/messages/:id to read, edit or delete what it sent. DELETE on the URL removes the webhook.
Shell
curl -X POST "https://vexel.pulsedmc.net/api/webhooks/ID/TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"username": "Server Status", "content": "✅ play.example.net is back online"}'
JavaScript
await fetch(process.env.WEBHOOK_URL + '?wait=true', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    username: 'Build Bot',
    embeds: [{ title: 'Deploy finished', description: 'v2.4.1 is live', color: 0xf5c518 }],
  }),
});
Python
import requests
requests.post(WEBHOOK_URL, json={'content': 'Backup complete 💾'})

# with a file
requests.post(WEBHOOK_URL, data={'payload_json': '{"content": "Latest log"}'},
              files={'files[0]': open('latest.log', 'rb')})
Shell
# post and keep the message id (?wait=true returns the message)
curl -X POST "https://vexel.pulsedmc.net/api/webhooks/ID/TOKEN?wait=true" -H "Content-Type: application/json" -d '{"content":"Players online: 3"}'
# edit it later
curl -X PATCH "https://vexel.pulsedmc.net/api/webhooks/ID/TOKEN/messages/MESSAGE_ID" -H "Content-Type: application/json" -d '{"content":"Players online: 5"}'

Webhook messages carry a WEBHOOK tag. They can mention @everyone unless allowed_mentions leaves it out. Names containing “Vexel Bot”, “Vexel” or “System” are rejected. Bots can manage webhooks through /channels/:id/webhooks and /guilds/:id/webhooks.

Log in with Vexel (OAuth2)

Let people sign in to your website with their Vexel account. It's the standard OAuth2 authorization code flow, the same as Discord's, so existing Discord OAuth libraries work with the Vexel URLs.

  1. In Developer Portal → your app → OAuth2, create a client secret and add your redirect URL.
  2. Send people to https://vexel.pulsedmc.net/oauth2/authorize?client_id=APP_ID&response_type=code&redirect_uri=…&scope=identify%20guilds&state=RANDOM. They see what you're asking for and choose Authorize or Cancel.
  3. Vexel redirects back with ?code=…&state=…. Check state, then exchange the code (valid 10 minutes, once) on your server: POST /api/oauth2/token with grant_type=authorization_code, code, redirect_uri, client_id and client_secret (form-encoded, or HTTP Basic auth for the client).
  4. Call the API with Authorization: Bearer ACCESS_TOKEN. Tokens last 7 days; use grant_type=refresh_token to get new ones (refresh tokens are single-use).
identifyusername, display name, avatar
emailemail address (with identify)
guildsservers they're in
guilds.members.readtheir nickname and roles in a server
connectionsgame accounts on their profile
// vexel.js
const { OAuth2 } = require('vexel.js');
const oauth = new OAuth2({ clientId, clientSecret, redirectUri: 'https://example.com/callback' });
res.redirect(oauth.authorizeURL({ scopes: ['identify', 'guilds'], state }));
// on /callback:
const tokens = await oauth.exchangeCode(req.query.code);
const me = await oauth.user(tokens.accessToken).getUser();

People can remove your app's access any time in Settings → Privacy & Safety. Bearer tokens can only read these user endpoints; they can't send messages or act on servers.

Gateway & intents

Connect to wss://vexel.pulsedmc.net/gateway, or ask GET /gateway/bot. Supported events:

READYRESUMEDGUILD_CREATEGUILD_UPDATEGUILD_DELETECHANNEL_CREATECHANNEL_UPDATECHANNEL_DELETECHANNEL_PINS_UPDATETHREAD_CREATETHREAD_UPDATETHREAD_DELETETHREAD_MEMBERS_UPDATEGUILD_MEMBER_ADDGUILD_MEMBER_UPDATEGUILD_MEMBER_REMOVEGUILD_MEMBERS_CHUNKGUILD_ROLE_CREATEGUILD_ROLE_UPDATEGUILD_ROLE_DELETEGUILD_BAN_ADDGUILD_BAN_REMOVEGUILD_AUDIT_LOG_ENTRY_CREATEAUTO_MODERATION_ACTION_EXECUTIONGUILD_SCHEDULED_EVENT_CREATEGUILD_SCHEDULED_EVENT_UPDATEGUILD_SCHEDULED_EVENT_DELETEGUILD_SCHEDULED_EVENT_USER_ADDGUILD_SCHEDULED_EVENT_USER_REMOVEINVITE_CREATEINVITE_DELETEWEBHOOKS_UPDATEMESSAGE_CREATEMESSAGE_UPDATEMESSAGE_DELETEMESSAGE_DELETE_BULKMESSAGE_REACTION_ADDMESSAGE_REACTION_REMOVEMESSAGE_REACTION_REMOVE_ALLMESSAGE_REACTION_REMOVE_EMOJIMESSAGE_POLL_VOTE_ADDMESSAGE_POLL_VOTE_REMOVETYPING_STARTPRESENCE_UPDATEVOICE_STATE_UPDATEINTERACTION_CREATE

Intents use Discord's bit values: GUILD_MODERATION for bans and audit log entries (the bot also needs View Audit Log), GUILD_INVITES, GUILD_WEBHOOKS, GUILD_SCHEDULED_EVENTS, AUTO_MODERATION_EXECUTION (needs Manage Server), and GUILD_MESSAGE_POLLS / DIRECT_MESSAGE_POLLS for votes.

Sharding: send shard: [shard_id, shard_count] in IDENTIFY (up to 64 shards). A shard gets the guilds where guild_id % shard_count === shard_id; DMs go to shard 0. Most bots don't need it.

Privileged intents (turn them on in the Developer Portal): Message Content (read message text in servers), Server Members (member events and chunking), and Presence.

Rate limits

Per bot50 requests / second
Messages5 per 5 seconds per channel
Webhooks5 per 2 seconds and 30 per minute, per webhook

Responses include Discord's X-RateLimit-* headers, and a 429 comes with retry_after. The libraries handle this for you.

REST reference

Every route below lives under https://vexel.pulsedmc.net/api/v10 and follows Discord's request and response shapes.

Users

GET/users/@me
PATCH/users/@me
GET/users/:user
GET/users/@me/guilds
DELETE/users/@me/guilds/:guild
POST/users/@me/channels

Guilds (servers)

GET/guilds/:guild
GET/guilds/:guild/preview
GET/guilds/:guild/channels
POST/guilds/:guild/channels
GET/guilds/:guild/roles
POST/guilds/:guild/roles
PATCH/guilds/:guild/roles/:role
DELETE/guilds/:guild/roles/:role
GET/guilds/:guild/members
GET/guilds/:guild/members/search
GET/guilds/:guild/members/:user
PATCH/guilds/:guild/members/@me
PATCH/guilds/:guild/members/:user
PUT/guilds/:guild/members/:user/roles/:role
DELETE/guilds/:guild/members/:user/roles/:role
DELETE/guilds/:guild/members/:user
GET/guilds/:guild/bans
GET/guilds/:guild/bans/:user
PUT/guilds/:guild/bans/:user
DELETE/guilds/:guild/bans/:user
GET/guilds/:guild/emojis
GET/guilds/:guild/webhooks

Channels & messages

GET/channels/:channel
PUT/channels/:channel/permissions/:overwrite
DELETE/channels/:channel/permissions/:overwrite
PATCH/channels/:channel
DELETE/channels/:channel
POST/channels/:channel/typing
GET/channels/:channel/messages
GET/channels/:channel/messages/:msg
POST/channels/:channel/messages
PATCH/channels/:channel/messages/:msg
DELETE/channels/:channel/messages/:msg
POST/channels/:channel/messages/bulk-delete
PUT/channels/:channel/messages/:msg/reactions/:emoji/@me
DELETE/channels/:channel/messages/:msg/reactions/:emoji/:user
GET/channels/:channel/messages/:msg/reactions/:emoji
PUT/channels/:channel/pins/:msg
DELETE/channels/:channel/pins/:msg
GET/channels/:channel/pins
GET/channels/:channel/webhooks
POST/channels/:channel/webhooks

Webhooks

GET/webhooks/:hook/:token
POST/webhooks/:hook/:token
PATCH/webhooks/:hook/:token
DELETE/webhooks/:hook/:token
GET/webhooks/:hook/:token/messages/:msg
PATCH/webhooks/:hook/:token/messages/:msg
DELETE/webhooks/:hook/:token/messages/:msg
GET/webhooks/:hook
DELETE/webhooks/:hook
PATCH/webhooks/:app/:token/messages/@original

Commands & interactions

GET/applications/@me
GET/applications/:app/commands
POST/applications/:app/commands
PUT/applications/:app/commands
GET/applications/:app/guilds/:guild/commands
POST/applications/:app/guilds/:guild/commands
PUT/applications/:app/guilds/:guild/commands
POST/interactions/:id/:token/callback
POST/webhooks/:app/:token (interaction follow-up)

Gateway

GET/gateway/bot

Servers (more)

PATCH/guilds/:guild name, description, icon and banner (data URIs). Manage Server
PATCH/guilds/:guild/channels reorder: [{ id, position }]. Manage Channels
GET/guilds/:guild/roles/:role
PATCH/guilds/:guild/roles reorder: [{ id, position }]. Manage Roles
POST/guilds/:guild/bulk-ban { user_ids } (up to 200). Ban Members + Manage Server
GET/guilds/:guild/voice-states/@me
GET/guilds/:guild/voice-states/:user
GET/guilds/:guild/stickers
GET/guilds/:guild/emojis/:emoji
DELETE/guilds/:guild/emojis/:emoji Manage Expressions

Invites

POST/channels/:channel/invites { max_age, max_uses, temporary, unique }. Create Invite
GET/channels/:channel/invites Manage Channels
GET/guilds/:guild/invites Manage Server
GET/invites/:code ?with_counts=true
DELETE/invites/:code Manage Server or Manage Channels

Audit log & AutoMod

GET/guilds/:guild/audit-logs ?user_id, action_type, before, after, limit. View Audit Log
GET/guilds/:guild/auto-moderation/rules
GET/guilds/:guild/auto-moderation/rules/:rule
POST/guilds/:guild/auto-moderation/rules
PATCH/guilds/:guild/auto-moderation/rules/:rule
DELETE/guilds/:guild/auto-moderation/rules/:rule all need Manage Server

Threads & forum posts

POST/channels/:channel/threads text: { name, auto_archive_duration }; forum: { name, message, applied_tags }
POST/channels/:channel/messages/:message/threads
PATCH/channels/:thread { name, archived, locked, auto_archive_duration, applied_tags }
DELETE/channels/:thread creator or Manage Messages
GET/guilds/:guild/threads/active
GET/channels/:channel/threads/archived/public ?before, limit
GET/channels/:thread/thread-members Server Members intent
PUT/channels/:thread/thread-members/@me
DELETE/channels/:thread/thread-members/@me
PUT/channels/:thread/thread-members/:user
DELETE/channels/:thread/thread-members/:user

Scheduled events

GET/guilds/:guild/scheduled-events ?with_user_count=true
POST/guilds/:guild/scheduled-events Manage Server
GET/guilds/:guild/scheduled-events/:event
PATCH/guilds/:guild/scheduled-events/:event status: 2 start, 3 end, 4 cancel
DELETE/guilds/:guild/scheduled-events/:event
GET/guilds/:guild/scheduled-events/:event/users
PUT/guilds/:guild/scheduled-events/:event/users/@me Vexel: the bot marks itself interested
DELETE/guilds/:guild/scheduled-events/:event/users/@me

Polls

POST/channels/:channel/messages with poll: { question: { text }, answers: [{ poll_media: { text } }], duration }
GET/channels/:channel/polls/:message/answers/:answer
POST/channels/:channel/polls/:message/expire the poll’s author

Webhooks (more)

PATCH/webhooks/:webhook { name, avatar, channel_id }. Manage Webhooks

OAuth2

POST/oauth2/token authorization_code, refresh_token, client_credentials
POST/oauth2/token/revoke
GET/oauth2/@me Bearer
GET/users/@me Bearer + identify (email with the email scope)
GET/users/@me/guilds Bearer + guilds
GET/users/@me/guilds/:guild/member Bearer + guilds.members.read
GET/users/@me/connections Bearer + connections

Activities SDK Beta

Create a shared game or tool for a voice call. Open Developer Portal → your application → Activities beta. Enter its name, description, public HTTPS entry URL, icon, exact allowed domains, player limit, and requested permissions. Only you can preview a draft. Management must approve it before other people can join. Saving changes resets approval and ends active sessions.

Download starter HTML · View the browser SDK. The SDK is served directly by Vexel; no npm package is required.

import { Activity } from 'https://vexel.pulsedmc.net/sdk/pulsedconnect-activities.js';
const activity = new Activity();
await activity.ready();
const people = await activity.getParticipants();
activity.on('participantJoin', person => console.log(person.username));
activity.on('state', session => render(session.state));
await activity.sendEvent('player_ready', { ready: true });

Hosting and isolation

Host on a separate public HTTPS origin. Your page must allow framing by Vexel, including any Content-Security-Policy frame-ancestors directive, and must not send a conflicting X-Frame-Options header. The runtime uses a sandboxed cross-origin frame with no camera, microphone, geolocation, account cookies, or top-level navigation access. SDK messages validate both source and origin. Its five-minute credential is bound to one user, session, and origin; it stops working when the user leaves the call. Never request account or bot tokens.

Permissions and state

  • state:read is required. getState() returns the current session snapshot.
  • participants:read exposes participant IDs, names and avatars. Without it, the participant list is empty.
  • events:send allows sendEvent(type, data). Events are JSON, limited to 8 KB and 60 per 30 seconds per player. The server supplies the actor ID.
  • state:write additionally permits the host to use setState(data). Arbitrary custom game data is developer-defined; your own trusted backend must validate competitive scores and rules. Vexel's built-in Trivia checks answers and scores on the server.

Runtime REST routes are GET /api/activity-runtime/:session/state and POST /api/activity-runtime/:session/events. Use the SDK for scoped credentials, refresh, participant events, and state updates. When a host leaves, the session transfers to a remaining participant; it closes when everyone leaves. Whiteboard and Watch Together retain their existing in-call controls.

SDK helpers

  • activity.userId: the current player's user ID.
  • activity.isHost(): whether the current player is the host. Hosts can transfer automatically when they leave.
  • activity.definition: your activity's settings for this session, including minPlayers, aspectRatio and orientation.
  • activity.setReady(true) and activity.allReady(): a built-in ready check. allReady() is true when at least minPlayers have joined and everyone is ready.
  • activity.session: the latest session snapshot, without a network request.

Every setting in the activity editor

SettingWhat it does
Name3–60 characters. Shown in the activity picker and the activity header.
Description10–1,000 characters. Shown in the picker; reviewers read it.
Entry URLThe public HTTPS page loaded in the frame. No IP addresses, ports, logins, fragments, local domains, or the Vexel origin.
Allowed domainsUp to eight exact domains your activity uses, one per line. Must include the entry URL's domain; the icon must be on one of them.
Icon URLOptional image on an allowed domain, proxied by Vexel.
Maximum players1–25. When full, other people in the call cannot join until someone leaves.
CategoryGame, Social, Creative, Music or Tool. Shown as a tag in the picker.
How to playUp to 600 characters shown on the join screen before anyone joins.
Minimum players1 to the maximum. Until enough people join, the header shows “Needs N more players”. It is a hint: your activity still starts, so enforce your own rules if a game truly needs more people (read session.participants.length and session.definition.minPlayers).
Screen shapeFill stretches your page over the whole activity area (design responsively). 16:9, 4:3, 1:1 or 9:16 keep that exact shape on every screen with black bars around it, so a fixed-layout game never gets squashed on a phone.
Best orientation on phonesAny, Landscape or Portrait. Phones held the other way see a small “turn your phone” hint over the activity; nothing is blocked.
Works on phonesTurn off if you need a mouse, keyboard or large screen. Phone players then see a warning on the join screen and the picker shows “Best on a computer”.
Accent colourOptional hex colour used for the stripe on your picker card and the top edge of the activity window.
Help / Privacy policy linksOptional public HTTPS pages shown on the join screen. Provide a privacy policy if you store anything about players.
Permissionsstate:read (required), participants:read, events:send, state:write, as described above.

All settings are copied into each session as session.definition, so your page can read them with activity.getState(). Saving any change returns the activity to draft, ends its running sessions and needs a new review.

Bot Discovery

List a public bot in Discover → Bots so anyone with Manage Server can add it. Open Developer Portal → your application → Bot Discovery, write a tagline (10–120 characters), an optional full description, pick 1–3 categories, the permission number to request (build it in the Invite link tab), and optional website, support and privacy links. Every listing, and every change, is reviewed by the Vexel team; the status shows on the same page. Your bot must have Public bot turned on.

The Add to server button uses the normal /oauth2/authorize flow: the person needs Manage Server, and the bot can never receive permissions they don’t have. Removing the listing doesn’t remove the bot from servers that already added it.

Not supported yet

  • Stage channels, private threads and category channels (Vexel groups channels by category name, so parent_id on normal channels isn't used)
  • Receiving audio in voice (bots can play audio, not listen)
  • Creating emoji and stickers through the API (listing and deleting work)
  • Polls with multiple answers per person (Vexel polls are single choice)
  • Slack- and GitHub-format webhooks. Send Discord-format JSON instead.

Missing something your bot needs? Ask in the Vexel official server. Bots must follow the Vexel rules, and self-bots (user tokens) aren't allowed.