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 Documents API

Shipping documentation

CargoSmart Documents 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 Documents. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an AsyncAPI specification.

This API exposes 1 operation across 1 path, and defines 4 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.

1 operations 1 paths 4 schemas 1 GET

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 Documents 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 1

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

Documents 1

Shipping documentation

GET
/documents/v1/bills-of-lading/{blNumber}
Get bill of lading
getBillOfLading 1 param → 200404

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are BillOfLading (16 properties), Party (5 properties), Port (4 properties), Error (2 properties). Each schema is shown below with its type and property counts.

BillOfLading
object
16 properties
Port
object
4 properties
Error
object
2 properties
Party
object
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

cargosmart-documents-api-openapi.yml Raw ↑

Other APIs CargoSmart publishes across the network.

CargoSmart Bookings API
CargoSmart Containers API
CargoSmart Shipments API
CargoSmart Vessels API