Developers

TnL CRM public API v3

API v3 is a bearer-token API for one moving-company account. It creates and reads the same jobs, contacts, invoices, and warehouse slots people use in the app.

Base URL and live reference

Send requests to https://v2.tnlcrm.com/api/v3. The interactive reference is https://v2.tnlcrm.com/api/v3/docs and the OpenAPI 3 document is https://v2.tnlcrm.com/api/v3/openapi.json. Those two URLs do not require a token.

Lead webhooks from ReallyMoving, CompareMyMove, and the other comparison sites are a separate integration. They are not API v3. This page is the account API.

Authentication

Create, copy, and rotate the token under Settings, Integrations, V3 public API. The token only works while that integration is enabled. Send it on every call:

Authorization: Bearer <token>

A missing or wrong token returns 401. A real token for an account where the integration is turned off returns 403. An id that does not belong to the token account returns 404. Invalid JSON or a missing required field returns 422.

Rate limit and lists

The limit is 5 requests per second per token. Every response includes X-RateLimit-Limit and X-RateLimit-Remaining. A 429 body is JSON with error and code.

Lists take page (default 1) and limit (default 25, maximum 100). Filters on a list are combined with AND. A list response is an object with data, page, limit, and total. A single record is an object with data.

company_id on contacts, jobs, and invoices is the customer company, not your CRM account. The account is chosen by the token.

Resources

Paths are relative to /api/v3. Item URLs add /{id}. Ids are UUIDs. Send only the fields you want to change on PATCH. Dates and times are ISO 8601.

PathMethodsNotes
/jobs GET, POST, GET one, PATCH name required. Filters include q, contact_id, company_id, status, source, job_date, number, and created or start ranges.
/contacts GET, POST, GET one, PATCH Search q, email, phone, company_id, created range.
/companies GET, POST, GET one, PATCH name required. Search q, name, email, type, created range. These are customer companies, not your CRM account.
/notes GET, POST, GET one, PATCH content and job_id required.
/tasks GET, POST, GET one, PATCH job_id, start_date, and end_date required. men is the crew size.
/products GET, POST, GET one, PATCH name required. Catalog item with sku, price, and category.
/services GET, POST, GET one, PATCH name required. Same catalog shape as products, type service.
/storage GET, POST, GET one, PATCH Warehouses. name required. Street, city, post code, country, lat, lng.
/warehouse-slots GET, POST, GET one, PATCH job_id, warehouse_id, start_date, and end_date required. Optional container_id. Filter by job, warehouse, contact, container, or an overlapping period.
/invoices GET, GET one Read only. Number, status, type, sum, discount, payment method, payment link, dates, and line items.
/expenses GET, GET one Read only. Amount, description, type, for_date, and job_id.

Examples

List the first page of jobs, then create a contact. Replace YOUR_TOKEN with the token from Settings.

curl -s "https://v2.tnlcrm.com/api/v3/jobs?page=1&limit=25" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Accept: application/json"
curl -s -X POST "https://v2.tnlcrm.com/api/v3/contacts" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"first_name":"Jane","last_name":"Doe","email":"jane@example.com","phone":"+447700900123"}'

Addresses and line items

Job pickup and delivery are objects named from and to, with address, city, and post_code. Invoice line items are read-only on the invoice and include name, sku, quantity, net_price, vat as a percent, total_price, and position.

For an assistant that should choose tools in a chat, use the MCP server instead of embedding this token in a prompt.

Questions

Where do I get a V3 API token?

In TnL CRM open Settings, then Integrations, then V3 public API. Create, copy, or rotate the token there. The token works only while that integration is enabled. Send it as Authorization: Bearer.

What is the rate limit?

5 requests per second per token. Responses include X-RateLimit-Limit and X-RateLimit-Remaining. Over the limit the API returns 429.

Which resources are read-only?

Invoices and expenses. Contacts, companies, jobs, services, products, storage locations, warehouse slots, notes, and tasks can be created, updated, read, and listed.

Related

talking talking-dark
chatting chatting-dark
star-1
star-2
arrow-1

Streamline Your Moving Business with TnL CRM.

Try TnL CRM today. 60 Days TRIAL