Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
version: v1
title: OpenTrack /events API
contact:
email: support@opentrack.co
x-logo:
url: https://s3-us-west-1.amazonaws.com/opentrack.co/images/opentrack_logo_dark.png
altText: OpenTrack Logo
servers:
- description: Production
url: https://api.opentrack.co
security:
- ApiKeyAuth: []
tags:
- name: /events
paths:
/v1/events:
get:
summary: Get Webhook Events
description: 'This endpoint allows you to playback all the webhook event messages sent to your account endpoint(s).
The response looks as follows:
```json
{
total: 1
data: [{
"event": "container.status.updated"
"sentAt": "2025-05-27T07:42:32.950Z"
"data": {...},
"changes":
{
"status": { "previous": "DISCHARGED", "current": "AVAILABLE" }
},
}]
}
```'
operationId: getEvents
tags:
- /events
parameters:
- name: timestamp
in: query
required: true
description: Unix timestamp designating the start of the playback time range
schema:
type: number
- name: events
in: query
description: The list of events to show
schema:
type: array
items:
type: string
enum:
- container.status.updated
- container.history.updated
- container.itinerary.updated
- container.holds.updated
- container.demurrage.updated
- container.location.updated
- name: containerId
in: query
description: The id of a container for which the related events are to be shown.
schema:
type: string
- name: page
in: query
required: false
description: The page of the result with events.
schema:
type: number
- name: perPage
in: query
required: false
description: The number of events to be returned in a single request. Current limit is 25.
schema:
type: number
responses:
'200':
description: events returned
content:
application/json:
schema:
type: object
properties:
total:
type: number
example: 14
data:
type: array
items:
$ref: '#/components/schemas/WebhookEvent'
components:
schemas:
WebhookEvent:
type: object
properties:
event:
type: string
description: Event name, e.g. container.status.updated
data:
type: object
description: Data representing the current state of the event entity at the time of the event
changes:
type: object
description: 'information about changes, e.g. voyageNumber: { current: ''221A'', previous: ''XA221A'' }'
sentAt:
type: string
description: Timestamp when the event has been sent.
securitySchemes:
ApiKeyAuth:
type: apiKey
name: Opentrack-API-Key
in: header
x-provenance:
method: searched
source: https://developers.opentrack.co/reference
harvested: '2026-11-15'
tool: harvest-readme-openapi.py
note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
assembled_from:
- https://developers.opentrack.co/reference/deletewebhooks.md
- https://developers.opentrack.co/reference/getcontainerroute.md
- https://developers.opentrack.co/reference/getcontainerstatus.md
- https://developers.opentrack.co/reference/getevents.md
- https://developers.opentrack.co/reference/getmasterbillstatus.md
- https://developers.opentrack.co/reference/listwebhooks.md
- https://developers.opentrack.co/reference/registerwebhook.md
- https://developers.opentrack.co/reference/trackcontainer.md
- https://developers.opentrack.co/reference/trackmasterbill.md
- https://developers.opentrack.co/reference/updatewebhook.md
merge:
pages: 10
deduped: 54
conflicts_kept_first: 0