Fr8Labs API — developer guide
Overview
The Fr8Labs API lets your own systems read and change your own Fr8Labs data over HTTPS. Your ERP, your website, your internal tools or a script can work with the same CRM records, quotations, jobs, invoices and ledger documents your team uses every day.
Read your CRM, quotations, jobs, invoices, tasks and accounting data
Create and change CRM records, quotations, jobs, job invoices and accounting drafts
Preview any change first, if you like. Every write has a dry run that checks your request against live data and writes nothing
Hear about payments. Events and signed webhooks tell you when an invoice you created is paid, credited or cancelled
A key from the Fr8Labs API always acts on your company only. You never send a company id. The key decides the company.
Base URL:
https://notification-hub.fr8labs.co/api/v1Live reference (every operation, every field): https://notification-hub.fr8labs.co/api-docs
Who it is for
Your developers, or the integration partner you work with, who connect another system to Fr8Labs.
Your company administrator, who decides which people may create API keys, and which parts of Fr8Labs those keys can reach.
You switch the API on and create keys yourself, in the Fr8Labs portal. See Getting started.
The three modules
The API is split into three modules. You turn each one on or off for your company in the API access tile of the Fr8Labs portal. A key can only use the modules that are on.
Module | What it covers | Scopes |
|---|---|---|
CRM | Leads, deals, organizations and contacts. Search, counts and form descriptions. Attachment details (no file downloads). Add and edit contacts, leads and deals; set a lead's or deal's status or owner; log call or visit notes; create and edit follow-up tasks. |
|
Freight operations | Quotations: list, read, create drafts, edit, mark sent, accept, withdraw or decline, and convert to a job. Jobs: read, costing lines, document details; create ocean, air and other jobs; add and edit house bills; edit the master bill. Job invoices: read one; create sales and purchase invoice drafts on a job, by hand or from the job's costing; credit and debit notes against a posted job invoice. Tasks across jobs, vendor rate sheets and quotation templates. |
|
Accounting | Your ledger, for the companies (legal entities) you choose: period status, GL accounts, customers and suppliers, items, tax templates, cost centers, bank accounts, outstanding invoices, documents, assets and bank reconciliation. Create non-job sales invoice, purchase invoice, journal entry and payment drafts, post a draft the API created, credit or debit a posted non-job invoice, and cancel or delete what the API created. Payment events and webhooks for the invoices the API created. |
|
The margin scope adds buy-side data to Freight operations: buy amounts, costs, profit, markup and vendors. Leave it off a key that does not need it. See Authentication and keys.
How a write works, in one paragraph
You send the change with an Idempotency-Key header. If the network drops, you send the same request with the same key again and get the stored answer back, never a second record. If you want to see what would happen first, send it to its dry run (POST …/dry-runs): it checks the request against your live data, writes nothing, and answers with what would happen, anything that blocks it, and any warnings. See Writes: send, or preview first.
In this section
Page | What it covers |
|---|---|
Turning the API on, your first key, your first call | |
The Bearer header, key format, scopes, rotating and revoking | |
Dry runs, | |
Rate limits, paging, the error format, every error code | |
Every operation by module, with its scope | |
Getting help, how the API changes, terms | |
Payment events on the invoices you created: |
Best practices
Store your key securely. Never put it in source control, a web page or a URL.
Give each system its own key, with only the scopes it needs.
Start with read scopes and dry runs. Add write scopes when your integration is ready.
Log the
X-Request-Idof every response. Quote it when you contact support.
Documentation owner: Fr8Labs Customer Success. Text reviewed: 18 October 2026.