Aircall

Usage Instructions

Integrate the Aircall cloud phone system into the workflow. Start a call from a rep's Aircall app, transfer live calls, add notes and tags, search call history, manage shared contacts, list users and numbers, and read AI transcripts, summaries, and sentiment. Can also run workflows on Aircall call, contact, user, and AI events. Requires an Aircall API ID and API token.

Actions

Aircall Start Outbound Call

Start a call from a user's Aircall Workspace (desktop app) to a phone number, using one of the user's Aircall numbers. The user must be available, not on a call, and assigned to the number.

Input

ParameterTypeRequiredDescription
apiIdstringYesAircall API ID (the Basic auth username), from Company Settings > API Keys
apiTokenstringYesAircall API token (the Basic auth password), from Company Settings > API Keys
userIdstringYesID of the Aircall user whose Workspace places the call
numberIdstringYesID of the Aircall number to call from. The user must be assigned to it.
tostringYesPhone number to dial, in E.164 format (e.g. +18001231234)

Output

ParameterTypeDescription
startedbooleanWhether Aircall accepted the call; it now rings in the user's Workspace
userIdstringUser whose Workspace places the call
numberIdstringAircall number the call is placed from
tostringNumber being dialed

Aircall Transfer Call

Cold-transfer an ongoing call to one user, one team, or one external number. External transfers only work for inbound calls that have not been answered yet.

Input

ParameterTypeRequiredDescription
apiIdstringYesAircall API ID (the Basic auth username), from Company Settings > API Keys
apiTokenstringYesAircall API token (the Basic auth password), from Company Settings > API Keys
callIdstringYesAircall Call ID
userIdstringNoID of the user to transfer to. Set only one of userId, teamId, or number.
teamIdstringNoID of the team to transfer to. Set only one of userId, teamId, or number.
numberstringNoExternal number to transfer to, in E.164 format. Set only one of userId, teamId, or number.
dispatchingStrategystringNoFor team transfers only: "simultaneous" (default), "random", or "longest_idle"

Output

ParameterTypeDescription
transferredbooleanWhether Aircall accepted the transfer. A failed transfer later sends a call.unsuccessful_transfer webhook event.
callIdstringThe transferred call

Aircall Get Call

Get one call with its direction, status, duration, external number, user, recording, voicemail, comments, and tags.

Input

ParameterTypeRequiredDescription
apiIdstringYesAircall API ID (the Basic auth username), from Company Settings > API Keys
apiTokenstringYesAircall API token (the Basic auth password), from Company Settings > API Keys
callIdstringYesAircall Call ID
fetchContactbooleanNoInclude the contact attached to the call

Output

ParameterTypeDescription
callobjectThe call

Aircall List Calls

List calls in the Aircall account, optionally within a creation-date window. Only the last six months are available.

Input

ParameterTypeRequiredDescription
apiIdstringYesAircall API ID (the Basic auth username), from Company Settings > API Keys
apiTokenstringYesAircall API token (the Basic auth password), from Company Settings > API Keys
createdAfterstringNoOnly return items created at or after this time, as a UNIX timestamp in seconds or an ISO 8601 date
createdBeforestringNoOnly return items created at or before this time, as a UNIX timestamp in seconds or an ISO 8601 date
orderstringNoSort by creation date: "asc" (default) or "desc" for newest first
pagenumberNoPage number, starting at 1
perPagenumberNoResults per page, 1 to 50 (default 20)
fetchContactbooleanNoInclude the contact attached to each call

Output

ParameterTypeDescription
callsarrayCalls in this page

Aircall Search Calls

Search calls by external phone number, user, direction, or creation date. Only the last six months are available.

Input

ParameterTypeRequiredDescription
apiIdstringYesAircall API ID (the Basic auth username), from Company Settings > API Keys
apiTokenstringYesAircall API token (the Basic auth password), from Company Settings > API Keys
phoneNumberstringNoCalling or receiving phone number, ideally in E.164 format
userIdstringNoID of the Aircall user who made or received the calls
directionstringNo"inbound" or "outbound"
createdAfterstringNoOnly return items created at or after this time, as a UNIX timestamp in seconds or an ISO 8601 date
createdBeforestringNoOnly return items created at or before this time, as a UNIX timestamp in seconds or an ISO 8601 date
orderstringNoSort by creation date: "asc" (default) or "desc" for newest first
pagenumberNoPage number, starting at 1
perPagenumberNoResults per page, 1 to 50 (default 20)
fetchContactbooleanNoInclude the contact attached to each call

Output

ParameterTypeDescription
callsarrayMatching calls in this page

Aircall Add Comment

Add a note to a call. A call holds at most five notes, and notes cannot be edited or deleted afterwards. Emojis are removed.

Input

ParameterTypeRequiredDescription
apiIdstringYesAircall API ID (the Basic auth username), from Company Settings > API Keys
apiTokenstringYesAircall API token (the Basic auth password), from Company Settings > API Keys
callIdstringYesAircall Call ID
contentstringYesText of the note

Output

ParameterTypeDescription
commentedbooleanWhether the note was added
callIdstringThe commented call

Aircall Add Tags

Tag a call with one or more existing tags by ID. Tags are created by admins in the Aircall Dashboard.

Input

ParameterTypeRequiredDescription
apiIdstringYesAircall API ID (the Basic auth username), from Company Settings > API Keys
apiTokenstringYesAircall API token (the Basic auth password), from Company Settings > API Keys
callIdstringYesAircall Call ID
tagIdsstringYesTag IDs to add, comma-separated (e.g. "545, 546")

Output

ParameterTypeDescription
taggedbooleanWhether the tags were added
callIdstringThe tagged call
tagIdsarrayTag IDs added

Aircall Archive Call

Mark a call as archived. In Aircall Workspace this only sets the archived flag on the call record; it does not close the conversation.

Input

ParameterTypeRequiredDescription
apiIdstringYesAircall API ID (the Basic auth username), from Company Settings > API Keys
apiTokenstringYesAircall API token (the Basic auth password), from Company Settings > API Keys
callIdstringYesAircall Call ID

Output

ParameterTypeDescription
callobjectThe archived call

Aircall Create Contact

Create a shared contact in Aircall so reps see the caller name and details. Sending the same payload twice creates a duplicate, so search first.

Input

ParameterTypeRequiredDescription
apiIdstringYesAircall API ID (the Basic auth username), from Company Settings > API Keys
apiTokenstringYesAircall API token (the Basic auth password), from Company Settings > API Keys
firstNamestringNoFirst name (max 255 characters)
lastNamestringNoLast name (max 255 characters)
companyNamestringNoCompany name (max 255 characters)
informationstringNoExtra information, such as an external CRM ID
phoneNumbersstringYesPhone numbers, comma-separated (labeled "Work"), or a JSON array of {"label", "value"} objects. Up to 20.
emailsstringNoEmail addresses, comma-separated (labeled "Work"), or a JSON array of {"label", "value"} objects. Up to 20.

Output

ParameterTypeDescription
contactobjectThe created contact

Aircall Update Contact

Update a shared contact's name, company, or information. Phone numbers and emails are not changed.

Input

ParameterTypeRequiredDescription
apiIdstringYesAircall API ID (the Basic auth username), from Company Settings > API Keys
apiTokenstringYesAircall API token (the Basic auth password), from Company Settings > API Keys
contactIdstringYesAircall Contact ID
firstNamestringNoNew first name
lastNamestringNoNew last name
companyNamestringNoNew company name
informationstringNoNew extra information

Output

ParameterTypeDescription
contactobjectThe updated contact

Aircall Get Contact

Get a shared contact with its phone numbers and emails.

Input

ParameterTypeRequiredDescription
apiIdstringYesAircall API ID (the Basic auth username), from Company Settings > API Keys
apiTokenstringYesAircall API token (the Basic auth password), from Company Settings > API Keys
contactIdstringYesAircall Contact ID

Output

ParameterTypeDescription
contactobjectThe contact

Aircall Search Contacts

Find shared contacts by phone number or email. Contacts synced from third-party integrations are not visible to the API.

Input

ParameterTypeRequiredDescription
apiIdstringYesAircall API ID (the Basic auth username), from Company Settings > API Keys
apiTokenstringYesAircall API token (the Basic auth password), from Company Settings > API Keys
phoneNumberstringNoPhone number of the contact. Set this, email, or both.
emailstringNoEmail address of the contact. Set this, phone number, or both.
orderBystringNoSort field: "created_at" (default) or "updated_at"
createdAfterstringNoOnly return items created at or after this time, as a UNIX timestamp in seconds or an ISO 8601 date
createdBeforestringNoOnly return items created at or before this time, as a UNIX timestamp in seconds or an ISO 8601 date
orderstringNoSort by creation date: "asc" (default) or "desc" for newest first
pagenumberNoPage number, starting at 1
perPagenumberNoResults per page, 1 to 50 (default 20)

Output

ParameterTypeDescription
contactsarrayMatching contacts

Aircall List Users

List the users (agents and admins) of the Aircall account with their availability.

Input

ParameterTypeRequiredDescription
apiIdstringYesAircall API ID (the Basic auth username), from Company Settings > API Keys
apiTokenstringYesAircall API token (the Basic auth password), from Company Settings > API Keys
createdAfterstringNoOnly return items created at or after this time, as a UNIX timestamp in seconds or an ISO 8601 date
createdBeforestringNoOnly return items created at or before this time, as a UNIX timestamp in seconds or an ISO 8601 date
orderstringNoSort by creation date: "asc" (default) or "desc" for newest first
pagenumberNoPage number, starting at 1
perPagenumberNoResults per page, 1 to 50 (default 20)

Output

ParameterTypeDescription
usersarrayUsers in this page

Aircall Get User

Get one Aircall user by ID or email, including availability and default number ID.

Input

ParameterTypeRequiredDescription
apiIdstringYesAircall API ID (the Basic auth username), from Company Settings > API Keys
apiTokenstringYesAircall API token (the Basic auth password), from Company Settings > API Keys
userIdstringYesUser ID or the email address of the user

Output

ParameterTypeDescription
userobjectThe user

Aircall List Numbers

List the phone numbers of the Aircall account. Use a number ID to start an outbound call.

Input

ParameterTypeRequiredDescription
apiIdstringYesAircall API ID (the Basic auth username), from Company Settings > API Keys
apiTokenstringYesAircall API token (the Basic auth password), from Company Settings > API Keys
createdAfterstringNoOnly return items created at or after this time, as a UNIX timestamp in seconds or an ISO 8601 date
createdBeforestringNoOnly return items created at or before this time, as a UNIX timestamp in seconds or an ISO 8601 date
orderstringNoSort by creation date: "asc" (default) or "desc" for newest first
pagenumberNoPage number, starting at 1
perPagenumberNoResults per page, 1 to 50 (default 20)

Output

ParameterTypeDescription
numbersarrayNumbers in this page

Aircall Get Call Transcription

Get the transcript of an ended call or voicemail, split into timed utterances by speaker. Requires the Aircall AI Assist package.

Input

ParameterTypeRequiredDescription
apiIdstringYesAircall API ID (the Basic auth username), from Company Settings > API Keys
apiTokenstringYesAircall API token (the Basic auth password), from Company Settings > API Keys
callIdstringYesAircall Call ID
modestringNoTranscription mode: "async" or "realtime" (realtime needs AI Assist Pro)

Output

ParameterTypeDescription
transcriptionobjectThe transcription
↳ idnumberTranscription ID
↳ callIdnumberCall ID
↳ callCreatedAtstringWhen the call was created (ISO 8601)
↳ typestring"call" or "voicemail"
↳ languagestringDetected language
↳ utterancesarrayUtterances in order
↳ startTimenumberStart offset in seconds
↳ endTimenumberEnd offset in seconds
↳ textstringWhat was said
↳ participantTypestring"internal" (Aircall user) or "external"
↳ phoneNumberstringNumber of an external participant
↳ userIdnumberUser ID of an internal participant
transcriptTextstringThe utterances joined as "speaker: text" lines, where the speaker is "agent <userId>" or the external phone number

Aircall Get Call Summary

Get the AI-generated summary of an ended call. Requires the Aircall AI Assist package.

Input

ParameterTypeRequiredDescription
apiIdstringYesAircall API ID (the Basic auth username), from Company Settings > API Keys
apiTokenstringYesAircall API token (the Basic auth password), from Company Settings > API Keys
callIdstringYesAircall Call ID

Output

ParameterTypeDescription
summaryobjectThe call summary
↳ idnumberSummary ID
↳ callIdnumberCall ID
↳ createdAtstringWhen the summary was created (ISO 8601)
↳ contentstringSummary text

Aircall Get Call Sentiment

Get the AI sentiment of each external participant of an ended call. Requires the Aircall AI Assist package.

Input

ParameterTypeRequiredDescription
apiIdstringYesAircall API ID (the Basic auth username), from Company Settings > API Keys
apiTokenstringYesAircall API token (the Basic auth password), from Company Settings > API Keys
callIdstringYesAircall Call ID

Output

ParameterTypeDescription
sentimentobjectThe call sentiment
↳ idnumberSentiment ID
↳ callIdnumberCall ID
↳ participantsarraySentiment per participant
↳ phoneNumberstringParticipant phone number
↳ valuestringSentiment, e.g. POSITIVE
↳ typestringParticipant type, e.g. external

Triggers

A Trigger is a block that starts a workflow when an event happens in this service.

Aircall Webhook

Trigger a workflow on Aircall call, voicemail, contact, user, number, message, and AI events.