Required Fields
| Field | Type | Description |
|---|---|---|
url | string:uri | HTTPS destination that will receive deliveries. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "WebhookEndpointCreateRequest",
"description": "A new delivery destination.",
"type": "object",
"required": [
"url"
],
"properties": {
"description": {
"description": "Your own label for the endpoint.",
"type": "string",
"default": "",
"example": "Trading desk alerts"
},
"format": {
"description": "Delivery format. Omit it to detect from the URL: a Discord webhook URL becomes `discord`, a Slack incoming-webhook URL becomes `slack`, anything else `json`. Case-insensitive. Telegram endpoints are created by connecting a chat, not here.",
"type": "string",
"enum": [
"json",
"discord",
"slack"
],
"example": "json"
},
"url": {
"description": "HTTPS destination that will receive deliveries. Destinations that resolve to a private or internal address are refused.",
"type": "string",
"format": "uri",
"example": "https://example.com/hooks/0xarchive"
}
}
}