FileMaker Data API: an independent reference
This is an independent, task-oriented reference for the Claris FileMaker Data API, the REST interface to FileMaker Server databases. I wrote it as a portfolio sample. It is not affiliated with or endorsed by Claris; the official documentation remains the authority.
Two things make this sample worth your time as a hiring signal:
- The OpenAPI file is hand-authored. The interactive specification renders from a YAML file I wrote by hand in OpenAPI 3.1, not exported from a tool. Schemas, security schemes, and response envelopes are all explicit.
- I am certified on the platform. I hold Expert-level Claris certifications, so the reference reflects how the API actually behaves, not just what its endpoint list says.
Scope
| Covered | Not covered (see official docs) |
|---|---|
| Sessions: log in, log out | Running scripts |
| Records: create, read, list, edit, delete | Setting global fields |
| Finds: queries, operators, sorting, paging | Layout and database metadata |
| Container field uploads | External data source authentication and OData |
How the API is shaped
Every call except login and logout carries a bearer token and returns the same envelope:
{
"response": {},
"messages": [{ "code": "0", "message": "OK" }]
}
The base URL pattern is:
https://{host}/fmi/data/v1/databases/{database}
v1 can also be v2 or vLatest. This reference documents v1, which is the most widely deployed.
Read the gotchas first
These are the behaviors that cost integrators real debugging time. Each is documented in context, but here they are up front:
- The error code is a string. Success is
"code": "0", not0. Compare accordingly. - A find with no matches is an HTTP 404, carrying FileMaker error code
401. It is an empty result, not an authentication failure and usually not an error at all. Handle it deliberately. - Log out with the token in the URL path, not in the
Authorizationheader. It is the only endpoint shaped that way. _offsetstarts at 1, not 0.- In find requests,
offsetandlimitare strings in the JSON body, unlike the integer query parameters on the records endpoint. - The API account needs the
fmrestextended privilege in its privilege set. Without it, credentials that work fine in FileMaker Pro fail here.
Sections
- Authentication: sessions, tokens, and expiry
- Working with records: create, read, list, edit, delete
- Finding records: query grammar, operators, and paging
- Error handling: the envelope, common codes, and retry guidance
- Interactive OpenAPI specification