---
title: "PUT /bots"
method: PUT
path: "/bots"
tags: ["Bots"]
---

# PUT /bots

`PUT /bots`

Create a custom bot

## Request body

- object
  - `name` string — Name of the bot
  - `clientSecret` string — Discord OAuth2 secret.
  - `token` string — Discord bot/application token

## Response `200`

Successfully added Discord bot

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

## Other responses

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

---

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