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

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

Action Parameters

phone_number
stringRequired

Action Response

data
object
successful
boolean
error

Updates the agent bound to a purchased phone number.

Action Parameters

phone_number
stringRequired
inbound_agent_id
string
outbound_agent_id
string
nickname
string

Action Response

data
object
successful
boolean
error

“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
successful
boolean
error

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

Action Parameters

Action Response

data
object
successful
boolean
error

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

inbound_agent_id
string
outbound_agent_id
string
area_code
integer
nickname
string

Action Response

data
object
successful
boolean
error

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
to_number
stringRequired
override_agent_id
string

Action Response

data
object
successful
boolean
error

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

Action Parameters

phone_number
stringRequired

Action Response

data
object
successful
boolean
error

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
successful
boolean
error

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__agent__id
array
filter__criteria__before__start__timestamp
integer
filter__criteria__after__start__timestamp
integer
filter__criteria__before__end__timestamp
integer
filter__criteria__after__end__timestamp
integer
sort_order
stringDefaults to descending
limit
integerDefaults to 100
pagination_key
string

Action Response

data
object
successful
boolean
error

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
successful
boolean
error