Solved

Generate a knowledge alert via API call

  • 13 December 2021
  • 1 reply
  • 86 views

Is there a way to create a knowledge alert via API request? We have automated creating Guru cards of our release notes as part of our CI/CD pipeline, and it would be great if after the card is created we could automatically issue a knowledge alert from our external script vs. doing it manually.

icon

Best answer by Callie Rojewski 21 December 2021, 19:24

View original

1 reply

Userlevel 7
Badge +3

Hey @Grahame Watt ! Thank you for asking this question. Yes, you can create a knowledge alert via and API request. I recommend following the steps outlined on this Card here.

 

To create a knowledge alert, you will need the cardId of the card that you are alerting users to read. You will also need the id of at least one group that should be alerted. You will need the groupID. Check out groups API to find your group's ID. You may add more than one object to the groups array if you need to notify several groups. OPTIONALLY, you may include a parameter called note to send additional information to the group you are alerting.

 

Let us know if you have any questions as you dig into the Card!

Reply