Solved

Awarding a badge based on a custom profile field

  • 28 May 2021
  • 1 reply
  • 54 views

  • Anonymous
  • 0 replies

I’d like to be able to award someone a badge based on their custom profile field response in the community. In our case we have a unique signup question and based on their answer from the dropdown list, we would like to be able to award them a matching badge.

Is this something I could do via the API (if I’m reading the API docs correctly I might be able to find the profile field, then award the matching badge programatically). If not it looks like I could do this manually via Export, identifying the users with the custom field value, then awarding the badge either manually or via API -- it’s just a hassle.

icon

Best answer by Jeanie Lee 2 June 2021, 22:58

View original

1 reply

Hi Scott, 

You can indeed use the API to award a badge using the custom profile field. You can use the “user.registered webhook” to make the API call.

You can also do an export, as described, but would be more manual. 

To access our API documentation, click here

Reply