---
title: "Get webhook by external ID, service ID and gateway account ID (query param)"
method: GET
path: "/v1/webhook/{webhookExternalId}"
tags: ["Webhooks"]
---

# Get webhook by external ID, service ID and gateway account ID (query param)

`GET /v1/webhook/{webhookExternalId}`

## Path parameters

- `webhookExternalId` string, required

## Query parameters

- `service_id` string
- `gateway_account_id` string
- `override_account_or_service_id_restriction` boolean

## Response `200`

OK

- WebhookResponse
  - `callback_url` string
  - `created_date` string, date-time
  - `description` string
  - `external_id` string
  - `gateway_account_id` string
  - `live` boolean
  - `service_id` string
  - `status` 'ACTIVE' | 'INACTIVE'
  - `subscriptions` string[]

## Other responses

- `404` — Not found

## Changes

- **2023-05-23** `12636419a51a` — 1 info
  - added the new optional `query` request parameter `gateway_account_id`
- **2023-05-18** `985d887f3aff` — 1 info
  - added the optional property `gateway_account_id` to the response with the `200` status
- **2023-04-25** `1c0d158630ce` — 2 info
  - added the new optional `query` request parameter `override_account_or_service_id_restriction`
  - the `query` request parameter `service_id` became optional

[Change history](https://skmtc.dev/government-digital-service/apis/webhooks-api/changes/v1/webhook/:webhookExternalId/get.md)

---

[API](https://skmtc.dev/government-digital-service/apis/webhooks-api.md) · [All operations](https://skmtc.dev/government-digital-service/apis/webhooks-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/government-digital-service/webhooks-api/revisions/c08d1ac8dcab/schema)
