Retrieve an event

View as Markdown
GET /api/v1/events/{event}

Retrieves the details of an event. You need only provide the unique event ID which you would have received in a webhook.

Path parameters

  • event string Required

    The ID of the desired event (e.g., ev_1a2b3c4d5e6f).

Responses

  • 200 application/json

    Returns an event object if a valid ID was provided.

    Hide response attributes Show response attributes object
    • created integer(int64)

      Time at which the object was created. Measured in seconds since the Unix epoch.

    • data object

      Object containing data associated with the event.

    • id string

      Unique identifier for the object.

    • type string

      Description of the event (e.g., application.started, policy.active, certificate.approved, certificate.flagged, certificate.denied).

GET /api/v1/events/{event}
curl \
 --request GET 'https://api.1099policy.com/api/v1/events/ev_1a2b3c4d5e6f'
Response examples (200)
{
  "created": 1646818364,
  "data": {},
  "id": "string",
  "type": "policy.cancelled"
}