API to add SysContact ID for Alerts?

I’m unable to find a solution to add mail ID for alerting using API.

My approach is to set separate mail ID for group of devices. For example, DB machines alert goes to DB team, Network device alerts to Network/IT team and so on.

When I checked the docs, it says to add the mail ID in individual device “SysContact” section using Web UI.

But I need to add the mail IDs using API. Is this possible?. If so, please share the link or example api url

We don’t have a edit device api call, please create an issue with this request.

Issue created in Git. Thanks