Skip to content

API reference

List events

GET /events

Every event we sent or would have sent, newest first, kept 30 days. Keyset-paged: pass the last event’s id as starting_after for the next page. A test key sees only test events (livemode: false), a live key only live ones. Needs the events:read permission; a key limited to some campaigns sees only their events.

Name In Type Required Notes
limit query integer Default 50. 1 to 100.
starting_after query string The id of the last event on the previous page.
type query string One event type, a comma-separated list, or the parameter repeated.
created[gte] query string Created at or after (ISO 8601 or unix seconds).
created[lte] query string Created at or before (ISO 8601 or unix seconds).
campaign_id query string (uuid)
object_id query string Only events about this call or lead.
Terminal window
curl -X GET 'https://v2-api.callview.ai/api/v1/external/events' \
-u "$CALLVIEW_KEY_ID:$CALLVIEW_SECRET"

200 A page of events, newest first

{
"data": [
{
"id": "string",
"type": "lead.created",
"created": "2026-10-06T17:05:20Z",
"livemode": true,
"api_version": "2026-10-01",
"data": {
"object": {}
},
"sample": true
}
],
"meta": {
"next_cursor": null,
"has_more": false
}
}
Status Codes
400 invalid_request
401 authentication_failed
403 permission_denied
404 not_found
429 rate_limited, too_many_concurrent_requests
500 internal_error

Part of Events (GET /events). Every example sends your key ID and secret as CALLVIEW_KEY_ID and CALLVIEW_SECRET (see Keys and authentication).