Skip to main content
POST
End an active Leadping phone call

Authorizations

Authorization
string
header
required

Authorization header using the Bearer scheme. Accepted values are Leadping user JWT access tokens and WorkOS organization API keys beginning with sk_.

Path Parameters

callId
string
required

The unique identifier of the call to end.

Response

Calls was successfully ended.

Describes a Leadping phone call, including participants, direction, provider state, timing, voicemail, and billing details.

status
enum<string>

Current lifecycle status for this phone call in the Leadping API.

Available options:
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
statusReason
null | string

Human-readable reason explaining the current status of this phone call.

direction
null | string

Communication direction for this phone call, such as inbound or outbound.

conversationId
null | string

Conversation ID that links this phone call to the Leadping inbox thread.

leadId
null | string

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
null | string

Recipient phone number used for this communication.

fromPhoneNumberId
null | string

Sender phone number ID used for this outbound SMS or call.

fromPhoneNumber
null | string

Sender phone number used for this communication.

callerId
null | string

Caller ID phone number presented during the outbound call.

selectionReason
null | enum<string>

Explains why Leadping selected, rejected, or substituted an outgoing caller or messaging number.

Available options:
StickyConversation,
LeadAssigned,
CampaignOrSource,
Preferred,
LocalArea,
HealthyPool,
FallbackDefault,
ManualOverride
wasManuallyOverridden
boolean

Indicates whether a user manually overrode Leadping's automatic number selection for this phone call.

campaignId
null | string

Messaging campaign identifier associated with this phone call.

sourceId
null | string

Lead source ID used for attribution and routing on this call.

endedAt
null | string<date-time>

UTC timestamp when the call ended.

queuedAt
null | string<date-time>

UTC timestamp when Leadping queued this phone call for processing.

ringingAt
null | string<date-time>

UTC timestamp when the call started ringing.

answeredAt
null | string<date-time>

UTC timestamp when the call was answered.

durationSeconds
null | integer<int32>

Call duration in seconds.

billingStatus
null | string

Billing state for this communication, charge, or transaction.

billableAmount
null | number<double>

Monetary amount billed for this Leadping communication or transaction.

voicemailUrl
null | string<uri>

URL for voicemail audio, when the call resulted in a voicemail.

consoleEntries
object[]

Ordered diagnostic entries recorded while Leadping processed this call.

id
string

Stable unique identifier of the resource.

createdAt
string<date-time>

UTC timestamp when the resource was created.

modifiedAt
null | string<date-time>

UTC timestamp when the resource was last modified, or null when it has not been updated.