SMS
Send and receive text messages.

Send SMS

The to phone number needs to be with international dial code. The from can't be more than 11 chars.
1
https://flashyapp.com/api/sms/send
Copied!
JSON
PHP
Response
1
{
2
"key": "__API_KEY__",
3
"message": {
4
"to": "972526845430",
5
"from": "Flashyapp",
6
"message": "Hello world from Flashyapp."
7
}
8
}
Copied!
1
<?php
2
$send = $flashy->sms->send(array(
3
"to" => "972526845430",
4
"from" => "Flashyapp",
5
"message" => "Hello world from Flashyapp."
6
));
7
?>
Copied!
200: OK
1
{
2
"success": true,
3
"status": "sent"
4
}
Copied!
200: OK - SMS Failed
1
{
2
"success": true,
3
"status": "failed"
4
}
Copied!
Last modified 2yr ago
Copy link