List webhook subscriptions

GET https://emails.routeon.io/api/v1/webhooks

Responses

200 OK
401 Missing/invalid credentials. For API-key/session-guarded endpoints, meta.details.code is one of: missing_authorization_header (no/malformed Authorization header), jwt_invalid (expired or otherwise invalid JWT), api_key_unknown (unknown prefix, inactive/revoked key, or bad hash); the login, refresh and logout operations return 401 without details.
429 Too many requests

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": {
        "per_page": 0,
        "cursor": "string"
    }
}

Example response · 401

{
    "status": "error",
    "http_code": 0,
    "payload": [],
    "meta": {
        "reason": "VALIDATION_ERROR",
        "validation_error": [
            {
                "field": "string",
                "message": "string"
            }
        ],
        "details": []
    }
}

Example response · 429

{
    "status": "error",
    "http_code": 0,
    "payload": [],
    "meta": {
        "reason": "VALIDATION_ERROR",
        "validation_error": [
            {
                "field": "string",
                "message": "string"
            }
        ],
        "details": []
    }
}