Validate a database session

To validate a database session status, use an HTTP GET method with the validateSession API endpoint.

HTTP method

GET

URL

/fmi/data/version/validateSession

version – the FileMaker Data API version requested can use v1, v2, or vLatest

HTTP headers

Content-Type: application/json

Authorization: Bearer session-token, where session-token is the unique X-FM-Data-Access-Token value for the database session.

Parameters None
Response

The isSessionInUse parameter is returned designating whether an operation is still ongoing (true) or if it is complete and ready for another operation (false).

For example:

Copy
{
  "response": {
    "isSessionInUse": true
  },
  "messages": [
    {
      "message": "OK"
      "code": "0"
    }
  ]
}

See Error responses.