Authentication
Three credentials are involved in a session. Each one has a single home.
| Credential | Who holds it | Purpose |
|---|---|---|
Developer API key (nxk_…) |
Your backend only | Authenticates calls to /api/v1/*. |
| Your LiveKit credentials | Your backend | You mint room join tokens for your customers on your own LiveKit project, the one configured in your Parivox account settings. |
| Your MCP session credential | Your backend → Parivox → your MCP server | Whatever header-based authentication your MCP server expects. Supply it in mcpServers[].headers on each dispatch, as a short-lived, session-scoped token. |
Creating a developer key
Section titled “Creating a developer key”In Parivox Workspace, open Settings → Parivox API keys and create a key. Give it a name, choose its permissions, and optionally limit it to specific rooms. The secret is shown once: store it in your secret manager straight away. You can revoke a key from the same place at any time.
Send it as a bearer token on every request:
Authorization: Bearer nxk_…Scopes
Section titled “Scopes”Every key carries scopes that limit what it can do. Grant a key only what its integration needs.
| Scope | Allows |
|---|---|
agents:dispatch |
POST /api/v1/agent-dispatches |
files:read |
Listing and downloading a room’s shared files |
access-links:use |
Verifying a visitor’s personal access link, minting embed frame tickets for it, and reporting activity against it |
access-links:read |
Reserved for reading a room’s list of personal links |
A key created without naming scopes receives agents:dispatch only. Keys created before scopes existed keep full access; replace them with scoped keys when convenient.
Room restrictions
Section titled “Room restrictions”Room-addressed endpoints (/api/v1/rooms/{slug}/…) also require that the key’s account owns or co-owns the room, and, for a key limited to specific rooms, that the room is on the key’s list.
A call outside a key’s scopes or rooms returns 403. A room the key’s account doesn’t own or co-own returns 404, the same as a room that doesn’t exist.