Getting Started
In Depth Guides
Useful Info
Shipments
Tracking Requests
Webhooks
Webhook Notifications
Containers
Shipping Lines
Terminals
Webhooks
List webhooks
Get a list of all the webhooks
GET
/
webhooks
curl --request GET \
--url https://api.terminal49.com/v2/webhooks \
--header 'Authorization: <api-key>'
{
"data": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"type": "webhook",
"attributes": {
"url": "http://example.com",
"active": true,
"events": [
"tracking_request.succeeded"
],
"secret": "672bd7b58b54645934a830d8fa",
"headers": [
{
"name": "x-secret-sauce",
"value": "sriracha"
}
]
}
}
],
"meta": {
"size": 0,
"total": 0
},
"links": {
"last": "http://example.com",
"next": "http://example.com",
"prev": "http://example.com",
"first": "http://example.com",
"self": "http://example.com"
}
}
Authorizations
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
Response
200 - application/json
OK
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.terminal49.com/v2/webhooks \
--header 'Authorization: <api-key>'
{
"data": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"type": "webhook",
"attributes": {
"url": "http://example.com",
"active": true,
"events": [
"tracking_request.succeeded"
],
"secret": "672bd7b58b54645934a830d8fa",
"headers": [
{
"name": "x-secret-sauce",
"value": "sriracha"
}
]
}
}
],
"meta": {
"size": 0,
"total": 0
},
"links": {
"last": "http://example.com",
"next": "http://example.com",
"prev": "http://example.com",
"first": "http://example.com",
"self": "http://example.com"
}
}
Assistant
Responses are generated using AI and may contain mistakes.