Sends an SMS to the specified lead from the caller’s virtual number.
Notes:
curl --request POST \
--url https://api.lofty.com/v1.0/message/sms/send \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"content": "Hello, this is a test message",
"leadId": 563172647619608,
"phoneNumber": "5865865860",
"phoneCode": "1"
}
'{
"messageId": "<string>",
"phoneNumber": "<string>",
"phoneCode": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://developer.lofty.com/llms.txt
Use this file to discover all available pages before exploring further.
SMS request payload.
SMS content
"Hello, this is a test message"
Lead ID. When phoneNumber and phoneCode are not provided or no matching phone is found for the lead, the system will use the primary phone number of this lead.
563172647619608
Recipient phone number
"5865865860"
Recipient phone code
"1"
curl --request POST \
--url https://api.lofty.com/v1.0/message/sms/send \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"content": "Hello, this is a test message",
"leadId": 563172647619608,
"phoneNumber": "5865865860",
"phoneCode": "1"
}
'{
"messageId": "<string>",
"phoneNumber": "<string>",
"phoneCode": "<string>"
}