---
title: "Get all auth methods"
method: GET
path: "/api/v2/integration/webhooks/configuration/auth-method"
tags: ["Webhooks Integration"]
---

# Get all auth methods

`GET /api/v2/integration/webhooks/configuration/auth-method`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/integration/webhooks/configuration/auth-method`
- Auth: API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`

Get a list of all auth methods configured for the Webhooks integration in
your organization.

## Query parameters

- `include` 'oauth2-client-credentials': Authentication protocol used by the auth method.

## Response `200`

OK

- WebhooksAuthMethodsResponse: Response containing a list of webhooks auth methods.
  - `data` WebhooksAuthMethodResponseData[], required: An array of webhooks auth methods.
    - `attributes` WebhooksAuthMethodAttributes, required: Attributes of a webhooks auth method.
      - `protocol` 'oauth2-client-credentials': Authentication protocol used by the auth method.
    - `id` string, required: The ID of the auth method.
    - `relationships` WebhooksAuthMethodRelationships: Relationships of a webhooks auth method to its protocol-specific resource.
      - `oauth2-client-credentials` WebhooksOAuth2ClientCredentialsRelationship: Relationship pointing to the OAuth2 client credentials resource for this auth method.
        - `data` WebhooksOAuth2ClientCredentialsRelationshipData: Relationship data referencing an OAuth2 client credentials resource.
          - `id` string: The ID of the OAuth2 client credentials resource.
          - `type` 'webhooks-auth-method-oauth2-client-credentials': OAuth2 client credentials resource type.
    - `type` 'webhooks-auth-method', required: Webhooks auth method resource type.
  - `included` WebhooksOAuth2ClientCredentialsResponseData[]: Resources related to the auth methods, included when requested via the `include` query parameter.
    - `attributes` WebhooksOAuth2ClientCredentialsResponseAttributes, required: OAuth2 client credentials attributes returned by the API. The `client_secret` is never echoed.
      - `access_token_url` string: URL of the OAuth2 access token endpoint.
      - `audience` string, nullable: The intended audience for the OAuth2 access token.
      - `client_id` string: The OAuth2 client ID issued by the authorization server.
      - `name` string: Human-readable name for this auth method.
      - `protocol` 'oauth2-client-credentials': Authentication protocol used by the auth method.
      - `scope` string, nullable: Space-separated list of OAuth2 scopes to request.
    - `id` string, required: The ID of the OAuth2 client credentials auth method.
    - `type` 'webhooks-auth-method-oauth2-client-credentials', required: OAuth2 client credentials resource type.

## Other responses

- `403`: Forbidden
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
