Can an existing badge be assigned to a user through the API?
Hi community,
I’m trying to automate awarding an existing badge to a community member. But I can’t get it to work.
The Gainsight documentation I found lists /api1/user/{userId}/badge/{badgeId}, but I couldn’t confirm the supported write method. I set up a manual GitHub Actions workflow in the production environment; OAuth using the client credentials flow and scope=write succeeds.
A PUT to that route on the EU API returned HTTP 404 on two attempts, and no badge was awarded.
I also checked the published @insided/sdk packages; their public types expose widget and connector functionality, but no badge-specific method.
Is assigning a badge supported through the API? If so, what method, endpoint, payload, and permissions should I use? Alternatively, is there a supported SDK or admin connector?