---
title: "PUT /servers"
method: PUT
path: "/servers"
tags: ["Servers"]
---

# PUT /servers

`PUT /servers`

Add server to VaultCord

## Request body

- object
  - `name` string — Display name of server
  - `botId` integer — Custom bot ID from /bots endpoint
  - `serverId` string — Discord snowflake ID for the guild.
  - `roleId` string — (Optional) Discord snowflake ID for the verified role.
  - `pic` string — Image link, only https://imgur.com and https://cdn.vaultcord.com links accepted
  - `url` string — URL for the server verification page

## Response `200`

Successfully added server to VaultCord

- object
  - `success` boolean
  - `message` string
  - `serverId` integer

## Other responses

- `401` — API key invalid, please generate a new one from dash.vaultcord.com/developers

---

[API](https://skmtc.dev/vaultcord/apis/vaultcord-developers-api.md) · [All operations](https://skmtc.dev/vaultcord/apis/vaultcord-developers-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vaultcord/vaultcord-developers-api/revisions/7790bd606410/schema)
