cURL
curl --request PATCH \
--url https://api.vaultcord.com/servers/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "google play",
"botId": 5180,
"guildid": "1218273540147646535",
"roleid": "1225834185885876296",
"channelid": "1260566188124274721",
"pic": "https://cdn.vaultcord.com/logo.png",
"font": "Minecraftia",
"backgroundColor": "#151515",
"textColor": "#FFF",
"description": "Please verify to see the rest of our server",
"githubUrl": "https://github.com/VaultCord",
"twitterUrl": "https://twitter.com/VaultCord",
"websiteUrl": "https://vaultcord.com",
"youtubeUrl": "https://youtube.com/@VaultCord",
"banner": "https://i.imgur.com/LpttueJ.gif",
"cursor": "https://i.imgur.com/VdVvG03.png",
"url": "mylink",
"minAge": 7,
"redirectUrl": 30,
"ipLogging": 0,
"vpncheck": 0,
"mobilecheck": 0,
"altcheck": 0,
"altban": 0,
"viewAuthedApps": 0,
"viewGuilds": 0,
"viewEmails": 0,
"blacklist": 0,
"whitelist": 0,
"captcha": 0,
"closeVerify": 0
}
'import requests
url = "https://api.vaultcord.com/servers/{id}"
payload = {
"name": "google play",
"botId": 5180,
"guildid": "1218273540147646535",
"roleid": "1225834185885876296",
"channelid": "1260566188124274721",
"pic": "https://cdn.vaultcord.com/logo.png",
"font": "Minecraftia",
"backgroundColor": "#151515",
"textColor": "#FFF",
"description": "Please verify to see the rest of our server",
"githubUrl": "https://github.com/VaultCord",
"twitterUrl": "https://twitter.com/VaultCord",
"websiteUrl": "https://vaultcord.com",
"youtubeUrl": "https://youtube.com/@VaultCord",
"banner": "https://i.imgur.com/LpttueJ.gif",
"cursor": "https://i.imgur.com/VdVvG03.png",
"url": "mylink",
"minAge": 7,
"redirectUrl": 30,
"ipLogging": 0,
"vpncheck": 0,
"mobilecheck": 0,
"altcheck": 0,
"altban": 0,
"viewAuthedApps": 0,
"viewGuilds": 0,
"viewEmails": 0,
"blacklist": 0,
"whitelist": 0,
"captcha": 0,
"closeVerify": 0
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'google play',
botId: 5180,
guildid: '1218273540147646535',
roleid: '1225834185885876296',
channelid: '1260566188124274721',
pic: 'https://cdn.vaultcord.com/logo.png',
font: 'Minecraftia',
backgroundColor: '#151515',
textColor: '#FFF',
description: 'Please verify to see the rest of our server',
githubUrl: 'https://github.com/VaultCord',
twitterUrl: 'https://twitter.com/VaultCord',
websiteUrl: 'https://vaultcord.com',
youtubeUrl: 'https://youtube.com/@VaultCord',
banner: 'https://i.imgur.com/LpttueJ.gif',
cursor: 'https://i.imgur.com/VdVvG03.png',
url: 'mylink',
minAge: 7,
redirectUrl: 30,
ipLogging: 0,
vpncheck: 0,
mobilecheck: 0,
altcheck: 0,
altban: 0,
viewAuthedApps: 0,
viewGuilds: 0,
viewEmails: 0,
blacklist: 0,
whitelist: 0,
captcha: 0,
closeVerify: 0
})
};
fetch('https://api.vaultcord.com/servers/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.vaultcord.com/servers/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'google play',
'botId' => 5180,
'guildid' => '1218273540147646535',
'roleid' => '1225834185885876296',
'channelid' => '1260566188124274721',
'pic' => 'https://cdn.vaultcord.com/logo.png',
'font' => 'Minecraftia',
'backgroundColor' => '#151515',
'textColor' => '#FFF',
'description' => 'Please verify to see the rest of our server',
'githubUrl' => 'https://github.com/VaultCord',
'twitterUrl' => 'https://twitter.com/VaultCord',
'websiteUrl' => 'https://vaultcord.com',
'youtubeUrl' => 'https://youtube.com/@VaultCord',
'banner' => 'https://i.imgur.com/LpttueJ.gif',
'cursor' => 'https://i.imgur.com/VdVvG03.png',
'url' => 'mylink',
'minAge' => 7,
'redirectUrl' => 30,
'ipLogging' => 0,
'vpncheck' => 0,
'mobilecheck' => 0,
'altcheck' => 0,
'altban' => 0,
'viewAuthedApps' => 0,
'viewGuilds' => 0,
'viewEmails' => 0,
'blacklist' => 0,
'whitelist' => 0,
'captcha' => 0,
'closeVerify' => 0
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.vaultcord.com/servers/{id}"
payload := strings.NewReader("{\n \"name\": \"google play\",\n \"botId\": 5180,\n \"guildid\": \"1218273540147646535\",\n \"roleid\": \"1225834185885876296\",\n \"channelid\": \"1260566188124274721\",\n \"pic\": \"https://cdn.vaultcord.com/logo.png\",\n \"font\": \"Minecraftia\",\n \"backgroundColor\": \"#151515\",\n \"textColor\": \"#FFF\",\n \"description\": \"Please verify to see the rest of our server\",\n \"githubUrl\": \"https://github.com/VaultCord\",\n \"twitterUrl\": \"https://twitter.com/VaultCord\",\n \"websiteUrl\": \"https://vaultcord.com\",\n \"youtubeUrl\": \"https://youtube.com/@VaultCord\",\n \"banner\": \"https://i.imgur.com/LpttueJ.gif\",\n \"cursor\": \"https://i.imgur.com/VdVvG03.png\",\n \"url\": \"mylink\",\n \"minAge\": 7,\n \"redirectUrl\": 30,\n \"ipLogging\": 0,\n \"vpncheck\": 0,\n \"mobilecheck\": 0,\n \"altcheck\": 0,\n \"altban\": 0,\n \"viewAuthedApps\": 0,\n \"viewGuilds\": 0,\n \"viewEmails\": 0,\n \"blacklist\": 0,\n \"whitelist\": 0,\n \"captcha\": 0,\n \"closeVerify\": 0\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.vaultcord.com/servers/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"google play\",\n \"botId\": 5180,\n \"guildid\": \"1218273540147646535\",\n \"roleid\": \"1225834185885876296\",\n \"channelid\": \"1260566188124274721\",\n \"pic\": \"https://cdn.vaultcord.com/logo.png\",\n \"font\": \"Minecraftia\",\n \"backgroundColor\": \"#151515\",\n \"textColor\": \"#FFF\",\n \"description\": \"Please verify to see the rest of our server\",\n \"githubUrl\": \"https://github.com/VaultCord\",\n \"twitterUrl\": \"https://twitter.com/VaultCord\",\n \"websiteUrl\": \"https://vaultcord.com\",\n \"youtubeUrl\": \"https://youtube.com/@VaultCord\",\n \"banner\": \"https://i.imgur.com/LpttueJ.gif\",\n \"cursor\": \"https://i.imgur.com/VdVvG03.png\",\n \"url\": \"mylink\",\n \"minAge\": 7,\n \"redirectUrl\": 30,\n \"ipLogging\": 0,\n \"vpncheck\": 0,\n \"mobilecheck\": 0,\n \"altcheck\": 0,\n \"altban\": 0,\n \"viewAuthedApps\": 0,\n \"viewGuilds\": 0,\n \"viewEmails\": 0,\n \"blacklist\": 0,\n \"whitelist\": 0,\n \"captcha\": 0,\n \"closeVerify\": 0\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vaultcord.com/servers/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"google play\",\n \"botId\": 5180,\n \"guildid\": \"1218273540147646535\",\n \"roleid\": \"1225834185885876296\",\n \"channelid\": \"1260566188124274721\",\n \"pic\": \"https://cdn.vaultcord.com/logo.png\",\n \"font\": \"Minecraftia\",\n \"backgroundColor\": \"#151515\",\n \"textColor\": \"#FFF\",\n \"description\": \"Please verify to see the rest of our server\",\n \"githubUrl\": \"https://github.com/VaultCord\",\n \"twitterUrl\": \"https://twitter.com/VaultCord\",\n \"websiteUrl\": \"https://vaultcord.com\",\n \"youtubeUrl\": \"https://youtube.com/@VaultCord\",\n \"banner\": \"https://i.imgur.com/LpttueJ.gif\",\n \"cursor\": \"https://i.imgur.com/VdVvG03.png\",\n \"url\": \"mylink\",\n \"minAge\": 7,\n \"redirectUrl\": 30,\n \"ipLogging\": 0,\n \"vpncheck\": 0,\n \"mobilecheck\": 0,\n \"altcheck\": 0,\n \"altban\": 0,\n \"viewAuthedApps\": 0,\n \"viewGuilds\": 0,\n \"viewEmails\": 0,\n \"blacklist\": 0,\n \"whitelist\": 0,\n \"captcha\": 0,\n \"closeVerify\": 0\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Successfully saved settings!",
"serverId": 5180
}{
"success": false,
"message": "New login required #2"
}Servers
Update Server Settings
Update server settings
PATCH
/
servers
/
{id}
cURL
curl --request PATCH \
--url https://api.vaultcord.com/servers/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "google play",
"botId": 5180,
"guildid": "1218273540147646535",
"roleid": "1225834185885876296",
"channelid": "1260566188124274721",
"pic": "https://cdn.vaultcord.com/logo.png",
"font": "Minecraftia",
"backgroundColor": "#151515",
"textColor": "#FFF",
"description": "Please verify to see the rest of our server",
"githubUrl": "https://github.com/VaultCord",
"twitterUrl": "https://twitter.com/VaultCord",
"websiteUrl": "https://vaultcord.com",
"youtubeUrl": "https://youtube.com/@VaultCord",
"banner": "https://i.imgur.com/LpttueJ.gif",
"cursor": "https://i.imgur.com/VdVvG03.png",
"url": "mylink",
"minAge": 7,
"redirectUrl": 30,
"ipLogging": 0,
"vpncheck": 0,
"mobilecheck": 0,
"altcheck": 0,
"altban": 0,
"viewAuthedApps": 0,
"viewGuilds": 0,
"viewEmails": 0,
"blacklist": 0,
"whitelist": 0,
"captcha": 0,
"closeVerify": 0
}
'import requests
url = "https://api.vaultcord.com/servers/{id}"
payload = {
"name": "google play",
"botId": 5180,
"guildid": "1218273540147646535",
"roleid": "1225834185885876296",
"channelid": "1260566188124274721",
"pic": "https://cdn.vaultcord.com/logo.png",
"font": "Minecraftia",
"backgroundColor": "#151515",
"textColor": "#FFF",
"description": "Please verify to see the rest of our server",
"githubUrl": "https://github.com/VaultCord",
"twitterUrl": "https://twitter.com/VaultCord",
"websiteUrl": "https://vaultcord.com",
"youtubeUrl": "https://youtube.com/@VaultCord",
"banner": "https://i.imgur.com/LpttueJ.gif",
"cursor": "https://i.imgur.com/VdVvG03.png",
"url": "mylink",
"minAge": 7,
"redirectUrl": 30,
"ipLogging": 0,
"vpncheck": 0,
"mobilecheck": 0,
"altcheck": 0,
"altban": 0,
"viewAuthedApps": 0,
"viewGuilds": 0,
"viewEmails": 0,
"blacklist": 0,
"whitelist": 0,
"captcha": 0,
"closeVerify": 0
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'google play',
botId: 5180,
guildid: '1218273540147646535',
roleid: '1225834185885876296',
channelid: '1260566188124274721',
pic: 'https://cdn.vaultcord.com/logo.png',
font: 'Minecraftia',
backgroundColor: '#151515',
textColor: '#FFF',
description: 'Please verify to see the rest of our server',
githubUrl: 'https://github.com/VaultCord',
twitterUrl: 'https://twitter.com/VaultCord',
websiteUrl: 'https://vaultcord.com',
youtubeUrl: 'https://youtube.com/@VaultCord',
banner: 'https://i.imgur.com/LpttueJ.gif',
cursor: 'https://i.imgur.com/VdVvG03.png',
url: 'mylink',
minAge: 7,
redirectUrl: 30,
ipLogging: 0,
vpncheck: 0,
mobilecheck: 0,
altcheck: 0,
altban: 0,
viewAuthedApps: 0,
viewGuilds: 0,
viewEmails: 0,
blacklist: 0,
whitelist: 0,
captcha: 0,
closeVerify: 0
})
};
fetch('https://api.vaultcord.com/servers/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.vaultcord.com/servers/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'google play',
'botId' => 5180,
'guildid' => '1218273540147646535',
'roleid' => '1225834185885876296',
'channelid' => '1260566188124274721',
'pic' => 'https://cdn.vaultcord.com/logo.png',
'font' => 'Minecraftia',
'backgroundColor' => '#151515',
'textColor' => '#FFF',
'description' => 'Please verify to see the rest of our server',
'githubUrl' => 'https://github.com/VaultCord',
'twitterUrl' => 'https://twitter.com/VaultCord',
'websiteUrl' => 'https://vaultcord.com',
'youtubeUrl' => 'https://youtube.com/@VaultCord',
'banner' => 'https://i.imgur.com/LpttueJ.gif',
'cursor' => 'https://i.imgur.com/VdVvG03.png',
'url' => 'mylink',
'minAge' => 7,
'redirectUrl' => 30,
'ipLogging' => 0,
'vpncheck' => 0,
'mobilecheck' => 0,
'altcheck' => 0,
'altban' => 0,
'viewAuthedApps' => 0,
'viewGuilds' => 0,
'viewEmails' => 0,
'blacklist' => 0,
'whitelist' => 0,
'captcha' => 0,
'closeVerify' => 0
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.vaultcord.com/servers/{id}"
payload := strings.NewReader("{\n \"name\": \"google play\",\n \"botId\": 5180,\n \"guildid\": \"1218273540147646535\",\n \"roleid\": \"1225834185885876296\",\n \"channelid\": \"1260566188124274721\",\n \"pic\": \"https://cdn.vaultcord.com/logo.png\",\n \"font\": \"Minecraftia\",\n \"backgroundColor\": \"#151515\",\n \"textColor\": \"#FFF\",\n \"description\": \"Please verify to see the rest of our server\",\n \"githubUrl\": \"https://github.com/VaultCord\",\n \"twitterUrl\": \"https://twitter.com/VaultCord\",\n \"websiteUrl\": \"https://vaultcord.com\",\n \"youtubeUrl\": \"https://youtube.com/@VaultCord\",\n \"banner\": \"https://i.imgur.com/LpttueJ.gif\",\n \"cursor\": \"https://i.imgur.com/VdVvG03.png\",\n \"url\": \"mylink\",\n \"minAge\": 7,\n \"redirectUrl\": 30,\n \"ipLogging\": 0,\n \"vpncheck\": 0,\n \"mobilecheck\": 0,\n \"altcheck\": 0,\n \"altban\": 0,\n \"viewAuthedApps\": 0,\n \"viewGuilds\": 0,\n \"viewEmails\": 0,\n \"blacklist\": 0,\n \"whitelist\": 0,\n \"captcha\": 0,\n \"closeVerify\": 0\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.vaultcord.com/servers/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"google play\",\n \"botId\": 5180,\n \"guildid\": \"1218273540147646535\",\n \"roleid\": \"1225834185885876296\",\n \"channelid\": \"1260566188124274721\",\n \"pic\": \"https://cdn.vaultcord.com/logo.png\",\n \"font\": \"Minecraftia\",\n \"backgroundColor\": \"#151515\",\n \"textColor\": \"#FFF\",\n \"description\": \"Please verify to see the rest of our server\",\n \"githubUrl\": \"https://github.com/VaultCord\",\n \"twitterUrl\": \"https://twitter.com/VaultCord\",\n \"websiteUrl\": \"https://vaultcord.com\",\n \"youtubeUrl\": \"https://youtube.com/@VaultCord\",\n \"banner\": \"https://i.imgur.com/LpttueJ.gif\",\n \"cursor\": \"https://i.imgur.com/VdVvG03.png\",\n \"url\": \"mylink\",\n \"minAge\": 7,\n \"redirectUrl\": 30,\n \"ipLogging\": 0,\n \"vpncheck\": 0,\n \"mobilecheck\": 0,\n \"altcheck\": 0,\n \"altban\": 0,\n \"viewAuthedApps\": 0,\n \"viewGuilds\": 0,\n \"viewEmails\": 0,\n \"blacklist\": 0,\n \"whitelist\": 0,\n \"captcha\": 0,\n \"closeVerify\": 0\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vaultcord.com/servers/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"google play\",\n \"botId\": 5180,\n \"guildid\": \"1218273540147646535\",\n \"roleid\": \"1225834185885876296\",\n \"channelid\": \"1260566188124274721\",\n \"pic\": \"https://cdn.vaultcord.com/logo.png\",\n \"font\": \"Minecraftia\",\n \"backgroundColor\": \"#151515\",\n \"textColor\": \"#FFF\",\n \"description\": \"Please verify to see the rest of our server\",\n \"githubUrl\": \"https://github.com/VaultCord\",\n \"twitterUrl\": \"https://twitter.com/VaultCord\",\n \"websiteUrl\": \"https://vaultcord.com\",\n \"youtubeUrl\": \"https://youtube.com/@VaultCord\",\n \"banner\": \"https://i.imgur.com/LpttueJ.gif\",\n \"cursor\": \"https://i.imgur.com/VdVvG03.png\",\n \"url\": \"mylink\",\n \"minAge\": 7,\n \"redirectUrl\": 30,\n \"ipLogging\": 0,\n \"vpncheck\": 0,\n \"mobilecheck\": 0,\n \"altcheck\": 0,\n \"altban\": 0,\n \"viewAuthedApps\": 0,\n \"viewGuilds\": 0,\n \"viewEmails\": 0,\n \"blacklist\": 0,\n \"whitelist\": 0,\n \"captcha\": 0,\n \"closeVerify\": 0\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Successfully saved settings!",
"serverId": 5180
}{
"success": false,
"message": "New login required #2"
}Authorizations
Body
application/json
Details of the VaultCord server to be edited or modified
Image link, only https://imgur.com and https://cdn.vaultcord.com links accepted
Example:
"https://cdn.vaultcord.com/logo.png"
Color of all text displayed on verification page
Example:
"#FFF"
Banner image on the verification page. Must be https://imgur.com
Example:
"https://i.imgur.com/LpttueJ.gif"
Custom cursor on the verification page. Must be https://imgur.com
Example:
"https://i.imgur.com/VdVvG03.png"
Was this page helpful?