phone-officeRetell

Connect your Retell AI agents to KrosAI phone numbers for emerging market coverage.

Overview

Retell AI provides voice agents with natural conversation capabilities. KrosAI enables routing calls from African and Middle Eastern phone numbers to Retell agents.

Prerequisites

  • KrosAI account with verified KYC

  • Retell account with an agent created

  • At least one KrosAI phone number

Setup Steps

1

Get Your Retell Agent ID

2

Connect Retell in KrosAI

  • Go to Settings → Integrations in your KrosAI Dashboard

  • Click Connect next to Retell

  • Enter your Retell API Key

  • Click Save & Test

3

Create a Retell Endpoint

Create endpoint (curl)
curl -X POST "https://api.krosai.com/v1/endpoints" \
  -H "x-api-key: kros_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Retell Booking Agent",
    "type": "agent",
    "url": "sip:[email protected]",
    "provider_config": {
      "provider": "retell",
      "agent_id": "your-retell-agent-id"
    }
  }'
4

Attach to Phone Number

Attach endpoint to phone number (curl)
curl -X PATCH "https://api.krosai.com/v1/phone-numbers/pn_abc123" \
  -H "x-api-key: kros_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "endpoint_id": "ep_retell_xyz"
  }'

Configuration Options

Provider Config Fields

Field
Required
Description

agent_id

Yes

Your Retell agent ID

retell_phone_number

No

Retell phone number for outbound (optional)

Outbound Calls

Dynamic Variables

Pass dynamic data to your Retell agent:

Webhooks

Receive call events including Retell-specific data:

Troubleshooting

chevron-rightCall Not Connectinghashtag
  • Verify your Retell API key is valid

  • Check the agent ID exists in Retell

  • Ensure your Retell account has sufficient credits

  • Review call events in the KrosAI Dashboard

chevron-rightAudio Quality Issueshashtag
  • Check network connectivity

  • Review Retell's voice settings

  • Verify audio codec compatibility (Opus recommended)

chevron-rightAgent Not Following Scripthashtag
  • Test the agent directly in Retell

  • Check your prompt configuration

  • Verify custom LLM settings

Last updated