Docs

List events

Preview· P9
GET/events

Returns events from the last 30 days, newest first. Each event is exactly what was (or would have been) delivered to your webhook endpoints, so you can use this to catch up after downtime.

Scope: events:read · Plan: Growth, Pro and Enterprise in live mode; every plan in test mode.

Authorization

AuthorizationBearer <token>

Send Authorization: Bearer <token> on every request. The token is one of:

PrefixWhat it isWhere it may be used
agoo_sk_live_Secret key, live modeYour servers only
agoo_sk_test_Secret key, test modeYour servers only
agoo_pk_live_Publishable key, live modeBrowsers and apps: create pre-registrations and bookings, read public booking types (with their intake questions) and their free slots, read the visit types open for pre-registration with their public forms. Never lists people.
agoo_pk_test_Publishable key, test modeAs above, in test mode

Admins create keys in Console → Developers → API keys and choose each key's scopes. A key is shown once. Never put a secret key in a URL, a browser or a mobile app.

In: header

Scope: events:read

Query Parameters

limit?integer

How many items to return, from 1 to 100.

Range1 <= value <= 100
Default25
cursor?string

The next_cursor from the previous page. Leave it out for the first page.

Lengthlength <= 512
type?string

Only events of this type.

Value in

  • "visit.created"
  • "visit.updated"
  • "visit.approval_requested"
  • "visit.approved"
  • "visit.denied"
  • "visit.checked_in"
  • "visit.checked_out"
  • "visit.cancelled"
  • "visit.no_show"
  • "pass.sent"
  • "delivery.received"
  • "delivery.collected"
  • "booking.created"
  • "booking.confirmed"
  • "booking.declined"
  • "booking.expired"
  • "booking.rescheduled"
  • "booking.cancelled"
  • "attendance.clocked_in"
  • "attendance.clocked_out"
  • "attendance.late"
  • "watchlist.matched"
  • "roll_call.started"
  • "roll_call.updated"
  • "roll_call.closed"
  • "person.created"
  • "person.updated"
  • "person.deactivated"
  • "person.reactivated"
  • "visitor.erased"
created_after?string

Only items created at or after this time.

Formatdate-time
created_before?string

Only items created before this time.

Formatdate-time

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/events?limit=25&type=visit.checked_in&created_after=2026-10-01T00%3A00%3A00Z&created_before=2026-11-01T00%3A00%3A00Z"
{  "data": [    {      "id": "evt_01m4x0bj50ftysd56z6pbzq7jp",      "type": "delivery.received",      "created_at": "2026-10-14T10:47:00Z",      "organisation_id": "org_01kjpsrza0etzb0a4vf72x8ang",      "livemode": true,      "data": {        "object": {          "id": "delivery_01m4x0bj50e43vcf8bz0ar7qhp",          "status": "received",          "site_id": "site_01kjpt3yw0fz0v414608h9x65s",          "recipient_id": "person_01kjsesxm0e4zbyvkr7bcfxbfg",          "sender": "Coastline Consult",          "carrier": "Dispatch rider",          "tracking_number": null,          "description": "Signed engagement letter",          "package_count": 1,          "received_at": "2026-10-14T10:47:00Z",          "received_by": "person_01kjsevr70faybwar4k1wjj6x2",          "collected_at": null,          "collected_by_name": null,          "created_at": "2026-10-14T10:47:00Z",          "updated_at": "2026-10-14T10:47:00Z"        }      }    }  ],  "next_cursor": "b3BhcXVlLWN1cnNvcg",  "has_more": true}