Skip to main content

Make Your First Call

This tutorial will walk you through making your first call using the Talkover API. You’ll learn how to get your agent ID and make a test call.

Prerequisites

Before starting this tutorial, make sure you have:

Step 1: Get Your Agent ID

You need your agent ID to make calls. Here’s how to find it:

From the Dashboard:

  1. Log in to your Talkover dashboard at app.talkover.ai
  2. Go to Voice Agents in the left sidebar
  3. Find your agent in the list
  4. Click on the agent to view details
  5. Copy the Agent ID (it looks like agent_123456)
The Agent ID is displayed in the agent details page and is required for all API calls.

Step 2: Prepare Your API Request

Now you have everything you need to make your first call:
  • Environment Token: talq_your_token_here
  • Agent ID: agent_123456
  • Phone Number: +1234567890

API endpoints

Individual Agent Call

Campaign Call

Request headers

Request body

For Agent Calls

For Campaign calls

Step 3: Make the Call

Using cURL

Using JavaScript

Using Python

Step 4: Understand the Response

When you successfully initiate a call, you’ll receive a response like this:

Response fields Explained:

  • call_id: Unique identifier for this call
  • agent_id: The agent that will handle the call
  • to: The phone number being called
  • status: Current status of the call (initiated, ringing, in-progress, completed, failed)
  • created_at: Timestamp when the call was created
  • estimated_duration: Estimated call duration in seconds

Step 5: Monitor Your Call

Check Call Status in Dashboard

  1. Go to Calls in your dashboard
  2. Find your call by call ID or phone number
  3. Monitor the status as it progresses:
    • initiatedringingin-progresscompleted

Call status flow

Step 6: Test Different Scenarios

Test with Different Phone Numbers

Try calling different numbers to test various scenarios:

Test Error Handling

Try calling an invalid number to see error responses:

Troubleshooting

Common Issues

Debugging Tips

  1. Check the response for error messages
  2. Verify your agent is properly configured
  3. Test with a known good number first
  4. Check your dashboard for call status updates

Next Steps

Congratulations! You’ve successfully made your first call. Here’s what you can explore next:
🎉 You’ve successfully made your first call with Talkover! Your AI voice agent is now ready to handle conversations.