---
title: "Starts the next eligible call in the rep's filtered inbox."
method: POST
path: "/phone-call/next/{requestId}"
tags: ["Calls"]
---

# Starts the next eligible call in the rep's filtered inbox.

`POST /phone-call/next/{requestId}`

## Request

- Base URL: `https://api.leadping.ai`
- URL: `https://api.leadping.ai/phone-call/next/{requestId}`
- Auth: HTTP bearer

Start the next eligible call from a rep’s Leadping inbox. Supply the inbox filters so the next call comes from the leads in the rep’s current view.

## Path parameters

- `requestId` string, uuid, required

## Query parameters

- `texting` boolean

## Request body

- RequestDataOptions
  - `pageSize` integer
  - `continuationToken` string, nullable
  - `orderBy` OrderByOption[], nullable
    - `field` string, required
    - `direction` 'asc' | 'desc', nullable
  - `includeCount` boolean, nullable
  - `search` string, nullable
  - `searchFields` string[], nullable
  - `filters` ExactMatchFilter[], nullable
    - `value` unknown
    - `field` string, required
  - `rangeFilters` RangeFilter[], nullable
    - `greaterThan` unknown
    - `greaterThanOrEqual` unknown
    - `lessThan` unknown
    - `lessThanOrEqual` unknown
    - `field` string, required

## Response `200`

The selected call, or an empty response when no eligible lead remains.

- PhoneCallResponse: Describes a Leadping phone call, including participants, direction, provider state, timing, voicemail, and billing details.
  - `leadName` string, nullable: The matched lead's display name, when the caller belongs to a known lead.
  - `callSessionId` string, nullable: Provider session identity used to correlate device invitations and server lifecycle events.
  - `browserCallApproval` BrowserCallApproval, nullable: Server-approved parameters for one outbound browser call.
    - `destinationNumber` string, required: Approved destination phone number for this outbound call.
    - `callerNumber` string, required: Approved caller ID phone number for this outbound call.
    - `clientState` string, required: Opaque server-issued state to pass unchanged when initiating the approved call.
    - `expiresAt` string, date-time: UTC timestamp after which this call approval is no longer valid.
    - `maximumDurationSeconds` integer: Maximum permitted duration of the call, in seconds.
  - `isDemo` boolean: Whether this record belongs to demo data.
  - `status` 'scheduled' | 'queued' | 'initiated' | 'ringing' | 'in_progress' | 'active' | 'completed' | 'ended' | 'busy' | 'no_answer' | 'failed' | 'canceled' | 'missed' | 'transferred' | 'voicemail' | 'blocked_billing' | 'blocked_phone_number_status' | 'blocked_configuration' | 'blocked_permission' | 'configuration_required': Describes the durable business outcome of a Leadping phone call after provider status normalization.
  - `statusReason` string, nullable: Human-readable reason explaining the current status of this phone call.
  - `direction` string, nullable: Communication direction for this phone call, such as inbound or outbound.
  - `conversationId` string, nullable: Conversation ID that links this phone call to the Leadping inbox thread.
  - `organizationId` string, nullable: The organization context required to handle this call on a mobile device.
  - `leadId` string, nullable: Lead ID associated with the call conversation or outreach attempt.
  - `phoneNumber` string: Phone number used by this phone call for calls, SMS, lookup, or routing.
  - `toPhoneNumber` string, nullable: Recipient phone number used for this communication.
  - `fromPhoneNumberId` string, nullable: Sender phone number ID used for this outbound SMS or call.
  - `fromPhoneNumber` string, nullable: Sender phone number used for this communication.
  - `callerId` string, nullable: Caller ID phone number presented during the outbound call.
  - `selectionReason` 'NearestLocation' | 'StickyConversation' | 'LeadAssigned' | 'CampaignOrSource' | 'Preferred' | 'LocalArea' | 'HealthyPool' | 'FallbackDefault' | 'ManualOverride', nullable: Explains why Leadping selected, rejected, or substituted an outgoing caller or messaging number.
  - `wasManuallyOverridden` boolean: Indicates whether a user manually overrode Leadping's automatic number selection for this phone call.
  - `campaignId` string, nullable: Messaging campaign identifier associated with this phone call.
  - `sourceId` string, nullable: Lead source ID used for attribution and routing on this call.
  - `endedAt` string, date-time, nullable: UTC timestamp when the call ended.
  - `queuedAt` string, date-time, nullable: UTC timestamp when Leadping queued this phone call for processing.
  - `ringingAt` string, date-time, nullable: UTC timestamp when the call started ringing.
  - `answeredAt` string, date-time, nullable: UTC timestamp when the call was answered.
  - `durationSeconds` integer, nullable: Call duration in seconds.
  - `billingStatus` string, nullable: Billing state for this communication, charge, or transaction.
  - `billableAmount` number, double, nullable: Monetary amount billed for this Leadping communication or transaction.
  - `voicemailUrl` string, uri, nullable: URL for voicemail audio, when the call resulted in a voicemail.
  - `consoleEntries` CommunicationConsoleEntry[]: Ordered diagnostic entries recorded while Leadping processed this call.
    - `adminOnly` boolean: Restricts this diagnostic entry to platform administrators.
    - `id` string: Unique identifier of this diagnostic console entry.
    - `stage` string: Communication-processing stage that produced the entry, such as validation, routing, or provider delivery.
    - `status` string: Outcome or state recorded for this processing stage.
    - `message` string: User-safe diagnostic message describing what occurred at this stage.
    - `occurredAt` string, date-time: UTC timestamp when this communication-processing event occurred.
  - `id` string
  - `createdAt` string, date-time
  - `modifiedAt` string, date-time, nullable

## Other responses

- `204`: No eligible lead was available for a call.
- `400`: The request contains invalid values.
- `401`: Authentication credentials are missing or invalid.
- `403`: The caller lacks permission for this operation.
- `415`: The request uses an unsupported content type.
- `429`: The API rate limit for this account or client has been exceeded.

## Changes

- **2026-12-01** `bf1852acaf45`: 1 breaking, 4 info
  - removed the media type `text/json` from the request body
  - added the media type `application/json` for the response with the status `200`
  - added the non-success response with the status `400`
  - added the non-success response with the status `415`
  - …1 more
- **2026-11-22** `cd6488b4026a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/leadping/apis/leadping-api/changes/phone-call/next/:requestId/post.md)

---

[API](https://skmtc.dev/leadping/apis/leadping-api.md) - [All operations](https://skmtc.dev/leadping/apis/leadping-api/llms.txt) - [OpenAPI document](https://skmtc.dev/leadping/apis/leadping-api/revisions/bf1852acaf45?raw)
