Webhook API Documentation

Securely send messages to Discord.

🔑 Authentication

Include your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

📌 Send Webhook

Endpoint: POST /api/v1/webhook

Headers

HeaderTypeRequiredDescription
Authorizationstring✅Your API key
Content-Typestring✅application/json

Body Parameters

ParameterTypeRequiredDescription
webhook_namestring✅The webhook to use
messagestring✅Message content

🚀 Example Requests

cURL

curl -X POST "https://api.the-real-jade.com/api/v1/webhook" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"webhook_name": "Join-Leave-Webhook", "message": "Hello from cURL!"}'
            

JavaScript Fetch

fetch("https://api.the-real-jade.com.com/api/v1/webhook", {
    method: "POST",
    headers: {
        "Authorization": "Bearer YOUR_API_KEY",
        "Content-Type": "application/json"
    },
    body: JSON.stringify({
        webhook_name: "Join-Leave-Webhook",
        message: "Hello from JavaScript!"
    })
})
.then(response => response.json())
.then(data => console.log("Success:", data))
.catch(error => console.error("Error:", error));
            

🛑 Error Codes

CodeDescription
400Missing webhook_name or message
401Invalid API key
429Too many requests
500Internal server error