provider On-Call GET /api/v2/on-call/users/{user_id}/notification-channels/{channel_id}
@utdk/datadog /api/v2/on-call/users/{user_id}/notification-channels/{channel_id}
Get an On-Call notification channel for a user
Get a notification channel for a user. The authenticated user must be the target user or have the `on_call_admin` permission
user_id path required
The user ID
string
channel_id path required
The channel ID
string

Try it

Authentication
Configure credentials for Datadog API V2 Collection
getusernotificationchannel
GET/api/v2/on-call/users/{user_id}/notification-channels/{channel_id}
Get a notification channel for a user. The authenticated user must be the target user or have the `on_call_admin` permission

Parameters

required

The user ID

required

The channel ID

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import datadog from '@utdk/datadog';

await datadog.getusernotificationchannel()