Developer/IT > Whisbi API > Send an SMS with Whisbi’s API > Using plain body text

Using plain body text


Notice: rest_validate_value_from_schema was called incorrectly. The "type" schema keyword for can only be one of the built-in types: array, object, string, number, integer, boolean, and null. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in /nas/content/live/whisbihc/wp-includes/functions.php on line 5229

To send a SMS within a plain SMS just need to provide:

  • Account: the account SID
  • From: specifies the phone number, 
  • To: determines the destination phone
  • Body: includes the full text of the message you want to send, limited to 160 characters.

Example

POST


https://api.whisbi.com/api/sms

body:
{
"account": "000000-0000-1111-0000-109f58471b09",
"from": "+18091375163",
"to": "+34664725444",
"body": "My plan text body",
}
Copy Code