Skip to content

Commit

Permalink
Add GET /webhook/<webhook_id> permission info (#7229)
Browse files Browse the repository at this point in the history
  • Loading branch information
DV8FromTheWorld authored Oct 22, 2024
1 parent 5115cee commit 82e4bdf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/resources/Webhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 82e4bdf

Please sign in to comment.