Documentation Index
Fetch the complete documentation index at: https://docs.hologram.io/llms.txt
Use this file to discover all available pages before exploring further.
You can send SMS to devices programmatically using the REST API.
Curl (Unix)
curl --location --request POST 'https://dashboard.hologram.io/api/1/sms/incoming' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic <your apikey>' \
--data-raw '{"deviceid":"<your device id>","fromnumber":"<your from number>","body":"<your sms message>"}'
Python (requests)
import requests
from requests.auth import HTTPBasicAuth
usr = 'apikey'
pwd = '<your apikey>'
dev = '<your device id>'
num = '<your from number>'
sms = '<your sms message>'
response = requests.post(
'https://dashboard.hologram.io/api/1/sms/incoming',
data={
'deviceid': dev,
'fromnumber': num,
'body': sms,
},
auth=HTTPBasicAuth(usr, pwd)
)
print(response.json())
Dashboard bulk actions
Send SMS messages, or TCP or UDP cloud messages to your SIMs