Skip to main content
PUT
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Details for adding Discord server to VaultCord

name
string

Display name of server

Example:

"google play"

botId
integer

Custom bot ID from /bots endpoint

Example:

2475

serverId
string

Discord snowflake ID for the guild.

Example:

"1218273540147646535"

roleId
string

(Optional) Discord snowflake ID for the verified role.

Example:

"1218273540147646535"

pic
string

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

Example:

"https://cdn.vaultcord.com/logo.png"

url
string

URL for the server verification page

Example:

"mylink"

Response

Successfully added server to VaultCord

success
boolean
Example:

true

message
string
Example:

"Successfully created server!"

serverId
integer
Example:

5180