Forum Discussion
Connect to API. Bearer Token
Hi jayhawk ,
Sorry, I don't know much about API. Hope these documents can help you:
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous6 years agoNot applicable
I am also struggling to connect to the same API using Power BI
I’ve followed the Samsara API Call documentation from here: https://developers.samsara.com/docs and attempted the following ‘First API Call’ Curl instructions but using Microsoft Power BI Desktop.
curl --request GET \
--url https://api.samsara.com/fleet/drivers \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {access_token}'
The next menu asks for the Key and here I have used the API token again.
I get the message 'An API key value wasn't specified'
Please can anyone help me with this? Samsara have been unable to assist with the Power BI side of things.
- jayhawk6 years agoAdvocate I
Anonymous Here ya go. You should be good to go bud.
Right click on the work List.
Right click on the work List again.
- Anonymous6 years agoNot applicable
Hey, thank you for helping so quick and also including how to drill down in to the table.
I've tried following your screenshots but I'm lost again as it asks me to authenticate again.
Clicking OK brings up this, I've gone for 'Web API' but this may not be right.
I've also tried various iterations of the API Token, taking out the 'samsara_api_' part et., but no luck. I must be doing something else wrong!