---
title: "Create bot"
method: POST
path: "/bots"
tags: ["bots"]
---

# Create bot

`POST /bots`

Create a new bot with a name

## Response `201`

Created bot

- BotResponse — A response for information about a bot
  - `id` string — The UUID for the bot
  - `name` string — The unique readable name for the bot
  - `url` string — The URL of the bot server
  - `ui` object — The UI of the bot
    - `name` string — The name of the UI file.
    - `size` integer — The size of the UI file (bytes)
  - `active` boolean — Flag for if a bot is active with communication
  - `actions` object[] — A list of actions that a bot can perform
  - `data` object[] — A list of data that a bot can provide
  - `installedBy` string — The user who installed the bot

## Other responses

- `400` — Bad Request
- `401` — Authentication Error
- `403` — Forbidden
- `default` — Error

---

[API](https://skmtc.dev/salesforce/apis/refocus-api.md) · [All operations](https://skmtc.dev/salesforce/apis/refocus-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/salesforce/refocus-api/revisions/42c2153b047e/schema)
