First-party app
Aircall

Aircall

Read and act on Aircall calls, contacts, users, teams, numbers, tags and webhooks over the Aircall Public API.

stable CommunicationCustomer SupportCustomer Relationship Management

About

Aircall ships in the w6w first-party pack. It declares 38 actions, 2 health checks, and the host runs its code in a sandbox that never sees the credential.

App id
io.w6w.aircall
Version
0.1.2
Author
w6w
Licence
MIT
Categories
Communication · Customer Support · Customer Relationship Management

Overview

Aircall connects a workflow to a company’s cloud phone system — call history and live-call actions, contact records, and the users, teams, numbers, tags and webhooks that tie them together, all over Aircall’s own Public API.

Calls can be listed, searched, tagged, commented on, transferred, and paused or resumed mid-recording. Contacts are created, updated, searched by phone or email, and deleted. Agents can be dialled or have a call started for them directly from a workflow, and webhooks can be created, listed and updated so a company’s own integrations keep receiving Aircall events.

Teams and numbers round out the picture for routing and reporting: list a team’s members, see which numbers a user can call from, and pull tag definitions to apply consistently across every conversation. It’s a fit for support and sales workflows that need call context in the same place as ticketing, CRM or notification tools — anywhere a call, contact or webhook needs to trigger or receive automation.

Build with Aircall

Three routes to the same 38 actions. The Workflow tab is generated from Aircall's own manifest and carries its real ids, so it is copy-pasteable; the Code and CLI examples are the same call for any action on any app, so every app-specific value in them is a blank you fill in.

Comment on Call

call-comment

Add a note to a Call. Maximum five per Call, cannot be edited or deleted, and shows no author.

Retrieve Call

call-get

Fetch one Call by id, with its user, number, comments, tags and recording links.

List Calls

call-list

List the company's Calls with their user, number, comments and tags. Six months of history; 10,000 records reachable by paging.

Pause Call Recording

call-recording-pause

Pause live recording on an in-progress Call — the compliance pause before a caller reads out card details.

Resume Call Recording

call-recording-resume

Resume live recording on an in-progress Call after a compliance pause.

Search Calls

call-search

Find Calls by direction, user, phone number or tags. Tags are ANDed; transferred calls index under the transfer destination.

Tag Call

call-tag

Apply one or more existing Tags to a Call, by Tag ID.

Transfer Call

call-transfer

Cold-transfer a live Call to a User, a Team or an external number. Exactly one destination.

Retrieve Company

company-get

Fetch the account's name and its user and number counts. Read-only — companies are only editable in the Aircall Dashboard.

Create Contact

contact-create

Create a shared Contact with at least one phone number. Every Contact created via the API is shared company-wide.

Delete Contact

contact-delete

Delete a shared Contact. Calls that referenced it are unaffected.

Retrieve Contact

contact-get

Fetch one shared Contact by ID, with its phone numbers and emails.

List Contacts

contact-list

List the company's shared Contacts. Contacts synced from third-party integrations are not exposed by the API even though Workspace shows them.

Search Contacts

contact-search

Find shared Contacts by phone number or email — the lookup behind caller identification. No name or free-text search exists.

Update Contact

contact-update

Update a shared Contact's name, company or information. Phone numbers and emails have their own endpoints and are not touched here.

Retrieve Number

number-get

Fetch one phone Number with its assigned Users, recording setting and music/message URLs.

List Numbers

number-list

List the company's phone Numbers. Read availability_status, not the deprecated `open` and `is_ivr` fields, which Aircall no longer updates for Smartflows numbers.

Create Tag

tag-create

Create a call Tag with a name and a hex colour. Names must be unique company-wide.

Delete Tag

tag-delete

Delete a call Tag. It is also removed from every Call that carried it, and this cannot be undone.

Retrieve Tag

tag-get

Fetch one call Tag by ID.

List Tags

tag-list

List the company's call Tags with their IDs and colours — the lookup that turns a tag name into the ID that Tag Call and Search Calls require.

Update Tag

tag-update

Rename a call Tag or change its hex colour.

Retrieve Team

team-get

Fetch one Team with its members. Member rows here omit availability — List Teams carries more per user than this does.

List Teams

team-list

List Teams with their members. This endpoint's user rows carry availability_status and default_number_id, which Retrieve Team's do not.

Add User to Team

team-user-add

Add one User to one Team. Returns the updated Team with its members.

Remove User from Team

team-user-remove

Remove one User from one Team. The User and their Calls are untouched — only the Team's call distribution changes.

Check User Availability

user-availability-get

One User's operational availability: available, offline, do_not_disturb, in_call or after_call_work.

List User Availability

user-availability-list

Operational availability for every User — available, offline, do_not_disturb, in_call or after_call_work. The only endpoint that reports the granular status.

Start Outbound Call

user-call-start

Click-to-call: place an outbound call from a User's Aircall Workspace. Desktop Workspace only; the User must be available and assigned to the Number.

Dial Number in Workspace

user-dial

Click-to-dial: pre-fill a User's Workspace dialler with a number. The agent chooses the line and starts the call — nothing is dialled by this call itself.

Retrieve User

user-get

Fetch one User by numeric ID or by email address, via the v2 API.

List Users

user-list

List the company's Users via the v2 API (v1 is being deprecated). The v2 User carries no numbers array — use List User Numbers for that.

List User Numbers

user-number-list

List the Numbers a User is assigned to. Needed because the v2 User object drops the numbers array, and because Start Outbound Call requires a Number the User is associated with.

Create Webhook

webhook-create

Register a URL to receive Aircall events, and get back the token used to authenticate deliveries. Leaving events empty subscribes to ALL of them.

Delete Webhook

webhook-delete

Unregister a Webhook permanently. To pause deliveries instead, set it inactive with Update Webhook.

Retrieve Webhook

webhook-get

Fetch one Webhook by UUID (or by its legacy numeric ID). The shared authentication token is stripped.

List Webhooks

webhook-list

List registered Webhooks. Each webhook's shared authentication token is stripped — Create Webhook is the only place it is returned.

Update Webhook

webhook-update

Change a Webhook's URL, name, events or active flag — including re-activating one Aircall auto-disabled. Use the events action to add or remove rather than replace.

A workflow step names the app and the action, and the editor fills in the connection when you pick one. This is the Step shape from the workflow spec, carrying Aircall's real ids.

{
  "manifestVersion": "2",
  "name": "aircall-example",
  "steps": [
    {
      "id": "call-comment",
      "uses": {
        "app": "io.w6w.aircall",
        "action": "call-comment",
        "connection": "conn_YOUR_CONNECTION_ID"
      },
      "with": {
        "callId": "<callId>",
        "content": "<content>"
      }
    }
  ]
}

Here are some of the things you can do

  • Comment on Call

    perform
    call-comment
  • Retrieve Call

    read
    call-get
  • List Calls

    read
    call-list
  • Pause Call Recording

    perform
    call-recording-pause
  • Resume Call Recording

    perform
    call-recording-resume

+33 more actions available

Every app-specific value here is a blank you have to fill in. An app action is reached through the connection that authenticates it, so the address is a connection id, not the app id — and connections belong to your account, so a public page cannot know yours. Create one for Aircall, then fill in the three blanks: conn_YOUR_CONNECTION_ID, the action key, and the parameters that action declares. The call itself is real — the shape is transcribed from the studio's own snippet builder, which prints the same kind of blanks — but nothing in it is specific to Aircall. The Workflow tab is where this app's real ids are.

Install
npm install @w6w/sdk
yarn add @w6w/sdk
pnpm add @w6w/sdk
deno add npm:@w6w/sdk
Code
import { W6wClient, isActionRun } from "@w6w/sdk";

// Reads W6W_BASE_URL and W6W_TOKEN from the environment when omitted.
const client = new W6wClient();

const envelope = await client.run({
  urn: "conn_YOUR_CONNECTION_ID",
  action: "user-call-start",
  payload: {
    userId: "<value>",
    numberId: "<value>",
    to: "<value>",
  },
});

if (isActionRun(envelope)) console.log(envelope.value);
Install the CLI
npm install -g @w6w/cli
CLI
w6w run conn_YOUR_CONNECTION_ID --action user-call-start --payload '{"userId":"<value>","numberId":"<value>","to":"<value>"}'

Give an AI agent Aircall — without giving it Aircall's credentials. One MCP endpoint exposes every app, function and workflow the caller is entitled to, as tools it can discover and run. Access is granted per team while we onboard.

One tool call
{
  "name": "w6w_invoke",
  "arguments": {
    "ref": "app:io.w6w.aircall#call-comment",
    "input": {
      "callId": "<callId>",
      "content": "<content>"
    }
  }
}

Every tool names its target with a single ref. The app: form above doesn't name a connection at all — the host resolves which of the caller's Aircall connections to sign with, and refuses rather than guesses when the answer is ambiguous.

What the agent gets

Credentials it can't read

The token is attached host-side, at the moment of the call. It is never a tool argument, never in the model's context, and never in a transcript — so a prompt injection has nothing to exfiltrate.

A tool surface scoped to the caller

Tools are derived per end user from what that person has actually connected and is entitled to — not one shared bot identity carrying the union of everyone's access.

A durable workflow in one call

Multi-step work runs on the workflow engine and returns a run handle the agent can poll — retries, branching and state survive the conversation that started them.

Health-aware discovery

Aircall's declared health checks are on the surface too, so an agent can tell "the vendor is down" from "your credential expired" before it burns a retry on either.

The MCP surface is part of the hosted platform. Aircall itself is MIT, and the runtime that executes it is source-available (FSL).

Request MCP access

Health checks

Aircall declares its own checks, so its health is a property of the app rather than something the host guesses at.

service

Aircall platform status

Component status from status.aircall.com. Covers `API & Webhooks` — the surface this app calls — plus inbound/outbound calling, messaging, the Dashboard, Workspace apps, AI Assist and the CRM integrations, across 50 components.

quota

API request-rate headroom

Reads X-AircallApi-Limit / -Remaining / -Reset off a signed GET /v1/ping. The limit is 120 requests per minute per COMPANY, shared with every other integration on the account — not per API key.