> ## Documentation Index
> Fetch the complete documentation index at: https://botsify.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Bot Data — Fetch Full Config for Authenticated Bot

> Fetch the complete configuration and metadata for the bot linked to your Bearer token. Returns bot settings, API key, agent type, and current status.

Fetch the complete configuration and metadata for the bot associated with your current Bearer token. No additional parameters are required — the bot is identified automatically from the authenticated session. Use this endpoint to inspect bot settings, retrieve its API key, or confirm its current state before making updates.

## Request

No request parameters are required. The bot is derived from the Bearer token you supply in the `Authorization` header.

## Example

```bash theme={null}
curl --request GET \
  --url https://app.botsify.com/api/v1/bot/get-data \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'
```

## Response

A successful `200 OK` response returns a JSON object containing the full configuration and metadata for the authenticated bot.

| Field | Type | Description |
| - | - | - |
| `bot_id` | string | The unique identifier for the bot. |
| `bot_name` | string | The display name of the bot. |
| `api_key` | string | The bot-level API key. |
| `agent_type` | string | The type of agent (`chatbot`, `agent`, or `voice`). |
| `status` | string | Current activation status of the bot. |
| `config` | object | Full bot configuration object including flows, settings, and integrations. |

```json theme={null}
{
  "bot_id": "12345",
  "bot_name": "Support agent",
  "api_key": "bfy_live_xxxxxxxxxxxx",
  "agent_type": "agent",
  "status": "active",
  "config": {
    "language": "en",
    "fallback_message": "I'm not sure about that. Can I connect you to a human?"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.