Hello all -
I am in the process of setting up a series of Tray.io webhooks to enhance gamification in our Community, but running into a small issue.
In order to check what badges a user has, I am using a get request /user/{id} which returns user information, including a list of badges that they hold. However, the information contained in this get request seems to updated infrequently.
As an example, if I award a badge via a webhook (or manually), I can see it within the Community immediately by checking the user profile. The backend definitely recognizes that the badge has been awarded, and API calls to remove the badge function normally. However, the get user request does not update this information in real time - I haven’t been able to determine the exact lagtime yet but it seems to be at least 30 minutes.
Is there a better way of getting realtime information of a user’s badges through the API?
Thanks,
Tyler