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

How to use subscription API with Java ?

ANSWERED

Please anybody let me know how the subscription api can be used with a java web application. ? How the URL should be configured ? When the response will be synced with my application ? I am using a fitbit tracker device, so I would like to know the response parameters also.

 

Any sample URL and response if present will be very useful for understanding. Thanks in advance.

 

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

All your web application need to do is to have endpoint that listens for incoming subscription notification http requests.

Once notification is received your application should return 204 response code.

 

See more details here: https://dev.fitbit.com/docs/subscriptions/

 and here: https://dev.fitbit.com/docs/subscriptions-debugging/

 

Moderator edit: Updated the links to the new documentation

Ivan Bahdanau
Senior Software Developer at Fitbit

View best answer in original post

Best Answer
0 Votes
3 REPLIES 3

All your web application need to do is to have endpoint that listens for incoming subscription notification http requests.

Once notification is received your application should return 204 response code.

 

See more details here: https://dev.fitbit.com/docs/subscriptions/

 and here: https://dev.fitbit.com/docs/subscriptions-debugging/

 

Moderator edit: Updated the links to the new documentation

Ivan Bahdanau
Senior Software Developer at Fitbit
Best Answer
0 Votes

I have never been able to access Confluence despite numerous resettings of my password. The login for confluece will not accept my credentials and as such I cannot see anything that Fitbit staff posts there about their product or support documentation. I would really love to finish working on my app but just cant seem to get at the info I need. Any suggestions?

Best Answer
0 Votes

@ifiwereabravo: Confluence is not available to the public. All Fitbit Web API documentation has been moved to https://dev.fitbit.com/docs .

Best Answer
0 Votes