Retrieve an event

GET /api/v1/events/{event_id}

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

application/json

Body

  • event string

    The ID of the desired event.

  • example

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 object
    • type string

      Description of the event (e.g., application.started or policy.active).

GET /api/v1/events/{event_id}
curl \
 --request GET 'https://api.1099policy.com/api/v1/events/{event_id}' \
 --header "Content-Type: application/json" \
 --data '{"event":"string"}'
Request examples
{
  "event": "string"
}
Response examples (200)
{
  "$ref": "#/components/examples/event"
}