On this page
You can connect AvaritCall to your own systems in three ways: ready-made integrations you set up without code, webhooks that notify your server when events happen, and the REST API and MCP for developers. For an overview of supported connections, see the Integrations page.
Which option should I use?
| What you need | Option | Where |
|---|---|---|
| The agent adds a contact to a CRM, a row to a spreadsheet or triggers a workflow during the call | Ready-made integration | Agent › Tools |
| My server is notified when a call ends | Webhook | More › Developers or Settings › Connections |
| I start calls and read results from my own software | REST API | More › API keys |
| I manage my account from ChatGPT, Claude or Cursor | MCP | More › MCP · AI assistants |
| The agent books appointments in a calendar | Calendar connection | Settings › Connections › Calendar |
| The agent or reports send email | Email (SMTP) | Settings › Connections › Messaging Integration |
Ready-made integrations
A ready-made integration gives your agent a tool it can use during the call: for example, adding the name and phone number collected on the call to your CRM as a contact, or adding a row to a spreadsheet. To open the screen, go to your agent's page and click "Connect n8n, CRM, Google Sheets or WhatsApp" in the "Tools" section.
Main connections in the catalog:
| Category | Connections | Action |
|---|---|---|
| Automation | n8n, Webhook (HTTPS), Zapier, Make | Sends data to a workflow |
| CRM | HubSpot, Pipedrive, HighLevel, Bitrix24, Zoho CRM, Salesforce | Creates a contact or a lead |
| Sheets and data | Google Sheets, monday.com, Notion | Adds a row, an item or a page |
| Messaging | Meta WhatsApp, Slack, Telegram, Microsoft Teams | Sends an approved WhatsApp template or a message |
| Support | Freshdesk | Creates a support ticket |
| E-commerce | Shopify, WooCommerce | Looks up order status |
A "Beta" badge on a card means the connection was tested against the service's official API documentation but not yet verified with a live account, so check the result in your own account the first time you use it. Setup has four steps:
- "1. Choose an integration": find the connection with the search box or the category buttons and select it.
- "2. Connect your account": enter a "Connection name" and the details the service asks for (API key, token or webhook URL), then click "Save connection". Credentials are encrypted and never shown again.
- "3. Agent and scenario": choose the agent that will use the tool, then fill in "Tool name" and "When should the agent use this tool?". The "Information collected by the agent (JSON Schema)" box lists what the agent asks the caller for on the call, and it comes prefilled with fields that suit the connection you chose (for example, name and phone for n8n). To add a new item, add a line inside properties in the same format (for example, "product": { "type": "string" }); if it is required, also add its name to the required list. Then click "Fill from parameters" under "Field mapping", or add rows with "Add field", and choose where each field's value comes from: "Tool parameter" (what the agent collects from the caller), "Saved variable", "Call information" or "Fixed text". You can see the format of the data in the "Shape of the body to send" preview.
- "4. Test and activate": click "Save and validate" with sample values; if validation passes, click "Activate tool". Validation sends no real message and creates nothing in the connected service.
Once activated, the tool appears in the agent's "Tools" list. You can follow its run history under "Recent executions" at the bottom of the "Ready-made integrations" screen; click "Refresh" to update the list. If you want the data sent after the call ends rather than during it, tick "Send after the call completes" in the "Website chatbot and post-call delivery" section on the same screen. The agent still uses the tool during the call, but the data is sent only when the call completes. Nothing is sent for calls that do not complete, such as unanswered calls.
n8n
In n8n, create a workflow with a Webhook node. Set the node's HTTP Method to POST and its Authentication to Header Auth or Basic Auth (None and JWT Auth are not supported). Publish the workflow and copy the Production URL; do not use the Test URL. In AvaritCall, paste this address into "Production webhook URL (HTTPS)" and choose the option that matches your n8n setting: "Header authentication" for Header Auth (the header name and value must match n8n exactly), or "Username and password" for Basic Auth. "Test connection" only checks the settings; it does not trigger your workflow. The information collected on the call reaches n8n as a JSON body built from the fields in "Field mapping".
Google Sheets
In "Spreadsheet ID", enter the part of the sheet address between /d/ and /edit (docs.google.com/spreadsheets/d/[ID]/edit); do not paste the whole address. "Append range" comes prefilled with A:Z, which adds rows to the first tab of the sheet. To write to another tab, put the tab name in front (for example, Orders!A:Z). The tab name must match the tab at the bottom exactly; if it contains spaces, wrap it in single quotes. The connection needs an OAuth web application client in Google Cloud with the Sheets API enabled: enter the client ID and secret, click "Open Google consent", add the "Google redirect URL" shown to your client in Google Cloud, then use "Continue with Google" to grant access with a Google account that can edit the sheet. The client's publishing status must be "In production"; in "Testing", Google drops the connection after 7 days. If you already have a refresh token, you can use "Advanced: use an existing refresh token". In step 3, type the field names in "Column order (comma separated)" in the same order as the columns in your sheet (for example, name, phone, product, quantity) and click "Create fields from columns". Names must start with a letter and contain only unaccented letters, digits and _, with no spaces. The names are not written to the sheet: the values from the call are added to the columns from left to right in this order.
Meta WhatsApp
Enter your Meta WhatsApp Business account's "WhatsApp Business account ID (WABA)", "Phone number ID" and "Access token". In step 3, choose a template approved by Meta; the agent sends messages with this template. WhatsApp messages can only be sent with approved templates.
Webhooks
A webhook sends a signed HTTP request to your server when an event you choose happens. On the "More" › "Developers" page, open the "Webhooks" tab, click "Add webhook", enter your server's HTTPS address in "Receiver URL" and choose the events to send.
Events that are sent:
| Event | Technical name | When it is sent |
|---|---|---|
| Call ended | call_ended | When a call is completed |
| Call failed | call_failed | When a call ends with another outcome (such as no answer, busy or voicemail) |
| Agent created / Agent updated | profile_created / profile_updated | When an agent is created or its settings are saved |
| Balance low | credits_low | When a charge takes your balance below the warning threshold |
| Balance used up | credits_depleted | When a charge takes your balance to zero or below |
Other events in the list (such as "Call started", "Plan changed" and the minute threshold events) are not sent at the moment, so build your integration around the events above.
When you create a webhook, its signing key is shown once; keep it somewhere safe. Every request carries these headers:
- X-Webhook-Signature: the HMAC-SHA256 of the raw request body bytes, computed with the signing key (lowercase hex). Compute the same value on your side and compare it in constant time.
- X-Webhook-Event: the technical name of the event.
- X-Webhook-Delivery: the delivery ID. Use it to avoid processing the same delivery twice.
If your server does not return a successful response within 10 seconds, the delivery is tried at most three times: right away, after 5 minutes and after 30 minutes. Redirects are not followed. If you add numbers to a campaign with a variable named exactly contact_id (variables.contact_id in the API; when you upload a file in the panel, name that column's variable contact_id), the value comes back in the variables.contact_id field of the "call_ended" and "call_failed" events. Variables with other names are not included in the webhook.
To test a webhook and follow its deliveries, use the "Webhooks" section on the "Settings" › "Connections" tab. From the "Webhook actions" menu you can choose "Send test event"; "Deliveries" shows the status, HTTP code and body of each delivery; and "Resend" repeats a failed delivery. Use the "Webhook enabled" switch to turn a webhook off for a while.
API keys and REST API
- On the "More" › "API keys" page, click "New key".
- Give the key a name that says what it is for (for example, CRM integration).
- In the "Permissions" table, choose read or write access only for the resources you need. "All permissions" cannot be combined with other choices.
- Click "Create key". The key is shown only this once: copy it, keep it somewhere safe and tick "I've saved the key somewhere safe".
| Resource | Read | Write |
|---|---|---|
| Agents | Yes | Yes |
| Calls | Yes | No |
| Campaigns | Yes | Yes |
| Knowledge base | Yes | Yes |
| Balance and invoices | Yes | No |
| Feedback | Yes | Yes |
| Team members | Yes | Yes |
| Sub-users | Yes | Yes |
| Chatbots | Yes | Yes |
Send the key in requests with the Authorization: Bearer <key> header. You can have at most 10 active keys at a time. "Renew key" in the key's menu creates a new key, and the old one keeps working for 24 more hours so you can update your systems without downtime. "Revoke" turns the key off immediately, and this cannot be undone.
Data protection declaration for API calls
Requests that start calls or add numbers to call (a single call, adding numbers to a campaign, adding a contact to a CRM stage that calls automatically) need a declaration that the numbers were obtained lawfully and that you have the right to call them. There are two ways to give it:
- Standing declaration (recommended): if you choose "All permissions" or write access to campaigns when you create a key, the dialog shows a declaration box. For an existing key, choose "Give declaration" from the key's menu. Call and number requests made with a declared key need no declaration field. You can take it back with "Withdraw declaration" in the same menu.
- Per-request declaration: add "kvkk_attested": true to the request body. Send this field only after the person responsible for the numbers has read and accepted the declaration text.
A request without a declaration is refused with the kvkk_attestation_required error code (HTTP 422 for requests with a body, HTTP 409 for campaign starts without a body); no call is made and no number is added. For campaign starts without a body, first send the declaration with the campaign update request (PUT /campaigns/{campaign id}). The key list shows each key's declaration status next to it: given (with the date), none, or the date its transition period ends.
Your request limit appears in the summary strip at the top of the "Developers" page. Every API endpoint is described in the public technical documentation:
- Interactive API reference: avaritcall.com/api/v1/docs
- OpenAPI schema: avaritcall.com/api/v1/openapi.json
- Guide for AI agents: avaritcall.com/api/v1/docs/llms.txt
On the "Developers" page, the "API console" tab lets you try endpoints directly with your panel session. Write operations change your real data.
MCP: Manage your account from your AI assistant
With MCP (Model Context Protocol), you can manage your AvaritCall account from AI assistants such as ChatGPT, Claude and Cursor: list calls, create campaigns, check your balance and more. The "More" › "MCP · AI assistants" page shows the server address (https://avaritcall.com/api/v1/mcp) and the connection steps for each assistant:
- ChatGPT and Claude: connect by signing in with your AvaritCall account.
- Claude Code, Cursor and VS Code: connect with your API key, using the command or configuration on the page.
- Claude Desktop: connects through an API key bridge.
What the assistant can do depends on your key's permissions. Some actions, such as creating or revoking API keys and deleting the account, are not available through MCP.
Starting calls and uploading numbers through MCP also needs the declaration. If you connected with an API key that has a standing declaration, there is no extra step. If you connected by signing in with your account, the declaration is sent separately with each call and number upload request; a request without it is refused and the declaration text is shown to the assistant. Do not let the assistant do these actions until you have read and accepted the declaration text. Details are in Data protection declaration for API calls above.
Calendar connection
To let your agent read available times and book appointments, choose a "Calendar provider" on the "Calendar" card of the "Settings" › "Connections" tab and connect it. "Panel calendar" needs no extra account; just select it. For Cal.com, enter the "Event type ID", "API key" and "Time zone"; available times come from the Cal.com event type's own settings. Then click "Save settings".
Next, on the agent's page, turn on "Calendar and appointments" in the "Calendar, tasks and memory" section and enter the "Appointment length". With this setting, the agent can check availability and book appointments.
Email (SMTP)
The agent's "Send an e-mail" tool and call summary emails are sent from your own email account. On the "Settings" › "Connections" tab, click "Set up Email" on the "Messaging Integration" card:
- "Select Provider": Gmail / Google Workspace, Outlook / Office 365, SendGrid, Mailgun, Resend or "Custom SMTP (Other)".
- "Enter Credentials": SMTP Host, SMTP Port, SMTP Username, SMTP Password / API Key and Sender Email Address.
- "Test Connection": send a test email to a recipient address, then save the settings.
Common issues
| Symptom | Likely cause | Fix |
|---|---|---|
| The "Activate tool" button is disabled | Validation has not passed yet. | Fix the error shown after "Save and validate" and try again. |
| The n8n test passed but the workflow did not run | The test only checks the settings; it does not trigger the workflow. | Make a test call and check "Recent executions"; make sure you use the production URL in n8n. |
| The agent never uses the tool | The "When should the agent use this tool?" description is vague, or the tool is not active. | Make the description specific (for example, "When the caller gives their name and phone number") and check that the tool is active. |
| Webhook requests are rejected | The signature is computed incorrectly. | Compute the signature over the raw body bytes, not over parsed JSON. |
| The same webhook was processed twice | The delivery was retried. | Keep the X-Webhook-Delivery value and skip repeats. |
| The API returns 401 or 403 | The key was revoked or renewed, or lacks the needed permission. | Check the key's status and permissions; create a new key if needed. |
| I lost my API key and cannot see it | A key is shown only when it is created. | Create a new key with "Renew key". |
| The agent cannot book appointments | No calendar is connected, or "Calendar and appointments" is off for the agent. | Check the calendar card and the agent setting. |
Help
To connect a system that is not on the list, or to set up an integration specific to your industry, write to us through the contact page. Our team can set it up with you.