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

Creating an alarm on charge 5 with API

ANSWERED

Hi, I have two things that I want to confirm:

 

1. Is tracker-id required for posting an alarm the "id" that I obtain from GET request of "Get Devices"?

 

2. When I try to create an alarm through POST, I receive:

{"errors":[{"errorType":"validation","fieldName":"deviceId","message":"Device does not support alarms, device id : <device id>"}]}

Does Charge 5 not support alarms creation using API?

Best Answer
1 BEST ANSWER

Accepted Solutions

According to https://help.fitbit.com/articles/en_US/Help_article/1868.htm?Highlight=set%20alarms, you set the alarm on the Charge 5 device itself, not through the mobile application.   Therefore it would not support the Alarm endpoints.   This is similar to the smart watches.   I'll update the Web API documentation to clarify.

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

View best answer in original post

Best Answer
2 REPLIES 2

Hi @mickjeon,

 

It is my understanding that all trackers support the Alarm endpoints.   Let me confirm with engineering.

 

Gordon

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

According to https://help.fitbit.com/articles/en_US/Help_article/1868.htm?Highlight=set%20alarms, you set the alarm on the Charge 5 device itself, not through the mobile application.   Therefore it would not support the Alarm endpoints.   This is similar to the smart watches.   I'll update the Web API documentation to clarify.

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