Webhooks

Retrieve a webhook endpoint

Retrieve a webhook endpoint by its id. The signing secret is never exposed in this representation.

get/companies/{company}/webhook-endpoints/{webhook_endpoint}

Request

  • Base URL: https://api.factuarea.com/v1
  • URL: https://api.factuarea.com/v1/companies/{company}/webhook-endpoints/{webhook_endpoint}
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

companystring uuid required

Public identifier (UUID v7) of the company. Get it from GET /v1/me (data.scope[].id).

webhook_endpointstring uuid required

Public identifier (UUID v7) of the webhook endpoint.

Headers

Factuarea-Versionstring date
Example:2026-06-01

Pin the API version (YYYY-MM-DD, Stripe-style date versioning) for this request; omit to use the key's pinned version, or the latest if none. Unsupported version → 400 unsupported_api_version; malformed → 400 parameter_invalid_format. The effective version is echoed in the Factuarea-Version response header. See the Versioning guide.

Response

Example response

{
  "data": {
    "id": "01931b3e-7c4a-7f2e-9a8b-3c5d6e7f8a0b",
    "object": "webhook_endpoint",
    "url": "https://example.com/webhooks/factuarea",
    "description": "Webhook principal de producción.",
    "enabled_events": [
      "invoice.created",
      "invoice.paid",
      "quote.approved"
    ],
    "status": "active",
    "ip_allowlist": [
      "203.0.113.10",
      "198.51.100.0/24"
    ],
    "delivery_success_rate_24h": 99.5,
    "last_delivery_at": "2026-01-25T18:00:00Z",
    "last_failure_at": "2026-01-20T09:14:33Z",
    "previous_secret_valid_until": "2026-01-26T18:00:00Z",
    "created_at": "2025-12-15T12:00:00Z",
    "updated_at": "2026-01-25T18:00:00Z",
    "api_version": "2026-10-01",
    "metadata": {
      "erp_code": "IVA-GEN",
      "ledger_account": "477000"
    },
    "custom_headers": {
      "Authorization": "Bearer integration-token",
      "X-Custom-Auth": "tenant-a"
    },
    "timeout_seconds": 10,
    "degraded_since": "2026-01-24T07:30:00Z"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.