Skip to main content
TalkChief authenticates every API request using per-capability API keys that you provision from your dashboard. Each key is tied to a specific platform capability — Click-to-Call, AI Transcription, and so on — and must be included in the Authorization header of every request as a Bearer token. There are no session cookies or OAuth flows for server-to-server integrations; the API key is the sole credential your application needs.

Getting Your API Key

Provision a new API key from your TalkChief dashboard before making any API calls. Keys are shown in full only at creation time, so copy yours before closing the dialog.
1

Log in to your TalkChief dashboard

Open TalkChief and sign in with your account credentials.
2

Navigate to Settings > Developers > API Keys

From the left-hand navigation, go to Settings, then Developers, and select API Keys.
3

Create a new key and select its capability

Click Create Key. In the dialog, give the key a descriptive label (for example, crm-click-to-call-prod) and select the capability it should be scoped to — Click-to-Call, AI Transcription, or another available option.
4

Copy the key immediately

The full key value is displayed only once at creation time. Copy it now and store it somewhere secure before closing the dialog. TalkChief does not store the raw key and cannot retrieve it for you later.
5

Store the key securely

Save the key in an environment variable or a dedicated secrets manager (for example, AWS Secrets Manager, HashiCorp Vault, or your CI/CD platform’s secrets store). Never paste the raw key directly into source code.

Using Your API Key

Pass your API key as a Bearer token in the Authorization header on every request. The header format is:
Here is a complete curl example that initiates an outbound call using the Click-to-Call API. Replace YOUR_API_KEY with your real key, and use the base URL from your authenticated dashboard — not the placeholder shown here.
Replace {your-api-host} with the customer-specific base URL from your TalkChief dashboard under Settings → Developers. Production API hosts are not published publicly — always retrieve your live base URL from the authenticated dashboard or the downloadable OpenAPI spec.

Key Scoping

Every API key you create is scoped to exactly one capability. A key provisioned for the Click-to-Call API cannot make requests to the AI Transcription API, and vice versa. If you are building an integration that uses multiple capabilities, create a separate key for each one and store them independently. This scoping policy limits the impact of a compromised credential: exposure of one key never grants access to other parts of the platform. The exact scope labels for your account are shown in the Create Key dialog in your dashboard.

Security Best Practices

Treat your API keys with the same care as passwords. Follow these practices to reduce the risk of unauthorized access:
  • Never commit API keys to source control. Use .gitignore, pre-commit hooks, or a secrets-scanning tool to catch accidental commits.
  • Use environment variables or a secrets manager. Inject keys at runtime so they never appear in code or configuration files checked into a repository.
  • Rotate keys regularly. Create a replacement key, update your integration, verify it works, and then delete the old key — all from the dashboard.
  • Delete unused keys immediately. If an integration is decommissioned or a key is no longer needed, revoke it from Settings > Developers > API Keys right away.
  • Monitor usage for unexpected activity. Review API key usage logs in the dashboard periodically. Unusual call volumes or unfamiliar source IPs may indicate a leaked key.
Keep your API keys secret at all times. If you suspect a key has been leaked or is being used without your authorization, revoke it immediately from your TalkChief dashboard under Settings > Developers > API Keys, then create a replacement. Do not wait — a compromised key can be used to place calls or access call data on your behalf until it is revoked.

Error Responses

When authentication fails, the API returns a standard HTTP error response. The two most common authentication errors are: A 401 response means you need to check that the key is present and correctly formatted in the header. A 403 response means you are using the right key format but the wrong key for this endpoint — verify that the key’s capability scope matches the API you are calling, and create a new scoped key if needed.