API Keys
API keys let your own applications work with your Versafy workspace without a teammate’s sign-in. For example, your CRM can have a voice agent call a new lead the moment they fill in a form, and a reporting tool can pull each week’s call results and spending into your dashboard.
A key belongs to your workspace and works until you revoke it. Every key has the same access, described below, so create one only for a known application and owner.
Navigation: Open Misc → API Keys.
The page appears only for users allowed to manage API keys.
What an API key can do
A key can start voice agent calls, submit leads to configured Webhook automations, report a contact’s goal and read workspace statistics. It cannot read conversations, contacts or transcripts, and it cannot change agents, billing or team settings.
Submit leads to automations
Send a lead from your application to a configured Webhook trigger. Only the key selected on that trigger is accepted. The automation can save the contact and run the tasks and CRM actions you connected. See Webhook leads.
Report a contact’s goal
Tell Versafy when a contact did what your automatic emails were working towards—for example, booked a demo or placed an order in your own system—so agents stop following up with them. Versafy matches one contact by email or phone, records the goal in the contact’s change history and stops the contact’s automatic email follow-ups. The response contains the contact’s ID and how many follow-ups stopped, never other contact details. If no contact, or more than one, has that email or phone, nothing changes. A repeated report is recorded once in the history and still stops follow-ups that started since, so give each new goal its own reference, such as an order number.
Start voice agent calls
- Start an outgoing call from a voice agent to any phone number, from one of your phone numbers that is available for outbound calls.
- Add instructions for that one call, such as why you are calling.
- Have the agent call back once if the call is unanswered, busy or reaches voicemail. You choose the delay, from one minute to 30 days, and by default the callback waits for your working hours.
- List your voice agents and phone numbers, and make a phone number available for outbound calls.
Calls started with a key use your balance like any other voice agent call.
Read workspace statistics
Bring spending, call results and chat performance into your own reports or dashboards—for example, a weekly sheet comparing answered and unanswered calls for each voice agent.
Statistics are read-only and cover whole days of a date range you choose, in your own time zone:
- Billing: your current balance and what was charged each day.
- Calls: voice agent calls by result—answered, no answer, busy, voicemail or failed—per day and per agent.
- Chat quality: chat agent conversation volume, response times, handovers to your team and, when Chat Quality is turned on, how conversations ended.
Statistics never include customer names, messages or transcripts.
Explore the API reference
The Tenant API reference is for the developers who connect your application. It lists every operation with its options and example responses, and lets them try requests with a key.
Open it with Tenant API Docs at the top of the API Keys page, or go to app.versafy.ai/api/tenant-api/docs .
The reference itself contains no workspace data, and nothing in it works without a key.
Create an API key
Create a separate key for each application and environment so you can identify its purpose and revoke it without interrupting unrelated work.
- Select New API key.
- Enter a clear Name that identifies the application and environment.
- Select Create key.
- Select Copy key right away.
- Store the key in an approved password manager or deployment secret store.
To view an existing key, select Show beside it, then Copy key. Close the dialog when finished. Store keys securely; revoking a key invalidates every copy.
Name keys clearly
Use names such as Lead follow-up — production or Reporting export — test. Avoid names that contain passwords, customer details or the key itself.
Use keys safely
- Give a key only to an application that should be able to both start calls and see your usage figures—every key can do both.
- Never place a key in agent instructions, the Knowledge Base, screenshots, chat messages or source code committed to a repository.
- Never put a key in a browser-side or public website location where visitors can inspect it.
- Share it only through an approved secret-management process.
- Treat copied logs and error reports as potentially sensitive.
Revoke an API key
Select Revoke for the exact key, then Revoke key to confirm. Revocation takes effect immediately for applications using it.
If a key may have been exposed, revoke it first, create a replacement, update the external application, and review recent calls and spending.
Troubleshoot API access
The key was not copied
To view an existing key, select Show beside it, then Copy key. Close the dialog when finished. Store keys securely; revoking a key invalidates every copy.
An application loses access
Confirm that its key was not revoked and that the application uses a key from the correct workspace.
A call does not start
Confirm that the caller number is available for outbound calls, that the voice agent is active, and that your balance covers the call. The API reference describes the error each request returns.