v1
latestOpenAPI 3.0.12026-07-22120163333.7 KBCommunication
Send SMS
Sends an SMS to the specified lead from the caller's virtual number.
Notes:
- leadId and content are required.
- phoneNumber + phoneCode select a specific phone on the lead; when omitted, the lead's primary phone is used.
- Caller must have manage permission on the lead and must have an active virtual number.
post/v1.0/message/sms/send
Headers
Authorizationstring required
Bearer [access_token]
Content-Typestring required
application/json
Request body
Example request
{
"phoneNumber": "5865865860",
"phoneCode": "1",
"content": "Hello, this is a test message",
"leadId": 563172647619608
}Response
SMS delivered to the provider. Response contains the message ID and destination.