Skip to content

Commit 82e4bdf

Browse files
Add GET /webhook/<webhook_id> permission info (#7229)
1 parent 5115cee commit 82e4bdf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/resources/Webhook.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ Returns a list of guild [webhook](#DOCS_RESOURCES_WEBHOOK/webhook-object) object
134134

135135
Returns the new [webhook](#DOCS_RESOURCES_WEBHOOK/webhook-object) object for the given id.
136136

137+
This request requires the `MANAGE_WEBHOOKS` permission unless the application making the request owns the
138+
webhook. [(see: webhook.application_id)](#DOCS_RESOURCES_WEBHOOK/webhook-object)
139+
137140
## Get Webhook with Token % GET /webhooks/{webhook.id#DOCS_RESOURCES_WEBHOOK/webhook-object}/{webhook.token#DOCS_RESOURCES_WEBHOOK/webhook-object}
138141

139142
Same as above, except this call does not require authentication and returns no user in the webhook object.

0 commit comments

Comments
 (0)