Skip to content
GETAPI key

Endpoint detail and deliveries

GETapi.loadingmcp.com/v1/webhooks/{id}

One endpoint plus its 20 most recent delivery attempts. This is where you look when an event did not arrive: status is pending, delivered or dead, and last_error carries either HTTP <code> or the transport error we saw. Read, so a valid key is enough. Answers 404 NOT_FOUND for an unknown id or one on another account.

Path parameters

idstringrequired

Endpoint id from registration.

Response fields

Derived from the example response.

okboolean

Whether the request succeeded.

dataobject

The payload. Everything an endpoint returns sits under this key.

data.idstring

Stable identifier for the record. On the tracking endpoints this is the container UUID, except on a portfolio summary row, where it is the container number.

data.urlstring
data.event_typesstring[]
data.descriptionstring

The carrier own phrasing for the event, falling back to our word for the code.

data.activeboolean
data.failure_countnumber
data.last_delivery_atstring
data.created_atstring

When the record was created (ISO 8601).

data.recent_deliveriesobject[]
data.recent_deliveries[].idstring

Stable identifier for the record. On the tracking endpoints this is the container UUID, except on a portfolio summary row, where it is the container number.

data.recent_deliveries[].event_typestring

DCSA event category: SHIPMENT, TRANSPORT or EQUIPMENT.

data.recent_deliveries[].statusstring

Current normalised status of the shipment. Ocean lifecycle order: discharged, available, delivered, returned_empty. Two values end a shipment, delivered and returned_empty, and returned_empty outranks delivered.

data.recent_deliveries[].attempt_countnumber
data.recent_deliveries[].last_status_codenumber
data.recent_deliveries[].last_errornull
data.recent_deliveries[].created_atstring

When the record was created (ISO 8601).

data.recent_deliveries[].delivered_atstring
curl 'https://api.loadingmcp.com/v1/webhooks/3f1c9a4e-7b52-4f0e-9a41-2c9d5e6b8a10' \
  -H "Authorization: Bearer lmcp_YOUR_API_KEY"
Response
{
  "ok": true,
  "data": {
    "id": "3f1c9a4e-7b52-4f0e-9a41-2c9d5e6b8a10",
    "url": "https://hooks.example.com/loadingmcp",
    "event_types": ["plan_created", "plan_updated"],
    "description": "Plan changes, warehouse app",
    "active": true,
    "failure_count": 0,
    "last_delivery_at": "2026-08-11T09:14:31.204Z",
    "created_at": "2026-08-11T09:12:04.881Z",
    "recent_deliveries": [
      { "id": "a94b2e10-33d7-4c8a-b0f1-6d2e7c9a4b55",
        "event_type": "ping",
        "status": "delivered",
        "attempt_count": 1,
        "last_status_code": 200,
        "last_error": null,
        "created_at": "2026-08-11T09:14:30.010Z",
        "delivered_at": "2026-08-11T09:14:31.204Z" }
    ]
  }
}