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

# Create botData

`POST /botData`

Create new bot data for a rooms specific bots

## Request body

- object — Create botData properties
  - `name` string, required — Name of the bot data
  - `value` string, required — Value of the bot data
  - `botId` string, required — UUID for the corresponding bot
  - `roomId` integer, required — Number for the corresponding room
  - `owner` string — The name of the user to assign as the owner. Defaults to the user that created it

## Response `201`

Created botData

- BotDataResponse — A response for information about a room
  - `id` string — UUID of the specified bot data
  - `name` string — Name of the bot data
  - `value` string — Current value of the bot data
  - `roomId` integer — The room number of the room of the bot data
  - `botId` string — UUID of the specified bot in that room
  - `createdBy` string — Id of the User who created this botData.

## Other responses

- `400` — Bad Request
- `401` — Authentication Error
- `403` — Forbidden
- `404` — Resource Not Found
- `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)
