Fixbli

Fixbli API

De documentatie van de Fixbli API is in het Engels.

The Fixbli API lets a repair business connect Fixbli to the tools it already uses: a website, a CRM, accounting, a spreadsheet, Zapier, Make or n8n. It gives access to the organisation's repairs, customers, appointments, payments and locations, to the device catalog and the parts search, and it sends webhooks when something happens in Fixbli.

Overview

  • Base URL: https://fixbli.com/api/v1. JSON only, UTF-8.
  • Authentication: an API key in the Authorization header: Authorization: Bearer fxk_live_.... A manager makes keys in Fixbli under Settings, Integrations, API keys; the public API cannot make keys. A key belongs to the organisation, has scopes (read only by default) and can be limited to one location. It is shown once, so keep it in a safe place. Zapier, Make and n8n will use OAuth 2.0 instead (phase 2, see OAuth2).
  • Plan: the API and webhooks are part of paid Fixbli Pro. An organisation in its trial (or without a plan) gets 403 plan_required; a cancelled organisation can read for 30 days (see below).
  • Locations: a key limited to one location sees the repairs, appointments, payments and events of that location only, but every customer of the organisation (customers belong to the organisation, as in the app).
  • One source of truth (2.0.0). Every object is the answer of the Fixbli service that owns it, with the same field names and values as in Fixbli itself: repairs, notes and payments from the repairs service, customers from the customers service, appointments and free times from the calendar. A field Fixbli adds there appears here too; only what is never public is left out (purchase prices, gross profit, supplier part numbers and links, bank details, staff e-mail addresses and who is free, part photos, and the inputs these could be worked out from). Fields that are removed or renamed in Fixbli leave the API at once and are listed in the changelog. The API adds only object and app_url (the link in the Fixbli app, where there is one). Ignore fields you do not know.
  • Ids are text with a prefix that names the type, at every depth: rep_ repair, cus_ customer, apt_ appointment, pay_ payment, loc_ location, dev_ device (catalog), prt_ part (catalog), nte_ note, usr_ team member, rpd_ device of a repair, rpl_ part line, rex_ extra line, con_ contact, com_ company, cdv_ customer device, aty_ appointment type, shr_ share, apr_ approval, pod_ parts order, wru_ warranty rule, evt_ event, whk_ webhook endpoint, dlv_ webhook delivery, key_ API key, grt_ OAuth grant. created_by_id and other *_by_id fields take the prefix of their *_by_type (user usr_, customer cus_, api key_). The organisation id and ids without a public type (for example normalized part ids) are used as they are. Treat every id as an opaque string.
  • Money and statuses are as Fixbli keeps them: amounts are numbers (189, 12.5; also the stored ones that Fixbli keeps as decimals, and a location's lat and lng), statuses with their internal names (status ready_for_pickup, progress.step repair_done). The organisation's currency is in GET /me.
  • Times are UTC in ISO 8601 (2026-12-03T14:05:22Z). Dates without a time are YYYY-MM-DD.
  • Text in errors is English. Programs should use the code of an error, never its sentence.
  • Privacy: the organisation decides where its data goes. A key without customers:read never receives a customer's name, e-mail address or phone number, not in answers and not in webhooks; only the customer id. A repair's title is then its customer_reference (the title without the customer's name), and texts sent to the customer are left out (config: the scope cuts of the public API).

Scopes

Scope Gives
me Always granted: who the key is, its organisation, locations and scopes
locations:read The organisation's locations, opening hours and addresses
repairs:read Repairs, their devices, lines, totals, status, notes; repair, approval and warranty events
repairs:write Create a draft repair, change its title, add notes, check in, mark ready, mark picked up
customers:read Customers and the customer details inside repairs, appointments and events
customers:write Create and update customers
appointments:read Appointments and free times; appointment events
appointments:write Create, move and cancel appointments
payments:read Payments; payment events
payments:write Record a payment or a refund that already happened
catalog:read The device catalog (makes and models)
parts:read The parts search for one device, with its own limits (see Parts)
webhooks:manage Webhook endpoints, their delivery log, replay and test

Events have no scope of their own. An event is visible (in GET /events and in webhooks) when the key has the read scope of the event's object: repair.*, approval.*, warranty_claim.* and part.* need repairs:read, appointment.* needs appointments:read, customer.* needs customers:read, payment.* needs payments:read, message.* needs messages:read (phase 2). The object inside the event is cut by the other scopes in the same way as the API answers.

Paging

Lists take limit (default 25, at most 100; repairs at most 50) and cursor. An answer is { "object": "list", "data": [...], "has_more": true, "next_cursor": "..." }; send next_cursor as cursor to get the next page, with the same filters. Lists are sorted by updated_at, then by id, oldest first (order=desc on repairs and payments for newest first), so updated_since (inclusive) together with the cursor is a reliable way to keep a copy in sync. Deleted objects are not in the lists: webhooks and GET /events tell about them. A cursor is opaque and stays valid for 24 hours. ids (at most 100) fetches known objects in one call; expand=customer adds each item's customer (with customers:read).

Errors

Errors use application/problem+json (RFC 9457) with type, title, status, detail, a stable code and, for invalid input, errors[] with one entry per field. See components.schemas.Problem.

Rate limits

Per API key: 120 requests a minute and 20,000 a day (fixed windows: the minute and the UTC day). The same limits apply again per organisation across all its keys. The parts search has its own, lower limits and a monthly number of searches per location (see Parts). Every answer carries RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset; a request over the limit gets 429 with Retry-After (seconds).

Idempotency

Every POST accepts an Idempotency-Key header (any unique string up to 255 characters, for example a UUID). The first answer for a key is kept for 24 hours and returned again for a retry with the same key, with the header Idempotent-Replayed: true. The same key with a different request body answers 409 idempotency_conflict. Use it for every create, so a retry after a timeout never makes a second repair, customer or payment.

Webhooks

A webhook endpoint receives a signed POST for each event it subscribed to. The body is the Event object. Headers:

  • Fixbli-Signature: t=1733234722,v1=<hex> where v1 is HMAC-SHA256 with the endpoint's secret over the text <t>.<raw body>. Check it against the raw body before you parse it, and reject a t older than 5 minutes. While a secret is being rolled the header carries two v1= values for 24 hours; accept either.
  • Fixbli-Event-Id, Fixbli-Event-Type, Fixbli-Event-Seq (the order within the organisation) and Fixbli-Delivery-Id.

Any 2xx answer within 10 seconds counts as delivered. Otherwise Fixbli tries again after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours, 12 hours and then every 24 hours until 3 days have passed. 410 Gone switches the endpoint off at once. Redirects are not followed. An endpoint without a single success for 3 days is disabled and the organisation gets a notice in Fixbli. Delivery is at least once and mostly in order: drop duplicates by event id and order by Fixbli-Event-Seq. Only https URLs on port 443 or 8443 are accepted, and never an address in a private network. Events are kept for 30 days and can be replayed in that time.

The webhook requests are described under x-webhooks in this file (OpenAPI 3.0.3 has no top-level webhooks).

Parts

GET /devices/{device_id}/parts gives the same parts list the Fixbli app shows for one device: the parts that fit it in the app's order, their quality, colour, supplier, stock, warranty and the organisation's retail price for one location, with the part and its quality in words (labels, in lang). Each part is the answer of Fixbli's own parts search with the same field names, so a field Fixbli adds there appears here too; only what is never public is left out (purchase prices, gross profit, supplier part numbers and supplier links, and the inputs they could be worked out from), and ids carry their prefix (prt_, dev_). Amounts in a part are numbers (189 or 156.2), as Fixbli's parts search gives them, with price.currency beside them; the retail price for the customer is price.retail_price_incl_vat (and price.retail_price_excl_vat). Parts at a supplier the organisation switched off are listed with supplier_enabled: false; a part without a price has price.retail_price null (see price.status). It is meant for building your own front end on Fixbli, not for copying the catalog, so it is limited: there is no list or export of all parts or products; you search one device at a time (optionally narrowed with q, part, quality and in_stock, in the language of lang); a search returns at most 50 parts a page and 200 parts in total. It needs the scope parts:read. It is part of paid Fixbli Pro only: a cancelled organisation gets 402 billing_cancelled for the parts search, also in the 30 days it can still read its own data.

The location. Prices (with the VAT of the location's country) and the monthly searches belong to one location. A key limited to one location searches for that location. A key for every location of the organisation must name the location with location_id; without it the search answers 400 invalid_request.

50 searches a month per location. A search is the parts of one device for one location. Each location has 50 searches a calendar month, counted in the location's own timezone (for example from 1 December 00:00 in Amsterdam), whichever key makes them. Asking for the same device for the same location again within 60 minutes of the search that counted does not count again, with any filters and any page. Only a search that gives an answer counts: a request that is refused (400, 403, 404, 429) or that fails (503) does not. Every answer of the parts search carries:

  • X-Fixbli-Searches-Limit: the searches a month (50);
  • X-Fixbli-Searches-Remaining: the searches left this month for the location, after this request;
  • X-Fixbli-Searches-Reset: when the next month starts for the location (UTC, ISO 8601).

When the location has used its searches, a new search answers 429 monthly_limit_reached with Retry-After (seconds) and a detail that says when the limit resets; the same device within the 60 minutes still works.

Requests. Besides the searches, the parts search has its own rate limit of 30 requests a minute and 2,000 a day per key (and per organisation), repeats and pages included (429 rate_limited). GET /me shows these limits under rate_limits.

Purchase prices and gross profit are never part of the public answer: they are on a central never list that every public answer goes through. GET /me says purchase_prices: false.

Never in v1

Gross profit, billing, team members and roles, supplier orders, and deleting anything (repairs, customers, appointments, payments). Cancelling an appointment keeps it, with status cancelled.

Cancelled and demo organisations

A cancelled organisation can read for 30 days (to export its data); writes answer 402 billing_cancelled and webhooks pause. After the 30 days every request answers 402 billing_cancelled. The demo organisation cannot have API keys or webhooks (409 demo_organisation).

Versioning

2.0.0 is one switch on the same path /v1. Since 2.0.0 the fields follow Fixbli's own services (see One source of truth): new fields appear without notice, and a field Fixbli removes or renames leaves the API at once; each such change is in the changelog with its date. Your code should ignore fields it does not know. Events carry a dated api_version that is fixed per webhook endpoint when it is made. Anything that will be removed is announced 12 months ahead on the developer page and in a Deprecation header.

Phases

This contract is written before the code and ships in two steps. Every operation carries x-fixbli-phase:

  • Phase 1a: reads (me, locations, repairs and their notes, customers, appointments, payments, events, devices), webhooks (endpoints, delivery log, replay, test) and API keys (made in the app, not through this API). Phase 1a makes ten core events: repair.created, repair.booked, repair.ready, repair.picked_up, repair.cancelled, appointment.created, appointment.moved, appointment.cancelled, customer.created and payment.recorded.
  • Phase 1b: writes (draft repair, title, notes, check in, ready, picked up, customers, appointments, payments), free times for appointments, the parts search, and the rest of the events. Version 1.1.0 has the writes and the free times; version 1.2.0 adds the parts search. Version 2.0.0 mirrors every object from its Fixbli service (the write inputs use the same names), also the locations, GET /me's organisation, the device catalog and the parts search (the same parts list as the Fixbli app). The other events follow later. Changes made through an API key show up in Fixbli as "API key" and the key's name, and the events they cause carry that actor (actor.type integration); an endpoint with skip_own_changes gets no events for changes made with its own key.
  • Phase 2: OAuth 2.0 for Zapier, Make and n8n, and the message.* events with messages:read.

Changelog

Changes to the Fixbli API, newest first. Anything we will remove is announced here in advance.

2.0.0, 29 November 2026

Every answer now follows Fixbli's own services (one source of truth); ids are prefixed by type.