Skip to main content
Integrations · Vapi
A Guild agent can create Vapi assistants, place calls, run outbound campaigns, and pull call recordings and analytics without any manual steps. Guild stores the Vapi API key server-side and injects it as a bearer token, so agent code never sees the credential. Credential policies let you restrict which operations each agent may call, and every request passes through Guild’s credential proxy before it reaches Vapi.

Book a demo

See how teams govern agents that use Vapi.

Talk to sales

Get access to Guild, then connect Vapi to your first agent.

What the Vapi integration exposes

The tools cover assistant configuration, call lifecycle, outbound campaigns, phone number management, knowledge bases, files, evals, simulations, scorecards, structured outputs, analytics queries, and reporting insights. Artifact tools let an agent download assistant, customer, mono, stereo, and video recordings, call logs, and packet captures. Analytics tools run metric queries against call or subscription data with configurable time ranges, groupings, and aggregations. Insight tools create, preview, and run saved reporting charts and text-value reports against call data.

How it works

1

Connect your Vapi credential

In Guild, go to Access & setup > Credentials, click Connect, select vapi, and paste your key into API Key. See Credentials for workspace, member, and agent-scoped options.
2

Import and spread the tools

Add guildai~vapi to your agent’s dependencies, then import VapiTools and spread it into your agent’s tools object. Use pick() with the vapi_ prefix to include only the tools your agent needs.
3

Apply credential policies

Write ALLOW and DENY rules on the credential to limit which Vapi operations each agent may call. Guild’s credential proxy enforces rules before any request reaches Vapi.

Why Vapi access needs governing

Vapi tools can create and delete assistants, place calls, launch outbound campaigns, import phone numbers, and modify knowledge bases. An agent acting without constraints could create campaigns, delete call recordings, or remove phone numbers across the organization. Guild’s credential policies let you write ALLOW and DENY rules scoped to specific agents or workspaces, so a reporting agent can run analytics queries while a separate agent handles assistant configuration. Guild stores the Vapi API key and injects it server-side through its credential proxy; agent code never receives the raw key. Credentials can be scoped to an account, a single workspace, a single member, or one agent, so the key’s reach matches the agent’s role. An agent that should only download recordings gets an ALLOW rule for artifact operations and nothing else. One that should not delete anything gets a DENY rule on all delete operations, while an allow-all rule covers the rest.

About the Vapi integration

Agents can create and configure AI voice assistants, initiate and manage calls or outbound campaigns, and retrieve call recordings and logs. They can also manage phone numbers, knowledge bases, and run analytics or reporting insights against call data. The integration is guildai~vapi.

Authentication

  • Type: API key
  • Header: Guild sends the key as a bearer token in the Authorization header

Setup

1

Connect Vapi

In Guild, go to Access & setup > Credentials, click Connect, select vapi, and paste the key into API Key.
See Credentials for workspace, member, and agent-scoped credentials.

Usage

Selecting specific tools

Tools are named with the vapi_ prefix. Use pick() to include only what your agent needs.

Tools

Tools in the latest published version of guildai~vapi:

Frequently asked questions

Yes. Write an ALLOW rule scoped to your reporting agent covering operations like vapi_calls_list, vapi_calls_get, and vapi_analytics_get, and a separate ALLOW rule scoped to your management agent covering assistant and campaign tools. Guild’s credential proxy enforces the rules before any request reaches Vapi. See Credential policies.
Not yet. The catalog entry for guildai~vapi lists no webhook events, so the integration does not support event-triggered runs based on Vapi call status changes.
vapi_phone_numbers_create creates a Vapi phone number or imports a number from a supported provider, including Twilio, Vonage, Telnyx, or a bring-your-own provider.
Open the installed agent’s detail page and connect a Dedicated to this agent credential. Guild stores it under the account that owns the workspace and never serves it to other agents. See Credentials for the full resolution order.

Put a governed agent on Vapi this week

Book a demo

See how teams govern agents that use Vapi.

Talk to sales

Get access to Guild, then connect Vapi to your first agent.
Also runs on Guild: Ably · Customer.io · Daily · Discord Read: Docs: Credential policies · Credentials · Tools in agents
Last modified on November 25, 2026