> ## Documentation Index
> Fetch the complete documentation index at: https://www.bolna.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Web Widget Keys API Reference

> API endpoints for creating, listing, editing and revoking the public keys that let the Bolna web widget start calls from your website.

A widget key (`pk_...`) lets the [web widget](https://www.bolna.ai/docs/developer-resources/sdks/web-widget.md) start web calls from your website with no backend of your own. Unlike your `bn-` API key, a widget key is meant for page HTML: it can only start web calls to agents in your account, within the key's limits, and browsers only start them from the domains on the key. The domain comes from the request's `Origin` header, which a script outside a browser can set to anything, so the limits are what cap misuse. A key belongs to the account, not to one agent. Every other Bolna API refuses it with `403`.

Manage widget keys with these endpoints and your `bn-` API key, or in the dashboard under **Developers > Web widget**.

## Endpoints

| Method | Endpoint | Description |
| - | - | - |
| `POST` | [`/web-call/public-keys`](https://www.bolna.ai/docs/api-reference/web-widget/create) | Create a widget key |
| `GET` | [`/web-call/public-keys`](https://www.bolna.ai/docs/api-reference/web-widget/list) | List your active widget keys and your web-call concurrency |
| `PATCH` | [`/web-call/public-keys/{key}`](https://www.bolna.ai/docs/api-reference/web-widget/update) | Change a key's name, domains, variables or limits |
| `DELETE` | [`/web-call/public-keys/{key}`](https://www.bolna.ai/docs/api-reference/web-widget/revoke) | Revoke a key |

## Limits on a key

| Field | Default | Range |
| - | - | - |
| `max_concurrent_calls` | `null` (all of your web-call concurrency) | 1 up to your web-call concurrency |
| `per_minute_limit` | 30 | 1 to 120 |
| `per_day_limit` | 500 | 10 to 5,000 |
| `per_ip_minute_limit` | 3 | 1 to 10 |
| `per_ip_day_limit` | 20 | 5 to 100 |
| `max_call_seconds` | 600 | 60 to 1,800 |

Widget calls share your account's web-call concurrency with your other web calls. [Contact support](https://www.bolna.ai/docs/getting-help.md) to raise it. An organization can have up to 10 active keys.


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