Retellai

Learn how to use Retellai with Composio

Overview

Enum

RETELLAI

Description

RetellAI captures calls and transcripts, enabling businesses to analyze conversations, extract insights, and enhance customer interactions in one centralized platform

Authentication Details

api_key
stringRequired

Actions

This endpoint allows purchasing a new phone number with a specified area code and binding it to designated agents for inbound and outbound calls. it requires json with agent ids and area code. responses indicate the creation status or errors.

Action Parameters

area_code
integer
inbound_agent_id
string
nickname
string
outbound_agent_id
string

Action Response

data
object
error
successful
boolean

Initiate an outbound call by post to ‘/v2/create-phone-call’. requires ‘from number’ and ‘to number’ in e.164 format. optional overrides and metadata supported. on success, returns call details including type, status, and ids.

Action Parameters

from_number
stringRequired
override_agent_id
string
to_number
stringRequired

Action Response

data
object
error
successful
boolean

The /v2/create-web-call endpoint creates a web call with a unique agent id, returning call details like type, token, call id, and status in json format, with a 201 response. optional metadata and variables can be included.

Action Parameters

agent_id
stringRequired

Action Response

data
object
error
successful
boolean

Deletes an existing phone number identified by its e.164 format.

Action Parameters

phone_number
stringRequired

Action Response

data
object
error
successful
boolean

Retrieves a list of all phone numbers associated with the account.

Action Parameters

Action Response

data
object
error
successful
boolean

The /v2/list-calls endpoint retrieves call records with filters (agent id, timestamps), offers sorting, pagination, and handles different responses (success, bad request, unauthorized, server error) in json format.

Action Parameters

filter__criteria__after__end__timestamp
integer
filter__criteria__after__start__timestamp
integer
filter__criteria__agent__id
array
filter__criteria__before__end__timestamp
integer
filter__criteria__before__start__timestamp
integer
limit
integerDefaults to 100
pagination_key
string
sort_order
stringDefaults to descending

Action Response

data
object
error
successful
boolean

Retrieve call details by id for web/phone calls, including type, agent id, status, timestamps, and web access token; covering responses from success to server errors.

Action Parameters

call_id
stringRequired

Action Response

data
object
error
successful
boolean

Fetches the details of a given phone number in e.164 format.

Action Parameters

phone_number
stringRequired

Action Response

data
object
error
successful
boolean

“access specific voice details including its name, provider, accent, gender, and a preview audio url using the unique voice id. parameters required.”

Action Parameters

voice_id
stringRequired

Action Response

data
object
error
successful
boolean

Updates the agent bound to a purchased phone number.

Action Parameters

inbound_agent_id
string
nickname
string
outbound_agent_id
string
phone_number
stringRequired

Action Response

data
object
error
successful
boolean