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

# API authentication

Create and revoke API keys in [MCP and API settings](https://app.vsyble.com/mcp). API keys require a paid plan. Keep a separate key for each application or environment and grant only the permissions it needs.

```http theme={null}
X-Vsyble-Api-Key: your-api-key
Content-Type: application/json
```

Do not send a key in the URL, request body, frontend code, or chat text. Your key identifies its owner and carries its configured permissions and spend controls; possession of another record's ID does not grant access to it.

## Choose permissions

| Work | Permission |
| - | - |
| People search | `people_search` |
| Company search | `company_search` |
| Search result enrichment | `enrich` |
| Campaign, draft, message, and run reads | `outreach_read` |
| CRM imports, campaign preparation, and edits | `outreach_manage` |
| Campaign activation or approvals that can release mail | `outreach_send` |
| Inbox headers and status | `vsyble.metadata` |
| Inbox bodies and attachments | `vsyble.readonly` |

Inbox permissions are opt-in. Existing keys do not automatically acquire new permissions. Saving reply drafts or scheduling replies requires [hosted OAuth MCP](https://docs.vsyble.com/mcp/overview.md), not an API key.

Pausing or stopping a campaign uses management authority; activation uses sending authority. The [operation reference](https://docs.vsyble.com/reference/methods/set_campaign_status.md) explains the revision and confirmation fields.

## Rotate or revoke a key

1. Create a replacement key with the required permissions and spend controls.
2. Update the integration's secret and confirm an authorized read succeeds.
3. Revoke the old key in settings.

If a key is exposed, revoke it immediately. Do not wait for the routine rotation sequence.

## Diagnose access errors

A `401` means the credential is missing, invalid, expired, or revoked. A `403` can mean missing permission, plan access, workspace membership, or a workspace control. Read the error's stable `code` and [recovery guidance](https://docs.vsyble.com/api/errors.md); repeating the same request does not grant access.


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