oncall icon indicating copy to clipboard operation
oncall copied to clipboard

Optionally expose user phone numbers via the API

Open njohnstone2 opened this issue 2 years ago • 2 comments

What would you like to see!

Provide the ability to retrieve the phone number of a grafana oncall user. Only limited contact information is currently available in the public API. Basic contact information (specifically phone numbers) should be available in the users API response to enable better integration with 3rd party tools / solutions.

This will help allow organizations to use Grafana Oncall as the 'source of truth' to build extensions for alerting that are outside of the scope of Grafana Oncall.

Product Area

Alert Flow & Configuration

Anything else to add?

Use case 1:

The ability to configure an Outgoing Webhook that sends messages to the current oncall user when an alert transitions to a specific state.

Use case 2:

An external application that routes calls to the user that is currently oncall.

njohnstone2 avatar Sep 28 '23 20:09 njohnstone2

The current version of Grafana OnCall, at the time this issue was opened, is v1.3.40. If your issue pertains to an older version of Grafana OnCall, please be sure to list it in the PR description. Thank you :smile:!

github-actions[bot] avatar Sep 28 '23 20:09 github-actions[bot]

I would like to see this commit merged as it would allow creating Twilio flows that route calls to the current on call engineer, which is something my company is looking for.

AdrianColaianni avatar Aug 23 '24 17:08 AdrianColaianni