On-Call

List On-Call notification channels for a user

List the notification channels for a user. The authenticated user must be the target user or have the on_call_admin permission

get/api/v2/on-call/users/{user_id}/notification-channels

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v2/on-call/users/{user_id}/notification-channels
  • Auth
    • API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
    • or OAuth 2
      Authorization code: /oauth2/v1/authorize
      Token URL: /oauth2/v1/token

Path parameters

user_idstring required
Example:00000000-0000-0000-0000-000000000000

The user ID

Response

OK

Example response

{
  "data": [
    {
      "attributes": {
        "config": {
          "type": "phone"
        }
      },
      "type": "notification_channels"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.