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.
Limited access: Routes access is limited to certain legacy contracted organizations. If you are having issues with routes, please reach out to support.
Data message fields
Default fields sent to downstream apps and webhook recipients:Field reference
received: ISO8601-formatted UTC timestamp when the message was received by the Data Router.tags: Array of topics that the message belongs to.device.name: Human-readable name of the device, as specified in the Hologram Dashboard.device.id: Integer device ID.data: Base64-encoded representation of the data payload.authtype: Method by which the message sender authenticated with the Data Engine.errorcode:0for messages processed successfully.source: Source ID from the Router credentials used to send the message. Some data sources use a different authentication method so this field may not always be present.
System topics
The Router appends system topics based on source and protocol. System topics begin and end with underscores (for example,_SIMPLESTRING_) and cannot be specified by users.
| Topic | Description |
|---|---|
_API_RESP_ | When a device responds to a message sent using the cloud-to-device API or Dashboard features, the response contains this topic. |
_DEVICE_XXX_ | Messages relating to a specific device get assigned a topic containing the device ID (for example, _DEVICE_1234_). |
_IMEI_FIRST_ | Indicates we just saw the first IMEI assigned for the given device. More information is in the message body. |
_IMEI_CHANGE_ | Indicates the IMEI assigned to the device has changed. More information is in the message body. |
_IMEI_TAC_CHANGE_ | Indicates the first 8 digits of the IMEI changed, meaning a new type of hardware. |
_JSONSTRING_ | Messages that come in via our socket API and use the JSON data format. |
_RESTAPI_ | Messages that come in via our REST API (as opposed to our socket API). |
_SOCKETAPI_ | Messages that come in via our socket API (as opposed to HTTP REST API). |
_SIMPLESTRING_ | Messages that come in via our socket API and use the string data format. |
_SMS_ | Messages that come in through our SMS-over-IP endpoint, or the Hologram SMS phone number. |
_SMS_DO_ | Messages sent to the CSR via Hologram’s SMS phone number will contain this topic. |
_SMS_DT_ | SMS messages sent through our systems to a device will contain this topic. |
_SMS_DT_DELIVERED_ | Indicates that an SMS sent to a device through our systems was marked as delivered by the network. |
_SMSOVERIP_ | Messages that come in through our SMS-over-IP endpoint. Note: SMS-over-IP is no longer supported and requests will receive an error from the Hologram Cloud endpoint. |
_TAG_XXX_ | If the given device has a tag at the time the message is sent, a topic is applied for each tag with the tag ID. |
_DATALIMIT_ | Indicates that a data overage limit was triggered for a device. |
Webhook formats
When creating a route, you can either use a basic webhook URL POST request or send an authenticated JSON payload to a webhook URL using the Advanced Webhook Builder.Custom Webhook URL Rule
Method:POST
Headers:
Content-Type: application/x-www-form-urlencoded
userid: Hologram user IDpayload: JSON-formatted message objectkey: Optional webhook key as configured in the routing ruleproperties: JSON-formatted routing rule configuration (for example,url,user_id,key)
Note: The
payload and properties fields are JSON objects within a form-urlencoded body, so you may need to explicitly decode the JSON even if your HTTP library decodes the top-level fields.Advanced Webhook Builder rule
Method:POST
Headers:
- If configured to send JSON:
Content-Type: application/json; otherwise omitted