Aller au contenu
Vous êtes hors ligne
Les pages ne se chargeront pas avant votre retour en ligne. Ce que vous envoyez attendra.
Nous n'arrivons pas à joindre fam.
Votre connexion semble fonctionner, le problème vient donc probablement de chez nous.
API referencev1

Getting started

The fam. API

Every published endpoint, as it is: the same table the application runs on, described. One base URL, one envelope, one kind of id, a key that acts as its owner: a person, or an integration.

Base URL
https://app.fam.services/api/v1
Auth
Bearer key
Format
JSON · OpenAPI 3.1.0
Endpoints
49 in 13 resources

Three steps

  1. An admin mints a key on the organization's console, Console › API: their own, or an integration's. It is shown once. The key acts as its owner, with the owner's permission profile at every location, and only within its scopes (whose key, which scopes).
  2. Send it as a bearer on every request: Authorization: Bearer fam_…. No cookie, no CSRF token.
  3. Every reply says ok first. A refusal is a 4xx that names its error, the param it is about, a message and its doc_url (the envelope, every word). An id says what it is: ticket_…, user_…. Every reply carries Request-Id; a write takes Idempotency-Key; a list pages on cursor; what happens reaches your webhooks.

Resources

Assets2 endpointsA thing at a location that tickets are about: a machine, a door, a printer, a vehicle.Attachments2 endpointsA file on a record (a ticket, a comment, a cost, an asset, a location): a photo, a worksheet, a certificate, an invoice; stored once, read through a short-lived signed URL, kept when its record is deleted.Bookings8 endpointsOne person holding one bookable thing for one window: pending, approved, checked in, released.Comments2 endpointsWhat people write on a ticket, a planned ticket, a booking: the conversation on the thing.Files1 endpointA file a caller uploaded through the API (POST /files), waiting to be attached to a record by its id; unattached, it is dropped after a day.Locations3 endpointsA place the organization runs: an address with areas, assets, tickets and the people who have access there.Me1 endpointNotifications8 endpointsOne line in a person's inbox: what happened, to what, by whom; read, done, snoozed.Qualifications5 endpointsWhat a person or a provider holds that lets them do a kind of work, until it expires: a person's VCA, NEN 3140 designation, SEP or F-gas, an organization's VCA or its liability insurance. Granted by an outside body or by the holder's own employer. Checked before a work permit is issued. Held since 2026-10-15 (lib/qualification.js); the permit gate to come: documentation/qualifications-spec.md.Search1 endpointOne box over everything the person may see: tickets, people, locations, assets and more, matched on a number, a name or a few words, narrowed by `key:value` tokens, answered grouped by kind.Tickets9 endpointsOne piece of work at a location: created, accepted, scheduled, done, rated.Time off5 endpointsDays a person is away: requested, approved, counted against a balance, shown on the team's calendar.Users2 endpointsA human with an account (a seat). Copy names the user or says "user" / "users", never "people"; the table is `users`.