From 82e4bdfc8920785b040e7fb6c5d00e6ad39e2979 Mon Sep 17 00:00:00 2001 From: Austin Keener Date: Tue, 22 Oct 2024 15:02:26 -0400 Subject: [PATCH] Add GET /webhook/ permission info (#7229) --- docs/resources/Webhook.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/resources/Webhook.md b/docs/resources/Webhook.md index 602cf07cb9..669f4cba2f 100644 --- a/docs/resources/Webhook.md +++ b/docs/resources/Webhook.md @@ -134,6 +134,9 @@ Returns a list of guild [webhook](#DOCS_RESOURCES_WEBHOOK/webhook-object) object Returns the new [webhook](#DOCS_RESOURCES_WEBHOOK/webhook-object) object for the given id. +This request requires the `MANAGE_WEBHOOKS` permission unless the application making the request owns the +webhook. [(see: webhook.application_id)](#DOCS_RESOURCES_WEBHOOK/webhook-object) + ## Get Webhook with Token % GET /webhooks/{webhook.id#DOCS_RESOURCES_WEBHOOK/webhook-object}/{webhook.token#DOCS_RESOURCES_WEBHOOK/webhook-object} Same as above, except this call does not require authentication and returns no user in the webhook object.