Get a webhook subscription
GET
https://emails.routeon.io/api/v1/webhooks/{id}
Parameters
id
string<uuid>
required
path
Responses
200
OK
404
Resource not found within tenant scope
Example response · 200
{
"status": "success",
"http_code": 0,
"payload": {
"id": "00000000-0000-0000-0000-000000000000",
"tenant_id": "00000000-0000-0000-0000-000000000000",
"url": "string",
"events": [
"email.delivered"
],
"description": "string",
"status": "active",
"consecutive_failed_deliveries": 0,
"last_delivery_at": "2024-01-01T00:00:00Z",
"last_success_at": "2024-01-01T00:00:00Z",
"paused_at": "2024-01-01T00:00:00Z",
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z"
},
"meta": []
}
Example response · 404
{
"status": "error",
"http_code": 0,
"payload": [],
"meta": {
"reason": "VALIDATION_ERROR",
"validation_error": [
{
"field": "string",
"message": "string"
}
],
"details": []
}
}