LongCode APIs
-
Send SMS message to single contact
Description: Sends an SMS message to a single contact from an sms-enabled hotline number (long code). Replies to the FromPhone number will be posted to your configured SMS callback URL.Usage:
POST api/Messages/Text/Longcode/Send/{ToPhone}/{FromPhone}
Parameter Type Source Description ToPhone String FromUri Phone number to send the message to FromPhone String FromUri Phone number to send the message from MessageContent String FromBody The content of the message. Content must not exceed 160 characters. Returns:
0 on success. -1 on send error.
Examples:
//-- Currently no examples for XML --//