Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions developers/events/webhook-events.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ If either of these are not complete, your Webhook Events URL will not be validat

When adding your Webhook Events URL, Discord will send a `POST` request with a `PING` payload with a `type: 0` to your endpoint. Your app is expected to acknowledge the request by returning a `204` response with an empty body.

<Info>
You must provide a valid `Content-Type` when responding to `PING`s. See [here](/developers/reference#http-api) for further information.
</Info>

<Accordion title="Responding to PING Requests" description="Code example for acknowledging PING events" icon="code">
To properly acknowledge a `PING` payload, return a `204` response with no body:

Expand Down