Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

About Alarm API

We are considering creating an application that retrieves alarm information set by a device and links it to other devices. (e.g., turn on the air conditioner one hour before the alarm)

I know that the alarm information could be obtained from the link below, but how is it possible to obtain the [user-id] and [tracker-id]?

 

 

https://dev.fitbit.com/build/reference/web-api/devices/get-alarms/

Best Answer
0 Votes
2 REPLIES 2

Hi @NH7716 - your post was moved to the WEB API Development forum as there is a better chance to get a reply.

Author | ch, passion for improvement.

Best Answer
0 Votes

Hi @NH7716 

 

You can get the user id from either the access token or calling the Get Profile endpoint and looking for the encodedId value.   You can get the tracker ID by calling the Get Devices endpoint.  Please keep in mind which devices support the Get Alarm endpoint.

 

Gordon

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes