GET
/
webhook_notifications
curl --request GET \
  --url https://api.terminal49.com/v2/webhook_notifications \
  --header 'Authorization: <api-key>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "type": "webhook_notification",
      "attributes": {
        "event": "container.transport.vessel_arrived",
        "delivery_status": "pending",
        "created_at": "<string>"
      },
      "relationships": {
        "webhook": {
          "data": {
            "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "type": "webhook"
          }
        },
        "reference_object": {
          "data": {
            "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "type": "tracking_request"
          }
        }
      }
    }
  ],
  "links": {
    "last": "<string>",
    "next": "<string>",
    "prev": "<string>",
    "first": "<string>",
    "self": "<string>"
  },
  "meta": {
    "size": 123,
    "total": 123
  },
  "included": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "type": "webhook",
      "attributes": {
        "url": "<string>",
        "active": true,
        "events": [
          "container.transport.vessel_arrived"
        ],
        "secret": "<string>",
        "headers": [
          {
            "name": "<string>",
            "value": "<string>"
          }
        ]
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Token YOUR_API_TOKEN

The APIs require authentication to be done using header-based API Key and Secret Authentication.

API key and secret are sent va the Authorization request header.

You send your API key and secret in the following way:

Authorization: Token YOUR_API_KEY

Query Parameters

page[number]
integer
page[size]
integer
include
string

Comma delimited list of relations to include.

Response

200 - application/json
OK
data
object[]
meta
object
included
object[]