SmsEvents

Get lead SMS event details by event ID

Changed on

Returns one SMS event, including message metadata, provider status, related lead, and delivery context.

get/events/sms/{smsEventId}

Request

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

Path parameters

smsEventId, string required

The ID of the SMS event to retrieve.

Response

Returns the SMS event table row.

SmsEventTableRow required

Summarizes SMS event data in paginated and searchable results.

automation, IdNamePair nullable

User summary connected to this automation configuration response.

isDemo, boolean

Whether this record belongs to demo data.

id, string

Unique Leadping identifier for this SMS event table row.

conversationId, string nullable

Conversation ID that links this SMS event table row to the Leadping inbox thread.

lead, IdNamePair

User summary connected to this automation configuration response.

leadAvatarUrl, string uri nullable
fromPhoneNumberId, string

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

outboundPhoneNumberId, string

Phone number ID selected for outbound delivery.

fromPhoneNumber, string

Sender phone number used for this communication.

toPhoneNumber, string

Recipient phone number used for this communication.

text, string

Body text for the SMS message or communication represented by this SMS event table row.

media, MessageMediaAttachment[]

Media attached to this SMS/MMS event.

status, 'draft' | 'scheduled' | 'queued' | 'sending' | 'sent' | 'received' | 'delivered' | 'failed' | 'undeliverable' | 'opted_out' | 'blocked_compliance' | 'blocked_billing' | 'blocked_missing_campaign' | 'canceled' nullable

Describes the normalized lifecycle of an SMS or MMS message from scheduling through delivery or failure.

statusReason, string nullable

Human-readable reason explaining the current status of this SMS event table row.

direction, string

Communication direction for this SMS event table row, such as inbound or outbound.

createdAt, string date-time

UTC timestamp when this SMS event table row was created.

queuedAt, string date-time nullable

UTC timestamp when Leadping queued this SMS event table row for processing.

scheduledFor, string date-time nullable

UTC timestamp when this SMS event is scheduled to send.

scheduledReason, string nullable

Reason Leadping scheduled this delivery for a later time.

isBudgetDelayed, boolean

Whether the scheduled send is waiting for spending capacity to reset.

sendingStartedAt, string date-time nullable

UTC timestamp when Leadping began sending this message.

sentAt, string date-time nullable

UTC timestamp when Leadping sent this message to the provider.

deliveredAt, string date-time nullable

UTC timestamp when the provider confirmed delivery.

failedAt, string date-time nullable

UTC timestamp when processing failed for this SMS event table row.

undeliverableAt, string date-time nullable

UTC timestamp when the provider marked the message undeliverable.

receivedAt, string date-time nullable

UTC timestamp when Leadping received this inbound event or message.

blockedAt, string date-time nullable

UTC timestamp when Leadping blocked this communication.

canceledAt, string date-time nullable

UTC timestamp when this delivery or workflow was canceled.

cancelReason, string nullable

Reason this delivery, run, or request was canceled.

errorCode, string nullable

Machine-readable error code returned while processing this SMS event table row.

errorMessage, string nullable

Human-readable error message returned while processing this SMS event table row.

isAutomated, boolean

Indicates whether automation created or triggered this SMS event table row.

outboundSource, 'manual' | 'automation' | 'campaign' | 'import' | 'api' | 'system_notification' | 'warmup' | 'retry' nullable

Defines the source that requested outbound delivery.

trafficType, 'RealLead' | 'Warmup' | 'Test' | 'SystemInternal' | 'FailedAttempt' nullable

Classifies messaging traffic by conversational, informational, marketing, or other compliance-relevant purpose.

billableAmount, number double nullable

Monetary amount billed for this Leadping communication or transaction.

billingStatus, string nullable

Billing state for this communication, charge, or transaction.

complianceAction, string nullable

Compliance action applied to this message, lead, or sender.

consoleEntries, CommunicationConsoleEntry[]

Ordered diagnostic entries recorded while Leadping processed this message.

user, string nullable

User summary connected to this SMS event table row.

actorUserId, string nullable

User ID for the actor that performed the action.

actorLeadId, string nullable

The lead who performed this action.

actorDisplayName, string nullable

Display name for the actor that performed the action.

userName, string nullable

Display name for the user connected to this SMS event table row.

senderName, string nullable

Display name for the sender of this message.

organization, string nullable

Organization summary connected to this SMS event table row.

organizationName, string nullable

Organization display name shown for this SMS event.

Changes

    • info

      added the optional property allOf[#/components/schemas/SmsEventTableRow]/isBudgetDelayed to the response with the status

    • info

      added the optional property allOf[#/components/schemas/SmsEventTableRow]/leadAvatarUrl to the response with the status