Floorly API
Version 1 · December 2026
Overview
Connect a dealership's CRM, website, accounting or DMS to Floorly. Read deals, customers, trades, buy-ins, inventory, signed documents and funding audits. Create deals and customers, and keep inventory in sync. Get a webhook the moment something happens.
Base address: https://api.floorly.ca/v1. Everything is JSON over HTTPS. A key belongs to one dealership and only ever sees that dealership's data.
Card details are never available through the API. Deposits show their status, the card brand and the last 4 digits only.
Keys
The owner, the general manager or the dealership's admin makes keys in Floorly under API. A key is shown once. Floorly keeps only a fingerprint of it, so a lost key can't be recovered: revoke it and make a new one.
readkeys can read everything listed here.read + writekeys can also create deals and customers, change deals, and update inventory.- A key can be limited to some stores (rooftops).
curl https://api.floorly.ca/v1/me \
-H "Authorization: Bearer fly_live_..."
Requests and errors
- Limits: up to 600 requests a minute per key. Every answer has
x-ratelimit-remaining. Over the limit you get429andretry-after. - Safe retries: send
Idempotency-Key: any-unique-stringwith a POST, PATCH or PUT. Sending the same key again within 30 days returns the first answer instead of doing it twice. - Errors look like this, with a normal HTTP status (400, 401, 403, 404, 429, 500):
{ "error": { "code": "not_found", "message": "Not found", "request_id": "req_8f3k2q7m..." } }
Lists and paging
Lists return newest first, 25 at a time (up to 100 with limit). Pass next_cursor back as cursor for the next page. Most lists take updated_since (an ISO 8601 date), which is the easy way to sync: remember when you last asked.
{ "object": "list", "data": [ ... ], "next_cursor": "MjU=" }
Dealership
The dealership, its stores, and what this key can do.
Deals
Filters: status (open, signed, funding, funded, delivered, hold, lost, cancelled; comma separated), stock_number, updated_since.
One deal with its customer, trades, delivery, signatures and deposits.
{
"id": "6a3e33f0-...", "object": "deal", "number": "1042", "status": "signed", "type": "finance",
"stock_number": "390611", "price": 38995,
"vehicle": { "year": 2026, "make": "NISSAN", "model": "ROGUE", "vin": "JN8BT3BB...", "stock": "390611" },
"customer": { "id": "...", "object": "customer", "first_name": "JANE", "last_name": "DOE", "phone": "4035550123", "email": "jane@example.com" },
"signatures": [ { "object": "signature", "ref": "FLY-8F3K-2Q7M", "status": "signed", "signed_at": "2026-12-03T19:04:11Z", "signed_sha256": "..." } ],
"deposits": [ { "object": "deposit", "status": "taken", "brand": "Visa", "last4": "4242", "amount_taken": 500 } ]
}
Start a deal, for example from a website lead. The customer can be an existing id or new details.
curl -X POST https://api.floorly.ca/v1/deals \
-H "Authorization: Bearer fly_live_..." -H "Content-Type: application/json" \
-H "Idempotency-Key: lead-58213" \
-d '{ "customer": { "first_name": "Jane", "last_name": "Doe", "phone": "403-555-0123", "email": "jane@example.com" },
"stock_number": "390611", "salesperson_email": "sam@yourstore.ca" }'
Change stock_number, price, type, delivery_at, or status (open, cancelled or delivered).
Customers
Filters: email, phone (digits), updated_since (created since).
first_name, last_name, business_name, phone, email, address.
Trades
Scanned trades with the VIN, odometer, damage, lien, the manager's value (acv) and market value. Filter by status.
Buy-ins
Cars the dealership is buying: the VIN, the car, the seller's name, the price and status.
Inventory
Filters: status, stock_number, vin, updated_since.
Add or update vehicles by VIN, up to 500 at a time. Send one vehicle, or { "vehicles": [ ... ] }.
{ "vehicles": [ { "vin": "JN8BT3BB5SW123456", "stock_number": "390611", "year": 2026, "make": "Nissan", "model": "Rogue",
"trim": "SV", "condition": "new", "price": 38995, "status": "available", "photos": ["https://..."] } ] }
Documents
Printed, scanned and signed documents for a deal (or buyin_id), each with a download_url that works for 5 minutes.
Signatures
Each signing: who, which documents, when it was sent, opened and signed, its reference (FLY-XXXX-XXXX) and the SHA-256 fingerprint of the signed PDF. The signed PDF ends with a certificate page showing the reference, times, IP address and device.
Funding audits
The score, result (pass, pass with conditions, review, fail), fund or hold, and on the single audit the full report.
Deliveries
Delivery date, status, and on the single delivery every promised item and whether it's done.
People
Everyone at the dealership on Floorly, with their role. Useful to map salespeople to your CRM.
Website numbers
Everything on the Website screen in Floorly for a period (30 days by default): visitors, sources, searches, searches with no results, vehicle attention, entry and exit pages, the funnel, forms, and problems.
Webhooks
Add a webhook in Floorly under API: an https address and the events you want. Floorly posts each event as it happens:
POST https://your-system.com/floorly
Floorly-Event: deal.status_changed
Floorly-Delivery: 81723
Floorly-Signature: t=1764789851,v1=5f0c4e...
{ "id": "evt_...", "object": "event", "type": "deal.status_changed", "created": "2026-12-03T19:04:11Z",
"dealership_id": "...", "data": { "id": "6a3e33f0-...", "number": "1042", "from": "open", "to": "signed" } }
| Event | When |
|---|---|
deal.created | A deal is started |
deal.status_changed | Signed, with finance, funded, delivered, on hold, lost or cancelled |
document.signed | A customer signed on their phone |
deposit.form_filled | A customer filled in the deposit form (no card details) |
trade.created, trade.valued | A trade is scanned, and when a manager values it |
buyin.created, buyin.status_changed | Buy-ins |
funding.audited | A funding audit finished |
delivery.status_changed | Make-ready, ready, delivered |
Answer with any 2xx within 10 seconds. Anything else is retried after 1, 5, 30, 120 and 720 minutes. Use the id to ignore an event you've already handled. Webhooks carry ids and the change, so fetch the full object from the API when you need it.
Checking signatures
Each webhook is signed with its secret (shown once when you add it). Compute HMAC SHA-256 of {t}.{raw body} and compare with v1. Reject anything older than 5 minutes.
// Node.js
import crypto from 'node:crypto'
export function fromFloorly(rawBody, header, secret) {
const { t, v1 } = Object.fromEntries(header.split(',').map((p) => p.split('=')))
if (Math.abs(Date.now() / 1000 - Number(t)) > 300) return false
const expected = crypto.createHmac('sha256', secret).update(`${t}.${rawBody}`).digest('hex')
return crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(v1))
}
Website insights tag
One line on every page of the dealership's website shows, in Floorly, what visitors search for (and what they find nothing for), which cars get attention, where people leave, which forms they give up on, broken pages, errors, slow pages, pages nobody visits, and a weekly report. The admin connects the website in Floorly under Website and copies the line from there:
<script async src="https://app.floorly.ca/insights.js" data-site="fs_..."></script>
- Vehicle pages are found from schema.org
CarorVehicledata on the page. If the website doesn't have it, adddata-floorly-vinanddata-floorly-stockto any element on the vehicle page. - Search results: searches are read from the address (
q,search,keyword...). Putdata-floorly-results="12"on the results page so Floorly knows when a search found nothing. - Consent: with
data-consent="required"nothing is sent until your cookie banner callsfloorly('consent', true). Visitors with Global Privacy Control turned on are never tracked. - Privacy: nothing typed into a form is collected, only which form and which field someone stopped at. When a lead form is sent, the email and phone are hashed in the browser so the visit can be matched to the customer in Floorly.
- Your own events:
floorly('lead', { form: 'Trade-in' }),floorly('search', { q: 'rogue', results: 0 }).