---
title: "Get source variables"
method: GET
path: "/botVariables/{botId}/{sourceId}"
tags: ["BotSourceVariable"]
---

# Get source variables

`GET /botVariables/{botId}/{sourceId}`

## Path parameters

- `botId` string, required
- `sourceId` string, required

## Response `200`

Success

- BotVariableDto[]
  - `id` string, nullable
  - `name` string, nullable
  - `value` string, nullable

## Other responses

- `401` — Unauthorized
- `404` — Not Found

---

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