Skip to main content

Endpoint

GET https://api.eachlabs.ai/v1/webhooks

Query Parameters

ParameterTypeRequiredDefaultDescription
limitintegerNo50Max webhooks to return (1–100)
offsetintegerNo0Number of webhooks to skip

Code Examples

curl "https://api.eachlabs.ai/v1/webhooks?limit=10" \
  -H "X-API-Key: YOUR_API_KEY"

Response

{
  "webhooks": [
    {
      "execution_id": "abc123-def456-ghi789",
      "url": "https://api.example.com/webhook",
      "request": "{\"event\":\"prediction.completed\"}",
      "headers": {
        "Content-Type": "application/json"
      },
      "source": "api-gateway",
      "created_at": "2025-12-14T10:30:00Z"
    }
  ],
  "limit": 50,
  "offset": 0
}

Response Fields

FieldTypeDescription
webhooksarrayList of webhook objects
webhooks[].execution_idstring | nullAssociated execution ID
webhooks[].urlstringTarget URL
webhooks[].requeststringOriginal request payload
webhooks[].headersobjectHeaders included in the webhook
webhooks[].sourcestringService that triggered the webhook
webhooks[].created_atstringISO 8601 timestamp
limitintegerApplied limit
offsetintegerApplied offset

Error Responses

StatusBodyDescription
401{"error": "Invalid or missing API key"}Authentication failure
500{"error": "Internal server error"}Server error
Last modified on March 3, 2026