{
"success": true,
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "https://example.com/hooks/0xarchive",
"description": "Trading desk alerts",
"status": "active",
"consecutive_failures": 0,
"created_at": "2023-11-07T05:31:56Z",
"secret": "whsec_6f1c0b2a4d8e5f3a9c7b1e0d2f4a6c8b1d3e5f7a9c0b2d4e6f8a1c3b5d7e9f0a"
},
"note": "Store the secret now; it is not shown again."
}
{
"code": 400,
"error": "Failed to deserialize query string: limit: invalid digit found in string",
"error_code": "invalid_query_params",
"param": "limit",
"request_id": "3f2a9c71-5b0e-4d68-9a4c-7e1d2b6f8a05",
"success": false
}
{
"code": 401,
"error": "Missing authentication credentials. Provide X-API-Key header or Bearer token.",
"error_code": "unauthorized",
"request_id": "71ed4b6f-63ef-4ae1-a123-07ffa47c1c14",
"success": false
}
{
"code": 429,
"error": "Rate limit exceeded"
}
Create a webhook endpoint
0xArchive API reference for Create a webhook endpoint. Includes authentication, parameters, response shape, examples, and route-safe implementation notes.
A newly created endpoint, including the signing secret. This is one of the two responses that carry the secret; the other is a rotation. Store it now, because it is not shown again.
active is serving. disabled means you switched it off. auto_disabled means a long run of failed deliveries switched it off for you; bring it back with the enable route.