Developer/IT > Whisbi API > Send an SMS with Whisbi’s API > Using dynamic variables

Using dynamic variables

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

If you want to use dynamic variables you need to put every single variable inside curly braces {{}} also you will need to set the parameter variables referencing all variables you have added inside the body text or your engage url (check section: using the engage url)

Example – POST:

"account": "000000-0000-1111-0000-109f58471b09",
"from": "+18091375163",
"to": "+34664725444",
"body": "Hi {{username}}, {{dayName}} you will be able to join a session from here {{ engageURL }}",
"variables": {
"username": "John",
"dayName": "tomorrow"
"engage_url": "",
Copy Code