Calls

Dial a number from the browser

Changed on

Place a call with the Leadping browser phone. For a new number, confirm permission for manual voice contact so Leadping can create the lead.

post/phone-call/dial/{requestId}

Request

  • Base URL
    https://api.leadping.ai
  • Auth
    HTTP bearer

Path parameters

requestId, string uuid required

The identifier to reuse when retrying the same request.

Request body

ManualDialRequest required

Requests a manual browser call to a number entered by the agent.

fromPhoneNumberId, string nullable

The outgoing number selected in the dialer.

phoneNumber, string required

The destination phone number.

Response

The call associated with the dial request.

PhoneCallResponse required

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.

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.

id, string
createdAt, string date-time
modifiedAt, string date-time nullable

Changes

    • breaking

      removed the media type text/json from the request body

    • breaking

      removed the media type text/json for the response with the status

    • breaking

      removed the media type text/plain for the response with the status

    2 more changes in this revision