Send an SMS message to an organization lead
Changed onSends an SMS message to a lead or phone number, applying current-organization sender selection, scheduling, and delivery rules.
Request
- Base URLhttps://api.leadping.ai
- AuthHTTP bearer
Request body
Defines the fields clients can send when working with SMS send.
Version of the incoming conversation reply displayed to the agent when composing this response.
Existing SMS event ID to reuse or update when retrying a send request.
UTC timestamp when Leadping should send the SMS message.
Conversation ID that links this SMS send request to the Leadping inbox thread.
Sender phone number ID used for this outbound SMS or call.
Indicates whether a user manually overrode Leadping's automatic number selection for this SMS send request.
Messaging campaign identifier associated with this SMS send request.
Lead source ID used for attribution and sender selection.
Body text for the SMS message or communication represented by this SMS send request.
Public HTTPS media URLs to attach. Supplying at least one URL sends the message as MMS.
Idempotency key used to prevent duplicate outbound delivery.
Example request
{
"conversationId": "conversation-123",
"text": "Thanks for your interest. When is a good time to talk?",
"mediaUrls": [],
"outboundIdempotencyKey": "sms-example-001"
}Response
Returns the persisted message and its current delivery state, including scheduled or blocked outcomes.
Describes an SMS or MMS message, including participants, delivery state, scheduling, media, and billing details.
The organization receiving this message status update.
Whether this record belongs to demo data.
Conversation ID that links this SMS message to the Leadping inbox thread.
Lead ID associated with the SMS conversation or outreach attempt.
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.
Explains why Leadping selected, rejected, or substituted an outgoing caller or messaging number.
Indicates whether a user manually overrode Leadping's automatic number selection for this SMS message.
Messaging campaign identifier associated with this SMS message.
Lead source ID used for attribution and sender selection on this SMS message.
Body text for the SMS message or communication represented by this SMS message.
Media attached to this message. A non-empty collection identifies an MMS message.
Describes the normalized lifecycle of an SMS or MMS message from scheduling through delivery or failure.
Human-readable reason explaining the current status of this SMS message.
UTC timestamp when Leadping queued this SMS message for processing.
UTC timestamp when Leadping is scheduled to send this SMS message.
Reason Leadping scheduled this delivery for a later time.
Whether the scheduled send is waiting for spending capacity to reset.
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 Leadping received this inbound event or message.
UTC timestamp when processing failed for this SMS message.
UTC timestamp when the provider marked the message undeliverable.
UTC timestamp when Leadping blocked this communication.
UTC timestamp when Leadping will retry this SMS message.
Number of retry attempts already made for this SMS message.
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 message.
Human-readable error message returned while processing this SMS message.
Classifies messaging traffic by conversational, informational, marketing, or other compliance-relevant purpose.
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.
Changes
- info
added the optional property
allOf[#/components/schemas/SmsResponse]/isBudgetDelayedto the response with the status
- info
- info
added the new optional request property
allOf[#/components/schemas/SendSmsRequest]/replyVersion(media type: application/json) - info
added the new optional request property
allOf[#/components/schemas/SendSmsRequest]/replyVersion(media type: application/*+json)
- info