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

# Authentication

> Learn how to gain API access.

## Prerequisites

Before you begin using the Quo API, ensure you have:

> [card] An active Quo subscription
>
> Need an account? Follow our [account creation
> guide](https://support.openphone.com/hc/en-us/articles/1500009886621-How-to-create-an-OpenPhone-account).

> [card] Admin access
>
> Owner or admin privileges in your Quo workspace.

> [!WARNING]
>
> **US Messaging Registration Required:** To send text messages to US numbers
> via the API, you must complete US Carrier Registration. Learn more
> [here](https://support.openphone.com/hc/en-us/articles/15519949741463-Guide-to-US-carrier-registration-for-OpenPhone-customers).

## API key generation

The Quo API uses API keys for secure authentication. Follow these steps to get started:

**1. Log in to Quo**

Access your Quo account.

**2. Access API Settings**

Navigate to the "API" tab under workspace settings. Remember, you need
workspace owner or admin privileges to access this tab.

**3. Generate your key**

Click "Generate API key" and provide a descriptive label. Each key provides
full API access.

> [!TIP]
>
> Name your API key based on its intended use (e.g., "production-environment" or "testing-integration"). Spaces are not allowed in the API key name.

**4. Implement authentication**

Include your API key in the Authorization header of each request: `    Authorization: YOUR_API_KEY`
\[!TIP] The Quo API does not use a Bearer token for authentication.

## Security guidelines

> [!NOTE]
>
> Your API key carries the same privileges as your Quo account. Treat it
> with the same level of security as your password.

### Best practices

* Keep your API keys confidential
* Don’t share your API keys in publicly accessible areas such as GitHub or client-side code
* Regularly rotate your API keys to enhance security
* If a key is compromised, revoke it immediately and generate a new one

### Revoking access

If a key is compromised or no longer needed:

1. Navigate to the "API" tab in Workspace Settings
2. Locate the specific key
3. Click the ellipsis (three dots) icon and select "Delete" to immediately revoke access
4. Generate a new key if needed

> [!NOTE]
>
> Deleting an API key only affects the integrations using that specific key.
> Other keys and integrations will continue to function normally.
