Skip to main content

Endpoint

Overview

This endpoint allows you to send new Discord webhook messages or edit existing ones by providing the webhook URL, message content or embeds, and (for edits) the message ID.

Authentication

This endpoint requires an API key. You can retrieve an API key from your dashboard. Include it in the X-API-KEY header:
For more details, see the Authentication Guide.

Request Body

For sending new messages (POST)

Example payload:

For editing messages (PATCH)

Request Examples

cURL (send new)

cURL (edit existing)

Python (send new)

Responses

200 OK (new message)

200 OK (edited message)

400 Bad Request

Missing required fields or invalid webhook URL.

401 Unauthorized

Occurs if authentication fails (e.g., missing or invalid API key).

500 Internal Server Error

An unexpected issue occurred contacting Discord or updating analytics.

Need Further Assistance?

If you have any questions or encounter issues, please don’t hesitate to reach out to our support team.