Hi,
I am playing around with the Rest API using postman, I am trying to use this GET https://dashboard.hologram.io/api/1/devices/{deviceid}
the response I get back is:
{
"success": false,
"error": "Not logged in"
}
403Forbidden
beyond the obvious, what does the error mean? I am logged in, I have an active data session going, and I am using my deviceid next to IMEI at the top of the dash board.
None, as the instructions stated non were needed
I took this to mean all of the methods I will try the API key method authentication thanks.
“This endpoint does not require authentication with your API key, as the webhook GUID serves as an authentication token. In order to generate a webhook URL, please visit the cloud configuration page for your device.This endpoint does not require authentication with your API key, as the webhook GUID serves as an authentication token. In order to generate a webhook URL, please visit the cloud configuration page for your device.”
Ok yeah so you need to authenticate for every endpoint by following the instructions in that authentication section. The only exception is for the device webhooks. We’ll see if we can make that more clear
Any by device webhooks I mean the second section in your second link “Send Cloud Message to Device via Webhook”
I think every other endpoint uses our normal API key authentication
I found some instruction which were more clear and explained better. (If you are a visual learner like me)
I would read this first so you get an understanding for how things your be formatted and work.
I was finally able to send POST / GET request! I hope others will find this helpful.