Talkstack
  • System architecture
  • Getting Started With Talkstack's API
  • Authentication
    • Signup
    • Verify Email
    • Resend email verification code
    • Login
    • Refresh Token
    • Change Password
    • Forgot Password
    • Reset Password
  • User
    • Generate API key
    • Set active Project
    • Get active Project
  • Project
    • Creating a new project
    • Get Project
    • Getting list of projects
    • Update a project
    • Delete Project
    • Webhook
    • Get Active Agent
    • Set Active Agent
    • Remove Active Agent
  • Agent
    • Create a new Agent
    • Get Agent Details
    • Update Agent
    • Delete an agent
    • Get All agents
  • Call
    • Make phone call
    • Get call data
    • Get call history
    • Get call analysis
    • Batch calls
  • Voices
    • List Voices
    • Get Voice data
  • Phone Number
    • Get phone number data
    • Assign Number to Agent
  • Hubspot
    • HubSpot Integration
Powered by GitBook
On this page
  1. Call

Batch calls

This section provides instructions for using the /call/batch-call endpoint to retrieve the status and details of a list calls made through our API.

Step 1: Prepare your request

  • Endpoint: /call/batch-call

  • Method: POST

  • URL: https://api.talkstackai.com/call/batch-call

  • Headers: Include Content-Type: multipart/form-data.

  • Authorization: Bearer token or x-api-key in headers

Step 2: Create the Request Body

The request body will be FormData with three required keys. These keys are projectId, agentId, and file.

  • projectId: id of the project for which you want to fetch the call list.

  • agentId: id of the agent which will make the calls.

  • file: It should either be an excel sheet or csv file. All the numbers listed in this file will be called using the agent provided.

    • File should have number column. It is where the numbers are you want to make calls to must be.

    • You can optionally pass dynamic variables under dynamicVariables column

PreviousGet call analysisNextList Voices

Last updated 3 months ago