DOCUMENTATION / REST REFERENCE

The REST reference.

Base URL: https://pullup.at/api/relay-bots/v1. Authenticate with Authorization: Bot <token>.

Requests and responses

Send JSON with Content-Type: application/json. Success responses use { ok: true, result: ... }. Errors use { ok: false, error: { code, message } }. A 429 response includes Retry-After in seconds. Channel and community mutations require a UUID nonce. Retry the same operation with the same nonce; do not reuse a nonce for different work.

Use UUID strings for entities and decimal strings for message IDs. Permission masks are decimal strings. The SDK types and examples are the canonical request-body reference. Unknown fields are rejected.

Available routes

MethodPathSDK
GET/me, /team, /communitiesgetMe, getTeam, communities.fetch
POST/heartbeatsetPresence
GET / POST/updates / updates/ackstart (polling loop)
GET / PUT/commandscommands.fetch / set
PUT / DELETE/webhookwebhooks.set / delete
GET / PUT / DELETE/storagestorage.get / set / delete
GET / POST/communities/:id/channelschannels.fetch / create
PATCH / DELETE/channels/:idchannels.edit / delete
PUT/channels/:id/overwrites/:userIdchannels.overwrite
GET / POST/channels/:id/messagesmessages.fetch / send
PATCH / DELETE/channels/:id/messages/:messageIdmessages.edit / delete
PUT / DELETE/channels/:id/messages/:messageId/reactionsreactions.add / remove
GET / POST/communities/:id/rolesroles.fetch / create
PATCH / DELETE/communities/:id/roles/:roleIdroles.edit / delete
GET/communities/:id/membersmembers.fetch
PUT / DELETE/communities/:id/members/:userId/roles/:roleIdmembers.addRole / removeRole
PUT / DELETE/communities/:id/members/:userId/banmembers.ban / unban
DELETE/communities/:id/members/:userIdmembers.kick
PUT/communities/:id/members/:userId/timeoutmembers.timeout
GET/communities/:id/inviteinvites.fetch
POST/channels/:id/giveaways, /channels/:id/pollsgiveaways.create / polls.create
GET/channels/:id/giveaways/:item, /channels/:id/polls/:itemgiveaways.fetch / polls.fetch
POST/channels/:id/giveaways/:item/end, /channels/:id/polls/:item/endgiveaways.end / polls.end
POST / PATCH/interactions/:id/respondreply, deferReply, editReply, showModal
POST/interactions/:id/followupfollowUp
POST multipart/files (channelId + file)uploadFile

Handle errors deliberately

StatusMeaning
400Invalid fields or limits
401Missing, revoked or expired token
403Current install, channel or hierarchy denies access
404Entity unavailable
409State changed, nonce conflict, or limit reached
429Rate limited; respect Retry-After
503Backend, migrations or signing configuration unavailable

Current platform scope

This release covers community text bots, interactive messages, member and role automation, scoped moderation, private ticket channels, polls, giveaways, developer teams, bot presence, polling, webhooks and small application storage. It does not implement Discord’s entire API, Telegram compatibility, voice/music streaming, bot access to private DMs, payments, arbitrary bot-hosted code execution, or a public npm release. Host your bot process yourself.