Skip to content

Instantly share code, notes, and snippets.

@adlerweb
Created June 18, 2023 19:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adlerweb/a6305f18fbb6c2b15f9cf431710c680d to your computer and use it in GitHub Desktop.
Save adlerweb/a6305f18fbb6c2b15f9cf431710c680d to your computer and use it in GitHub Desktop.
Send SMS to hologram.io device using API/CURL.
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