lmkadiy.blogg.se

Pushbullet api send message
Pushbullet api send message





I think thats it for a dev to start writing the script and send SMS through Pushbullet API. $headers = 'Content-Type: application/json' Ĭurl_setopt($ch, CURLOPT_HTTPHEADER, $headers) $headers = 'Access-Token: '.$mobile_token $sms = 'Hi, its me texting from Pushbullet API' Ĭurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1) Ĭurl_setopt($ch, CURLOPT_POSTFIELDS, "") $addresses = '0411111111' // mobile number to send text to

pushbullet api send message

$mobile_token = "o.xxxxxxxxxxx" // as per your creation of token $mobile_iden = "xxxxxxxxxxxx" // as you have copied from the url, explained above Following is the sample code of PHP for sending SMS through Pushbullet API: Make sure curl is enabled, just in case if you need help in how to enable or install curl, this post might be helpful. Once you have the access token and iden, you just need to write the PHP script, or any other relevant script to get the thing done.







Pushbullet api send message