Hologram REST API Full API reference for the Hologram REST API.
What is a REST API?
The REST API is a set of HTTP endpoints that let you programmatically manage your fleet. Bulk actions and automation are where it shines.
Authentication
Include your API key using Basic auth.
Authorization : Basic Base64Encode("apikey:YOUR_API_KEY")
Caution: Never transmit API keys in plaintext or commit them to source control.
Anatomy of an endpoint
Base URL: https://dashboard.hologram.io/api/1/
Categories: devices, links/cellular, plans, usage, sms, tunnelkeys, organizations, users
Query params: orgid, limit, etc.
Common endpoints
GET https://dashboard.hologram.io/api/1/plans?orgid={ORG_ID}
Activate SIMs in bulk
POST https://dashboard.hologram.io/api/1/links/cellular/bulkclaim?orgid={ORG_ID}
Body example:
{
"sims" : [ "{SIM_NUMBER_1}" , "{SIM_NUMBER_2}" ],
"plan" : { PLAN_ID },
"zone" : "{PLAN_ZONE}"
}
GET https://dashboard.hologram.io/api/1/devices/tags?orgid={ORG_ID}
List devices (get Device ID/Link ID)
GET https://dashboard.hologram.io/api/1/devices?orgid={ORG_ID}
Tag SIMs
POST https://dashboard.hologram.io/api/1/devices/tags/{TAG_ID}/link?orgid={ORG_ID}
Body:
{ "deviceids" : [ DEVICE_ID_ 1 , DEVICE_ID_ 2 ] }
Change plans (bulk)
POST https://dashboard.hologram.io/api/1/links/cellular/changeplan
Body:
{
"linkids" : [ LINKID_ 1 , LINKID_ 2 ],
"plan" : PLAN_ID ,
"tier" : "{PLAN_ZONE}" ,
"orgid" : ORG_ID
}
Pause or resume a SIM
POST https://dashboard.hologram.io/api/1/links/cellular/{linkid}/state?orgid={ORG_ID}
Body:
Tag multiple SIMs via API