---
title: "Get webhook destinations"
method: GET
path: "/v1/{organization}/webhook_destination/"
tags: ["Webhook Destination"]
---

# Get webhook destinations

`GET /v1/{organization}/webhook_destination/`

Retrieve this organization's webhook destinations.

#### Permissions
This endpoint may be impacted by the following permissions:
* `Webhook:GetWebhookDestination` on the webhook destinations to retrieve.

## Path parameters

- `organization` string, required

## Query parameters

- `id` string[] — The IDs of the webhook destinations to retrieve.

## Headers

- `x-mongo-cluster-name` string, nullable — The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.
- `Sec-WebSocket-Protocol` string[]

## Response `200`

Succeeded.

- SrcAppEndpointsWebhookDestinationGetWebhookDestinationsResponse
  - `webhook_destinations` WebhookDestination[], required — The retrieved webhook destinations.
    - `id` string, required
    - `url` string, required — The URL to which the webhook events are sent.
    - `secret_generated_at` string, date-time, required — The UTC time at which the webhook secret was generated.
    - `retry_attempts` integer, required — The number of attempts to retry sending the webhook event in case of failure.
    - `accepted_types` string[], required — A list of webhook types to receive.

## Other responses

- `401` — Invalid authorization credentials.
- `403` — Missing required permissions.
- `404` — Specified organization is not found.
- `422` — Invalid request path parameter or request query parameter failed validation.
- `429` — The user has exceeded the rate limit of 20 requests per minute for this endpoint.
- `503` — The service is going through temporary maintenance.

---

[API](https://skmtc.net/amigo/apis/amigo-api.md) · [All operations](https://skmtc.net/amigo/apis/amigo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/amigo/amigo-api/revisions/f0f28319e448/schema)
