Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

CargoSmart Bookings API

Container booking management

CargoSmart Bookings API is one of 5 APIs that CargoSmart publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Bookings. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an AsyncAPI specification.

This API exposes 2 operations across 1 path, and defines 6 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against a single base URL, https://api.cargosmart.com.

2 operations 1 paths 6 schemas 1 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://api.cargosmart.com
Authentication
API Key, OAuth 2.0
Contact
Resource Areas
1

Authentication & Security 2

CargoSmart Bookings API declares 2 security schemes for authenticating requests. An API key is passed in the header as X-API-Key (apiKey). It supports OAuth 2.0 (oauth2) using the clientCredentials flow, exposing 4 scopes. By default, every request must be authenticated.

Paths & Operations 2

Across 1 path, the API surfaces 2 operations — 1 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Bookings 2

Container booking management

POST
/bookings/v1
Create container booking
createBooking body → 201400
GET
/bookings/v1
List bookings
listBookings 4 params → 200

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are Booking (11 properties), BookingRequest (8 properties), Party (5 properties), Port (4 properties). Each schema is shown below with its type and property counts.

BookingList
object
1 property
Port
object
4 properties
Error
object
2 properties
Party
object
5 properties
BookingRequest
object
8 properties 5 required
Booking
object
11 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

cargosmart-bookings-api-openapi.yml Raw ↑

Other APIs CargoSmart publishes across the network.

CargoSmart Containers API
CargoSmart Documents API
CargoSmart Shipments API
CargoSmart Vessels API