---
title: "Fetch All Webhook Endpoints"
method: GET
path: "/api/merchant/{key}/webhook"
tags: ["Payment APIs"]
---

# Fetch All Webhook Endpoints

`GET /api/merchant/{key}/webhook`

Fetch the webhook endpoints added. You'll need to specify the environment as query parameter in the request. In response you will get the webhook details.

## Path parameters

- `key` string, required

## Query parameters

- `environment` string, required

## Headers

- `X-Portone-Client-Key` string
- `Authorization` string

## Response `200`

Successful response

- object
  - `content` WebhookContent[] — The metadata of the webhooks configured in the PortOne.
    - `name` string — The name of the webhook
    - `uuid` string — The unique identifier for the webhook
    - `url` string — The URL of the webhook
    - `enabled` boolean — The boolean flag indicating whether webhook is enabled or not
    - `created_at` string — The timestamp of when the webhook was created.
    - `type` string — The type of the webhook. E.g. payment_status, payout_status, Refer PortOne docs.
  - `message` string — The description of the API request execution result
  - `status_code` string — The status_code for transaction of transaction creation
  - `status_reason` string — The status_reason for transaction of transaction creation

## Other responses

- `401` — Failure response

---

[API](https://skmtc.net/portone/apis/payment-apis.md) · [All operations](https://skmtc.net/portone/apis/payment-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/portone/payment-apis/versions/f3ccea652555/schema)
