Optionally expose user phone numbers via the API
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.
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:!
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.