https://retellai.com/?utm_source=discord&utm_medium=seo logo
why after i created batch call and put my nuberm t...
# ❓・ai-evy-support
s
@AI Evy why after i created batch call and put my nuberm the call does not start, i have bought a number and done verification
a
Thanks for tagging me @Sean C. I'll look through relevant sources and get back to you shortly.
​ To learn more, see the sources I considered: [[1] Batch Call - Not sending.](https://discord.com/channels/1186424376300679209/1383483518667198514) [[2] Batch calls are not processing](https://discord.com/channels/1186424376300679209/1415416188749480027) [[3] Batch Calling, New Docs, and More Improvements!](https://www.retellai.com/changelog/batch-calling-new-docs-and-more-improvements) [[4] Ai caller keep giving me the error message](https://retell.discourse.group/t/ai-caller-keep-giving-me-the-error-message/18) [[5] Ai caller keep giving me the error message Invalid_destination](https://retell.discourse.group/t/ai-caller-keep-giving-me-the-error-message-invalid-destination/17) ​
### Answer Based on the sources, there are several potential issues that could prevent your batch calls from starting: Phone Number Setup Issues: Make sure your "From Number" is correctly linked to your agents and confirm it's set up for both incoming and outgoing calls [(1) ]() . Check if the number is not marked as spam, which can block calls . Common Processing Issues: Batch calls can sometimes experience processing delays [(2) ]() . The system queues your calls without hitting concurrency limits, ensuring a seamless experience [(3) ]() , but there have been reported cases where batch calls take hours to process even small numbers of calls [(2) ]() . Invalid Destination Errors: Some users have reported getting "Invalid_destination" errors when trying to make outbound calls, where calls only work when dialing their own phone number [(4) ]() [(5) ]() . This suggests potential issues with number formatting or destination validation. Troubleshooting Steps: 1. Verify your phone number is properly configured for outbound calls [(1) ]() 2. Check that your agent is correctly linked to the phone number 3. Ensure the destination numbers are properly formatted 4. Monitor the batch call status - if it shows "SENT" but has no call logs or stats, this indicates a setup issue If you continue experiencing issues with batch calls not pr
ocessing or starting, you may need to contact support directly as there have been reported platform issues with batch call processing [(2) ]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
how do i check what proble, is there a log?
@AI Evy
a
Thanks for the follow-up, @Sean C. I'll get back to you soon.
s
@AI Evy how do i check what problem, is there a log?
a
Thanks for the follow-up, @Sean C. I'll get back to you soon.
### Answer Yes, there are several ways to check for problems with your batch calls and view logs [(1) ]() . Monitor Batch Call Status: You can monitor your batch calls in the Batch Call tab, where calls are classified by status : - **Draft**: Editable and unsent - **Planned**: Scheduled for a future time - **Ongoing**: Currently in progress - **Sent**: All calls completed View Batch Call Metrics: You can check these metrics to identify issues : - **Sent**: Total calls sent from the batch - **Picked Up**: Number of calls answered by recipients - **Successful**: Calls successfully completed based on predefined criteria Check Individual Call Details: Click the history icon to view the call details of each call in the batch . This will show you specific information about what happened with each individual call. Using the API to Check Call Status: You can also use the List Calls API to retrieve detailed call information [(2) ]() . This will give you comprehensive data including call status, disconnection reasons, and any error details . If your batch call shows as "Sent" but has no call logs or low success rates, this typically indicates a setup issue with your phone number configuration or destination number formatting [(3) ]() .
​ To learn more, see the sources I considered: [[1] Monitor batch calls](https://docs.retellai.com/deploy/monitor-batch-call) [[2] List Calls](https://docs.retellai.com/api-references/list-calls) [[3] Ai caller keep giving me the error message Invalid_destination](https://retell.discourse.group/t/ai-caller-keep-giving-me-the-error-message-invalid-destination/17) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
### Answer Yes, there are several ways to check what's causing the problem with your batch calls: Batch Call Status and Metrics: You can monitor batch calls in the Batch Call tab in your dashboard [(1) ]() . The system shows different statuses including Draft, Planned, Ongoing, and Sent . You can view metrics like total calls sent, picked up calls, and successful calls . Call Details and History: Click the history icon to view the call details of each call in the batch . This will show you specific information about what happened with individual calls. Call Logs via API: You can retrieve detailed call information using the List Calls API [(2) ]() . This provides comprehensive data including: - Call status and disconnection reasons - Recording URLs and transcripts - Call analysis data - Latency metrics - Public log URLs for detailed debugging Specific Log Files: The API response includes a
public_log_url
field that contains detailed logs for troubleshooting . There's also a
knowledge_base_retrieved_contents_url
for additional debugging information . Call Analysis: Each call includes analysis data showing call summary, sentiment, success status, and custom analysis data . This helps identify why calls might be failing. For batch calls specifically, if your calls aren't starting, check the batch status first [(1) ]() , then examine individual call details through the history view to see specific error messages or disconnection reasons.
​ To learn more, see the sources I considered: [[1] Monitor batch calls](https://docs.retellai.com/deploy/monitor-batch-call) [[2] List Calls](https://docs.retellai.com/api-references/list-calls) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy it keeps stucked at on going, is there any way i can pin point the real problem?
a
Thanks for the follow-up, @Sean C. I'll get back to you soon.
s
@AI Evy it keeps stucked at on going, is there any way i can pin point the real problem?
a
### Answer Based on the sources, when batch calls get stuck in "ongoing" status, this is a known issue that multiple users have experienced [(1) ]() . Here's how to pinpoint the problem: Check Batch Call Details: You can retrieve detailed information about your batch call using the List Calls API [(2) ]() . This will show you specific call statuses and disconnection reasons:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const callResponses = await client.call.list() ;
console.log(callResponses) ;
What the Response Shows: The API response includes critical debugging information : -
call_status
- Shows if calls are "registered", "ongoing", "ended", or "error" -
disconnection_reason
- Reveals why calls failed (e.g., "dial_failed", "user_declined", "agent_hangup") -
public_log_url
- Contains detailed logs for troubleshooting -
call_analysis
- Shows if calls were successful and user sentiment Known Issue Pattern: According to community reports, when batch calls remain stuck in "ongoing" for 2+ hours, it usually means the process did not complete successfully but also didn't surface an error [(1) ]() . Users have reported batch calls being stuck for 4-7 hours . Immediate Action: If your batch call has been ongoing for several hours, you should contact support with your specific batch call ID . The support team can check the status on their side and resolve processing issues . Filter Your Query: You can also filter calls by batch call ID when using the List Calls API to get specific information about your stuck batch [(2) ]() .
​ To learn more, see the sources I considered: [[1] Batch Call Stuck in "Ongoing" Status for 2+ Hours - Processing Timeout Issue](https://discord.com/channels/1186424376300679209/1407792079706390669) [[2] List Calls](https://docs.retellai.com/api-references/list-calls) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy where should i send these api command?
a
Thanks for the follow-up, @Sean C. I'll get back to you soon.
### Answer You can send the API commands in several different environments: 1. JavaScript/Node.js Environment: The code I showed you is JavaScript using the Retell SDK [(1) ]() . You can run this in: - Node.js applications - JavaScript projects - Terminal/command line with Node.js installed 2. Direct API Calls: You can also make direct HTTP requests to the Retell API endpoints : - Using tools like Postman, Insomnia, or curl - Making HTTP GET requests to ` - Include your API key in the Authorization header as "Bearer YOUR_API_KEY" 3. Code Examples from Documentation: Here's the exact JavaScript code from the documentation :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const callResponses = await client.call.list() ;
console.log(callResponses) ;
4. Filter by Batch Call ID: To specifically check your stuck batch call, you can filter the results . The API supports filtering by
batch_call_id
to get calls from your specific batch . Prerequisites: - Replace
'YOUR_RETELL_API_KEY'
with your actual API key from the Retell dashboard - Install the Retell SDK if using JavaScript:
npm install retell-sdk
The response will show you detailed information about each call including
call_status
,
disconnection_reason
, and
public_log_url
for debugging .
​ To learn more, see the sources I considered: [[1] List Calls](https://docs.retellai.com/api-references/list-calls) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy i still havent received any call, why?
a
Thanks for the follow-up, @Sean C. I'll get back to you soon.
### Answer Based on the sources, if you haven't received any calls from your batch, here are the key areas to check: Check Call Status with API: You can retrieve detailed call information to see what's happening [(1) ]() . Use this code to check your calls:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const callResponses = await client.call.list() ;
console.log(callResponses) ;
Call Status Meanings: The
call_status
field will show [(1) ]() [(2) ]() [(3) ]() : - `registered`: Call id issued, starting to make a call using this id - `ongoing`: Call connected and ongoing - `ended`: The underlying websocket has ended for the call - `error`: Call encountered error Common Issues from Discord: One user reported creating batches but no calls being made [(4) ]() . Another user mentioned that if the call doesn't successfully start, it will never show up as ongoing [(5) ]() . Batch Call Requirements: When creating batch calls, you need [(6) ]() : - Valid
agent_id
- Proper
from_number
in E.164 format - Valid
to_number
in E.164 format for each task Troubleshooting Steps: 1. Use the List Calls API to check if calls were actually created [(1) ]() 2. Look for
disconnection_reason
in the response to see why calls might have failed 3. Check the
public_log_url
for detailed debugging information If your batch call shows as created but no individual calls appear in the List Calls response, this suggests the batch processing didn't start properly.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy where should i send this to? what url?
a
Thanks for the follow-up, @Sean C. I'll get back to you soon.
### Answer You can send the API commands to the Retell API endpoint. Here are the specific details: API Endpoint URL: The List Calls API endpoint is: ` [(1) ]() Authentication: You need to include your API key in the Authorization header with the format "Bearer YOUR_API_KEY" How to Make the Request: 1. Using JavaScript/Node.js with the Retell SDK:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const callResponses = await client.call.list() ;
console.log(callResponses) ;
2. Using curl (command line) : You can make a direct HTTP GET request to ` with your API key in the Authorization header 3. Using API testing tools: You can use tools like Postman or Insomnia to send GET requests to the API endpoint with proper authentication Filter by Your Batch Call: To check your specific batch call, you can use the
filter_criteria.batch_call_id
parameter to filter results by your batch call ID Make sure to replace
'YOUR_RETELL_API_KEY'
with your actual API key from your Retell dashboard
​ To learn more, see the sources I considered: [[1] List Calls](https://docs.retellai.com/api-references/list-calls) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy can show me step by step guide in insomnia?
a
Thanks for the follow-up, @Sean C. I'll get back to you soon.
### Answer [(1) ]() , [(2) ]() ### Answer Here's a step-by-step guide to test your Retell AI API calls using Insomnia: Step 1: Set up the Request - Create a new HTTP request in Insomnia - Set the method to GET - Enter the URL: ` Step 2: Configure Authentication - Go to the "Auth" tab in Insomnia - Select "Bearer Token" as the authentication type - Enter your API key in the token field (find it in your Retell dashboard under "API Keys" in the left menu) [(3) ]() *Step 3: Set Headers (Alternative Method) * If Bearer Token doesn't work, manually add headers: - Go to the "Headers" tab - Add a new header: - Name:
Authorization
- Value:
Bearer YOUR_API_KEY
Step 4: Test Basic Connectivity - Send the request to check if you get a response - You should see a JSON response with your call data [(1) ]() *Step 5: Filter by Batch Call (Optional) * To check your specific batch call: - Go to the "Query" tab - Add query parameters to filter by your batch call ID - This will show only calls from your stuck batch Expected Response Format: The API will return call data including
call_status
,
disconnection_reason
, and
public_log_url
for debugging Troubleshooting: - If you get 404 errors, ensure you're using the correct base URL: ` [(4) ]() - Make sure your API key format is exactly:
Authorization: Bearer YOUR_API_KEY
[(3) ]() - Try creating a new API key if authentication fails [(4) ](
384803754086) This will help you see the actual status of your calls and identify why your batch calls aren't processing properly.
​ To learn more, see the sources I considered: [[1] List Phone Numbers](https://docs.retellai.com/api-references/list-phone-numbers) [[2] List Chat](https://docs.retellai.com/api-references/list-chat) [[3] API Key Overview](https://docs.retellai.com/accounts/api-keys-overview) [[4] API Key Permissions Issue - All Endpoints Return 404](https://discord.com/channels/1186424376300679209/1401947384803754086) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.