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.

curl https://api.floorly.ca/v1/me \
  -H "Authorization: Bearer fly_live_..."

Requests and errors

{ "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

GET/v1/me

The dealership, its stores, and what this key can do.

Deals

GET/v1/deals

Filters: status (open, signed, funding, funded, delivered, hold, lost, cancelled; comma separated), stock_number, updated_since.

GET/v1/deals/{id}

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 } ]
}
POST/v1/deals

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" }'
PATCH/v1/deals/{id}

Change stock_number, price, type, delivery_at, or status (open, cancelled or delivered).

Customers

GET/v1/customers

Filters: email, phone (digits), updated_since (created since).

GET/v1/customers/{id}
POST/v1/customers

first_name, last_name, business_name, phone, email, address.

Trades

GET/v1/trades
GET/v1/trades/{id}

Scanned trades with the VIN, odometer, damage, lien, the manager's value (acv) and market value. Filter by status.

Buy-ins

GET/v1/buyins
GET/v1/buyins/{id}

Cars the dealership is buying: the VIN, the car, the seller's name, the price and status.

Inventory

GET/v1/inventory

Filters: status, stock_number, vin, updated_since.

GET/v1/inventory/{id}
PUT/v1/inventory

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

GET/v1/documents?deal_id={id}

Printed, scanned and signed documents for a deal (or buyin_id), each with a download_url that works for 5 minutes.

Signatures

GET/v1/signatures?deal_id={id}

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

GET/v1/funding-audits
GET/v1/funding-audits/{id}

The score, result (pass, pass with conditions, review, fail), fund or hold, and on the single audit the full report.

Deliveries

GET/v1/deliveries
GET/v1/deliveries/{id}

Delivery date, status, and on the single delivery every promised item and whether it's done.

People

GET/v1/people

Everyone at the dealership on Floorly, with their role. Useful to map salespeople to your CRM.

Website numbers

GET/v1/website
GET/v1/website/{site_id}?from=&to=

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" } }
EventWhen
deal.createdA deal is started
deal.status_changedSigned, with finance, funded, delivered, on hold, lost or cancelled
document.signedA customer signed on their phone
deposit.form_filledA customer filled in the deposit form (no card details)
trade.created, trade.valuedA trade is scanned, and when a manager values it
buyin.created, buyin.status_changedBuy-ins
funding.auditedA funding audit finished
delivery.status_changedMake-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>