Dockflow Booking · developers

One booking API for every carrier.

Create a booking once, in one format based on DCSA booking, SI and VGM fields. Dockflow checks it for the carrier, sends it by the route that carrier offers, and returns the answer by webhook or when you ask.

For forwarders who book containers with several carriers. On your own carrier contracts.

Create a bookingExample

POST /bookings/
{
  "carrier_scac": "MAEU",
  "idempotency_key": "fms-B-101",
  "fields": {
    "agreement_reference": "SC-4471",
    "port_of_loading": "BEANR",
    "port_of_discharge": "KRPUS",
    "departure_date": "2026-12-19",
    "equipments": [{ "iso_equipment_code": "45G1", "units": 2 }]
  }
}
Resources

Five concepts.

bookings

The booking itself: parties, route, equipment, cargo, contract reference. Created once, changed by amendment.

submissions

Each time a booking, SI, VGM, amendment or cancellation goes to the carrier. Approve and submit act on a submission.

documents

A booking request mail or PDF, read into a booking draft with the source of each value.

carriers

The carrier list, with the messages each route carries, so your system knows before it sends.

sailings

Sailings with their cut-offs for a port pair, to pick from before booking.

Safe to retry

One idempotency key, one booking.

Send the same idempotency key twice and you get the same booking back, not a second one. A submission is claimed before it goes to the carrier, and an unclear carrier answer is read back from the carrier, never resent.

States

Follow every booking.

Draft, approved, sent, then confirmed, rejected or needs change. Each change reaches your system by webhook, or you poll the booking.

Per carrier

Capabilities declared up front.

The carriers resource tells your system which route carries which message: where the VGM goes, when SI can follow, whether amendments and cancellations go the same way. A message a route cannot carry is reported as not available, before anything reaches the carrier.

GET /booking-carriers/Example

{
  "scac": "CMDU",
  "name": "CMA CGM",
  "needs_agreement_reference": true,
  "routes": [
    { "route": "direct",
      "parts": ["booking", "si", "amendment", "cancellation"] },
    { "route": "web",
      "parts": ["booking", "si", "vgm", "amendment", "cancellation"] }
  ]
}
Access and agents

Booking scope, and the same rules for agents.

  1. API keys with booking scopeCreate a key with booking access in the Dockflow Console, and revoke it any time.
  2. MCP for agentsClaude, Copilot or ChatGPT can create and send bookings through the same API. Agent bookings follow your approval rules, so a person approves where your rules say so.
  3. API referenceThe full reference comes with access.

Questions developers ask.

Which format does the API use?

One format for every carrier, with fields based on DCSA booking, SI and VGM. Dockflow maps it to each carrier’s own format.

What happens if we send the same booking twice?

With the same idempotency key, you get the existing booking back. A submission is claimed before it is sent, so it never goes to the carrier twice.

How do we get the carrier’s answer?

By webhook to your system, or by polling the booking. The answer carries the state and the carrier’s booking reference.

Can an AI agent book?

Yes, through the same API by MCP. Agent bookings follow the same approval rules as bookings from your system.

Dockflow

One booking API for every carrier.

Request access