get webhook rule.md

Get Webhook Rule

Management API · Webhook Rules

GET https://app.mk.io/api/v1/projects/{project_name}/webhook/rules/{rule_name}

Gets webhook rule by name.

RBAC Capability Required: webhooks.config.get

Authentication

Path parameters

Name Type Required Description
project_name string Yes
rule_name string Yes

Example request

curl -X GET "https://app.mk.io/api/v1/projects/{project_name}/webhook/rules/{rule_name}" \
  -H "Authorization: Bearer <token>"

Responses

200 — A single Webhook Rule

400 — Bad Request

401 — Unauthorized

403 — Forbidden

404 — Not Found

429 — Too Many Requests

500 — Internal Server Error