Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.voicy.co/llms.txt

Use this file to discover all available pages before exploring further.

Quickstart

This guide will help you make your first API call to Voicy in just a few minutes.

Prerequisites

  • A Voicy account (sign up here)
  • An API key (create one)
  • A phone number assigned to your account with an agent configured

Step 1: Set Up Your Environment

Store your API key as an environment variable:
export VOICY_API_KEY="voicy_sk_live_your_key_here"

Step 2: List Your Calls

Let’s start by listing recent calls to verify your API key works:
curl -X POST https://api.voicy.co/functions/v1/call-list \
  -H "Authorization: Bearer $VOICY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit": 5}'

Step 3: Make an Outbound Call

Now let’s initiate an AI-powered phone call:
curl -X POST https://api.voicy.co/functions/v1/call-dial \
  -H "Authorization: Bearer $VOICY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "from_number": "+15551234567",
    "to_number": "+15559876543",
    "dynamic_variables": {
      "customer_name": "John"
    }
  }'
Replace +15551234567 with a phone number assigned to your account, and +15559876543 with the destination number.

Step 4: Get Call Details

After the call completes, retrieve the full details including transcript:
curl https://api.voicy.co/functions/v1/call-get/YOUR_CALL_ID \
  -H "Authorization: Bearer $VOICY_API_KEY"

What’s Next?

API Reference

Explore all available endpoints

Error Handling

Learn how to handle API errors