Created
June 18, 2023 19:25
-
-
Save adlerweb/a6305f18fbb6c2b15f9cf431710c680d to your computer and use it in GitHub Desktop.
Send SMS to hologram.io device using API/CURL.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -u apikey:<API KEY FROM DASHBOARD API TAB> --include \ | |
--request POST \ | |
--header "Content-Type: application/json" \ | |
--data-binary "{ | |
\"deviceid\": <DEVICE ID LISTED ON DEVICE PAGE>, | |
\"body\": \"Hello world\" | |
}" \ | |
'https://dashboard.hologram.io/api/1/sms/incoming' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment