FileMaker Admin API: managing the server programmatically

Intermediate

Use the REST-based Admin API to automate server tasks — opening and closing databases, listing clients, and running schedules without the Admin Console UI.

What you'll learn

  • How to authenticate with the Admin API and get a bearer token
  • How to list hosted databases and change their status
  • How to disconnect a client or trigger a schedule run

The FileMaker Admin API is a REST API built into FileMaker Server 19+. It exposes the same operations available in Admin Console — open/close databases, list clients, run schedules, check server status — in a programmatic interface. Authentication uses a bearer token obtained by logging in with Admin Console credentials.

1/3
1

Authenticate and get a token

POST to the login endpoint with your Admin Console credentials. The response includes an access token. Include this token as a Bearer header on all subsequent requests. Tokens expire; re-authenticate as needed.

HTTP
POST https://[host]/fmi/admin/api/v2/user/auth
Content-Type: application/json

{
  "username": "admin",
  "password": "yourpassword"
}

# Response:
# { "result": { "token": "eyJ..." } }

Sign in to track your progress and pick up where you left off.

Sign in to FM Dojo