Cargobase developer documentation is at https://developer.cargobase.com. It covers the APIs, authentication, data models and integration guides for connecting Cargobase with your own systems, such as posting tracking milestones and approving or declining invoices.
Getting an API token
To call the APIs, you need an access token. Shipper and provider companies can generate one in Cargobase:
Go to Settings → Admin settings → API Tokens.
Click Generate token. The full token is shown only once, so copy it and store it securely before closing the dialog. You can also revoke tokens here.
Your user role needs the Create developer tokens permission (under Developer in User roles). Without it, the API Tokens page doesn't appear.
For help with an integration or questions about the APIs, contact your Customer Excellence Manager.
What providers can do with the API
Quotes: submit or update quotes on requests you were invited to.
Status updates:
POST /api/1/carrier-tracking-webhookwith a Provider API token (same path on the sandbox and production hosts). Send JSON for milestones, or multipart/form-data with the payload indata(JSON string) and files indocumentswhen attaching documents such as a POD (repeatdocumentsfor several files; don't Base64-encode them). Includeshipment_id,tracking_number,tracking_type,tracking_update_text,tracking_status_tag,mode_of_transport,event_timeandcreated_time; forDELIVERED, also sendactual_arrival_time.Bookings (if set up): Cargobase can push a JSON booking payload to your system when a shipment is booked. This is set up per integration – ask your Customer Excellence Manager. It isn't self-serve.
Invoices: submit invoices in Cargobase. The API can read invoice data. Attaching a PDF to a tracking update doesn't submit an invoice.
Full field lists and status values: https://developer.cargobase.com.
