v1

latestOpenAPI 3.0.02026-07-26441564.4 KB
Servers

Add server to VaultCord

put/servers

Request body

namestring

Display name of server

botIdinteger

Custom bot ID from /bots endpoint

serverIdstring

Discord snowflake ID for the guild.

roleIdstring

(Optional) Discord snowflake ID for the verified role.

picstring

Image link, only https://imgur.com and https://cdn.vaultcord.com links accepted

urlstring

URL for the server verification page

Example request

{
  "name": "google play",
  "botId": 2475,
  "serverId": "1218273540147646535",
  "roleId": "1218273540147646535",
  "pic": "https://cdn.vaultcord.com/logo.png",
  "url": "mylink"
}

Response

Successfully added server to VaultCord

successboolean
messagestring
serverIdinteger

Example response

{
  "success": true,
  "message": "Successfully created server!",
  "serverId": 5180
}