Get an event
GET/v1/events/{eventId}
One event, thin. A 404 for a type this key cannot read.
Permissions: any valid key · Kind: read · Cost: 1 unit
Path parameters
| Field | Type | Required | Description |
|---|---|---|---|
eventId |
uuid | yes |
Query parameters
None.
Response 200
| Field | Type | Required | Description |
|---|---|---|---|
object |
"event" | yes | |
id |
uuid | yes | |
type |
"trip.created" | "trip.updated" | "trip.archived" | "trip.restored" | "trip.published" | "trip.unpublished" | "trip.deleted" | "trip.itinerary.updated" | "quote.created" | "quote.updated" | "quote.sent" | "quote.accepted" | "quote.rejected" | "quote.deleted" | "traveler.added" | "traveler.updated" | "traveler.removed" | "trip.contact.updated" | "document.created" | "document.updated" | "document.deleted" | "ping" | yes | |
createdAt |
string | yes | |
subject |
object | yes | |
subject.object |
"trip" | "quote" | "traveler" | "contact" | "document" | "endpoint" | yes | |
subject.id |
uuid | yes | |
subject.tripId |
uuid | null | yes | |
changed |
string[] | yes | The API fields that changed (names only). |
Errors
Errors are problem details. Besides the refusals described above, any call like this one can return:
invalid_request— Invalid requestunauthorized— Missing or invalid API keyinsufficient_scope— Missing permissionrate_limited— Rate limit reachednot_found— Not found