Skip to Content
TimeToCargo

List webhook event types

Download OpenAPI
GET
/v2/webhook-event-types

Authorization

api_key
queryapi_key<token>

Response Body

OK

application/json
  1. response
success*boolean

Whether processing succeeded. For tracking results, also check status: success=true does not mean data was found.

data*array<>
status*string

Request execution status

Value in"OK""WRONG_PARAMS""UNEXPECTED_ERROR""INFO_NOT_FOUND""LINE_IS_UNDER_MAINTENANCE""LINE_NO_RESPONSE""API_KEY_WRONG""API_KEY_LIMIT_REACHED""API_KEY_RATE_LIMIT""LOW_BALANCE""SERVICE_UNAVAILABLE""NOT_FOUND"
status_description*|

Status description

Example Request
curl -X GET 'https://tracking.timetocargo.com/v2/webhook-event-types'
{  "success": true,  "data": [    {      "type": "tracking.eta_update",      "group": "tracking",      "description": "Estimated arrival date changed"    },    {      "type": "tracking.history_update",      "group": "tracking",      "description": "An event was added to the tracking history"    },    {      "type": "tracking.info_found",      "group": "tracking",      "description": "Tracking data was found"    },    {      "type": "tracking.info_not_found",      "group": "tracking",      "description": "Tracking data was not found"    },    {      "type": "tracking.auto_archiving",      "group": "tracking",      "description": "Subscriptions were automatically archived"    },    {      "type": "tracking.delivered",      "group": "tracking",      "description": "Shipment was delivered"    }  ],  "status": "OK",  "status_description": "Request completed successfully"}