Webhooks
List Webhooks
Retrieve all webhook endpoints registered on your account, including delivery counters and status. Use this to find the id needed for the deliveries, retry and reactivate endpoints.
GET
https://graph.sendcorex.com/v3.0/webhooksParameters
This endpoint takes no parameters.
Quick start
import axios from 'axios';
const response = await axios.get('https://graph.sendcorex.com/v3.0/webhooks', {
headers: { Authorization: process.env.SENDCOREX_API_KEY },
});
console.log(response.data);Response
{
"success": true,
"webhooks": [
{
"id": "wh_123",
"webhookUrl": "https://example.com/hooks/sendcorex",
"isActive": true,
"events": null,
"delivered": 1204,
"pending": 2,
"failed": 6,
"createdAt": "2026-06-01T09:12:00.000Z"
}
],
"responseTime": "12ms"
}Response fields
idWebhook endpoint ID. Use this in the other webhook endpoints.
webhookUrlThe URL registered to receive events.
isActiveWhether the endpoint is currently enabled.
eventsSubscribed events.
nullmeans all events.delivered / pending / failedDelivery counters for this endpoint.
createdAtISO 8601 creation timestamp.
Errors
HTTP-level errors return type, code and message. Errors marked CMD come back inside the command result, with HTTP 200.
- 401
INVALID_API_KEYThe API key is invalid or revoked.