Webhooks
Create a webhook
You can configure a webhook via the API to be notified about events that happen in your Terminal49 account. These events can be realted to tracking_requests, shipments and containers.
This is the recommended way tracking shipments and containers via the API. You should use this instead of polling our the API periodically.
post/webhooks
Request body
Example request
{
"data": {
"attributes": {
"url": "https://webhook.site/#!/39084fbb-d887-42e8-be08-b9183ad02362",
"events": [
"tracking_request.succeeded"
]
}
}
}Response
Create a test webhook endpoint