curl --request GET \
--url https://api.leadping.ai/events/sms/{smsEventId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.leadping.ai/events/sms/{smsEventId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)using RestSharp;
var options = new RestClientOptions("https://api.leadping.ai/events/sms/{smsEventId}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
HttpResponse<String> response = Unirest.get("https://api.leadping.ai/events/sms/{smsEventId}")
.header("Authorization", "Bearer <token>")
.asString();const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.leadping.ai/events/sms/{smsEventId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.leadping.ai/events/sms/{smsEventId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.leadping.ai/events/sms/{smsEventId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"id": "<string>",
"conversationId": "<string>",
"lead": {
"id": "<string>",
"name": "<string>"
},
"fromPhoneNumberId": "<string>",
"outboundPhoneNumberId": "<string>",
"fromPhoneNumber": "<string>",
"toPhoneNumber": "<string>",
"text": "<string>",
"media": [
{
"mediaId": "<string>",
"url": "<string>",
"contentType": "<string>",
"size": 123,
"sha256": "<string>",
"fileName": "<string>"
}
],
"status": "draft",
"statusReason": "<string>",
"direction": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"queuedAt": "2023-11-07T05:31:56Z",
"scheduledFor": "2023-11-07T05:31:56Z",
"scheduledReason": "<string>",
"sendingStartedAt": "2023-11-07T05:31:56Z",
"sentAt": "2023-11-07T05:31:56Z",
"deliveredAt": "2023-11-07T05:31:56Z",
"failedAt": "2023-11-07T05:31:56Z",
"undeliverableAt": "2023-11-07T05:31:56Z",
"receivedAt": "2023-11-07T05:31:56Z",
"blockedAt": "2023-11-07T05:31:56Z",
"canceledAt": "2023-11-07T05:31:56Z",
"cancelReason": "<string>",
"errorCode": "<string>",
"errorMessage": "<string>",
"isAutomated": true,
"outboundSource": "manual",
"trafficType": "RealLead",
"billableAmount": 123,
"billingStatus": "<string>",
"complianceAction": "<string>",
"consoleEntries": [
{
"id": "<string>",
"stage": "<string>",
"status": "<string>",
"message": "<string>",
"occurredAt": "2023-11-07T05:31:56Z"
}
],
"user": "<string>",
"actorUserId": "<string>",
"actorDisplayName": "<string>",
"userName": "<string>",
"senderName": "<string>",
"organization": "<string>",
"organizationName": "<string>"
}{
"type": "about:blank",
"title": "Unauthorized",
"status": 401,
"detail": "The request could not be completed."
}{
"type": "about:blank",
"title": "Forbidden",
"status": 403,
"detail": "The request could not be completed."
}{
"type": "about:blank",
"title": "Not Found",
"status": 404,
"detail": "The request could not be completed."
}{
"type": "about:blank",
"title": "Too Many Requests",
"status": 429,
"detail": "The request could not be completed."
}Get lead SMS event details by event ID
Returns one SMS event, including message metadata, provider status, related lead, and delivery context.
curl --request GET \
--url https://api.leadping.ai/events/sms/{smsEventId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.leadping.ai/events/sms/{smsEventId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)using RestSharp;
var options = new RestClientOptions("https://api.leadping.ai/events/sms/{smsEventId}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
HttpResponse<String> response = Unirest.get("https://api.leadping.ai/events/sms/{smsEventId}")
.header("Authorization", "Bearer <token>")
.asString();const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.leadping.ai/events/sms/{smsEventId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.leadping.ai/events/sms/{smsEventId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.leadping.ai/events/sms/{smsEventId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"id": "<string>",
"conversationId": "<string>",
"lead": {
"id": "<string>",
"name": "<string>"
},
"fromPhoneNumberId": "<string>",
"outboundPhoneNumberId": "<string>",
"fromPhoneNumber": "<string>",
"toPhoneNumber": "<string>",
"text": "<string>",
"media": [
{
"mediaId": "<string>",
"url": "<string>",
"contentType": "<string>",
"size": 123,
"sha256": "<string>",
"fileName": "<string>"
}
],
"status": "draft",
"statusReason": "<string>",
"direction": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"queuedAt": "2023-11-07T05:31:56Z",
"scheduledFor": "2023-11-07T05:31:56Z",
"scheduledReason": "<string>",
"sendingStartedAt": "2023-11-07T05:31:56Z",
"sentAt": "2023-11-07T05:31:56Z",
"deliveredAt": "2023-11-07T05:31:56Z",
"failedAt": "2023-11-07T05:31:56Z",
"undeliverableAt": "2023-11-07T05:31:56Z",
"receivedAt": "2023-11-07T05:31:56Z",
"blockedAt": "2023-11-07T05:31:56Z",
"canceledAt": "2023-11-07T05:31:56Z",
"cancelReason": "<string>",
"errorCode": "<string>",
"errorMessage": "<string>",
"isAutomated": true,
"outboundSource": "manual",
"trafficType": "RealLead",
"billableAmount": 123,
"billingStatus": "<string>",
"complianceAction": "<string>",
"consoleEntries": [
{
"id": "<string>",
"stage": "<string>",
"status": "<string>",
"message": "<string>",
"occurredAt": "2023-11-07T05:31:56Z"
}
],
"user": "<string>",
"actorUserId": "<string>",
"actorDisplayName": "<string>",
"userName": "<string>",
"senderName": "<string>",
"organization": "<string>",
"organizationName": "<string>"
}{
"type": "about:blank",
"title": "Unauthorized",
"status": 401,
"detail": "The request could not be completed."
}{
"type": "about:blank",
"title": "Forbidden",
"status": 403,
"detail": "The request could not be completed."
}{
"type": "about:blank",
"title": "Not Found",
"status": 404,
"detail": "The request could not be completed."
}{
"type": "about:blank",
"title": "Too Many Requests",
"status": 429,
"detail": "The request could not be completed."
}Authorizations
Authorization header using the Bearer scheme. Accepted values are Leadping user JWT access tokens and WorkOS organization API keys beginning with sk_.
Path Parameters
The ID of the SMS event to retrieve.
Response
Returns the SMS event table row.
Summarizes SMS event data in paginated and searchable results.
Unique Leadping identifier for this SMS event table row.
Conversation ID that links this SMS event table row to the Leadping inbox thread.
Provides a compact API reference to another resource using its stable identifier and human-readable display name.
Show child attributes
Show child attributes
Sender phone number ID used for this outbound SMS or call.
Phone number ID selected for outbound delivery.
Sender phone number used for this communication.
Recipient phone number used for this communication.
Body text for the SMS message or communication represented by this SMS event table row.
Media attached to this SMS/MMS event.
Show child attributes
Show child attributes
Describes the normalized lifecycle of an SMS or MMS message from scheduling through delivery or failure.
draft, scheduled, queued, sending, sent, received, delivered, failed, undeliverable, opted_out, blocked_compliance, blocked_billing, blocked_missing_campaign, canceled Human-readable reason explaining the current status of this SMS event table row.
Communication direction for this SMS event table row, such as inbound or outbound.
UTC timestamp when this SMS event table row was created.
UTC timestamp when Leadping queued this SMS event table row for processing.
UTC timestamp when this SMS event is scheduled to send.
Reason Leadping scheduled this delivery for a later time.
UTC timestamp when Leadping began sending this message.
UTC timestamp when Leadping sent this message to the provider.
UTC timestamp when the provider confirmed delivery.
UTC timestamp when processing failed for this SMS event table row.
UTC timestamp when the provider marked the message undeliverable.
UTC timestamp when Leadping received this inbound event or message.
UTC timestamp when Leadping blocked this communication.
UTC timestamp when this delivery or workflow was canceled.
Reason this delivery, run, or request was canceled.
Machine-readable error code returned while processing this SMS event table row.
Human-readable error message returned while processing this SMS event table row.
Indicates whether automation created or triggered this SMS event table row.
Defines the source that requested outbound delivery.
manual, automation, campaign, import, api, system_notification, warmup, retry Classifies messaging traffic by conversational, informational, marketing, or other compliance-relevant purpose.
RealLead, Warmup, Test, SystemInternal, FailedAttempt Monetary amount billed for this Leadping communication or transaction.
Billing state for this communication, charge, or transaction.
Compliance action applied to this message, lead, or sender.
Ordered diagnostic entries recorded while Leadping processed this message.
Show child attributes
Show child attributes
User summary connected to this SMS event table row.
User ID for the actor that performed the action.
Display name for the actor that performed the action.
Display name for the user connected to this SMS event table row.
Display name for the sender of this message.
Organization summary connected to this SMS event table row.
Organization display name shown for this SMS event.

