Skip to main content
API keys let your own systems call SquawkVoice without a person signing in. A key is sent as an X-API-Key header and acts on behalf of whoever created it. You manage keys on the API Keys page in Studio, at Manage → API Keys. It isn’t in your sidebar until you add it, but you can open it from search, from Customize sidebar or from a campaign’s On-Demand tab — see Creating a Key.
These are keys your systems use to call into SquawkVoice. They are not the same thing as Auth Profiles, which hold the credentials your AI agents use to call out to your APIs, or the Freshworks keys under Connected Apps.

What a Key Can Do Today

A key authenticates requests to the SquawkVoice API, sent in the X-API-Key header. The API has two parts: The API Reference has every endpoint with its fields, responses and errors, code samples, and a Try it panel. For how a key is checked and what it can reach, see Authentication.
Use a key with the endpoints in the API Reference. Most other customer endpoints refuse a key with a plain authorization failure (401) — which reads like a broken key rather than an unsupported endpoint. Everything else, including creating and revoking keys, needs a signed-in Studio session.
There is no key-authenticated way to read call results back. Call outcomes live in the Studio.

Creating a Key

1

Open the page

Go to Manage → API Keys. The page is titled API Keys. It isn’t in any role’s starting sidebar, so open it one of these ways:
  • Search. Press Cmd/Ctrl+K, type “API keys” and press Enter to open API Keys. Search finds it whether or not it’s in your sidebar.
  • Customize sidebar. Select Customize sidebar at the foot of the sidebar, switch on API Keys under Manage (it carries an Advanced badge) and select Save Changes.
  • A campaign. Go to Manage → Campaigns and open a campaign. On its On-Demand tab, click API reference, then Manage API Keys. Campaigns isn’t in the default sidebar for the Agent Builder role either, so add it with Customize sidebar or search for it.
Once you’re on the page, select the pin icon at the right end of its header to keep API Keys in your sidebar. You can also add /manage/api-keys to your Studio address. See Navigating Studio.
2

Click New Key

In the New API Key dialog, give the key a Name — up to 200 characters.
3

Choose an Expiration

No expiration, 1 Year through 5 Years, or Custom with a date picker. The earliest custom date is tomorrow. The latest is one day short of five years from today, which is also the date 5 Years gives you.A key expires at the end of its expiry day (23:59:59 in your browser’s time zone).
4

Click Create Key

The key is only created when you click Create Key. Cancel closes the dialog without making one.
5

Save the key somewhere safe

A Save Your API Key dialog shows the key in full, once, with a copy button: “This is the only time you’ll be able to see this key.” Copy it, then click I’ve Saved It.
Keys look like squawk_sk_live_….
The key value cannot be recovered, and there is no rotate. Only a hash of it is stored, so nothing — not support, not SquawkVoice staff — can show it to you again. Losing a key means revoking it and creating another, then updating whatever was using it.
Name keys for the integration that will use them. The list shows no key value, no prefix and not even the last four characters, so the name you give it is the only way to tell one key from another later.

The Key List

Each row shows the key’s name, then Created with a date, Last used with a date (Never until the key is first used), and either Expires with a date or No expiration. A key past its expiry reads Expired with its date and carries an Expired badge. It stays in the list and is rejected at the moment it is used rather than being removed. Search filters by name. Page sizes are 10, 20 and 50.

Who Can See and Revoke Which Keys

You see, and can revoke, only the keys you created yourself. A teammate’s keys don’t appear in your list, even inside the same account, and yours don’t appear in theirs. It is worth knowing this before you need it.
You cannot see or revoke a colleague’s key. When someone leaves, delete them from Users. Their keys are deleted with them and stop working on their next request. If the person is staying, or you need a key retired another way, email support@squawkvoice.ai.

Revoking a Key

Click the trash icon on a key’s row, then click Revoke in the Revoke API Key? dialog. Revocation is immediate and permanent. Any integration still using that key stops working on its very next request, with no grace period, and the action cannot be undone.

Scope and Least Privilege

A key carries the authority of whoever created it. It reaches the campaigns in your account — every campaign, not only the one you were looking at when you made it — and it can read and replace the guidelines of every agent in your account, and publish any of them, not only one. A request for a campaign or an agent in any other account is refused.
Use one key per integration. Because revocation is immediate and total, a key shared between two systems cannot be retired from one without breaking the other. Keys have no scopes of their own, so you can’t limit one to a single campaign or agent. Revoke a key as soon as the integration that used it is retired. There is currently no way to restrict who in your account can create keys — any signed-in user can create a key for themselves. If your organization needs that restricted, email support@squawkvoice.ai.

Where to go next

API Reference

Every endpoint these keys authenticate, with examples you can try.

On-Demand Calls

Set up a campaign for on-demand calls, and what to design around.

Auth Profiles

Credentials your agents use when calling out to your own APIs.

Writing Guidelines

Where an agent’s guidelines are written in Studio.