cURL
curl --request PUT \ --url https://api.vaultcord.com/servers \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "google play", "botId": 2475, "serverId": "1218273540147646535", "roleId": "1218273540147646535", "pic": "https://cdn.vaultcord.com/logo.png", "url": "mylink" }'
{ "success": true, "message": "Successfully created server!", "serverId": 5180 }
Add server to VaultCord
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
server JSON to be created
The body is of type object.
object
SUCCESS_MESSAGE
The response is of type object.
Was this page helpful?