Events

List webhook events

List the webhook events generated for your account, newest first. Filter by call, event type, delivery status, or time, and page with cursors. Useful for auditing deliveries and reconciling missed events.

get/api/v1/events

Request

  • Base URL: https://api.frejun.ai
  • URL: https://api.frejun.ai/api/v1/events
  • Auth: API key in header x-api-key

Query parameters

call_idstring nullable
typestring nullable
occurred_afterstring date-time nullable
delivery_status'pending' | 'delivered' | 'failed_permanent' | 'backfill_skipped'
limitinteger
cursor_afterstring nullable

Opaque cursor — page toward older rows (next page).

cursor_beforestring nullable

Opaque cursor — page toward newer rows (previous page).

Response

Successful Response

next_cursorstring nullable

Pass as cursor_after to fetch the next (older) page. null on the last page.

previous_cursorstring nullable

Pass as cursor_before to fetch the previous (newer) page. null on the first page.

has_moreboolean

Whether more results exist after this page.

Example response

{
  "data": [
    {
      "account_id": "acc_01JQ8Z9K7M3N2P4R5S6T7V8WIJ",
      "api_version": "2026-06-01",
      "attempt_count": 1,
      "call_id": "cs_01JQ8Z9K7M3N2P4R5S6T7V8W9X",
      "created_at": "2026-06-01T09:17:48Z",
      "delivered_at": "2026-06-01T09:17:49Z",
      "delivery_status": "delivered",
      "id": "evt_01JQ8Z9K7M3N2P4R5S6T7V8WGH",
      "last_attempt_at": "2026-06-01T09:17:49Z",
      "last_status_code": 200,
      "occurred_at": "2026-06-01T09:17:48Z",
      "payload": {
        "call_id": "cs_01JQ8Z9K7M3N2P4R5S6T7V8W9X",
        "type": "call.completed"
      },
      "type": "call.completed"
    }
  ]
}

Changes

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