Could you please tell me token session time (which we are using on REST API). I'm not sure if I generate token how long it will be active either 20mins, or 30mins, 1hr, 2hr.. or it will valid until I logout out ?
Searching the documentation here:
FileMaker 16 Data API Guide
for the keyword "timeout" returns this:
The access token is valid until you log out of a solution or for 15 minutes after the last call that specified the token. (While the token is valid, each call that specifies the token resets the session timeout counter to zero.)
mikebeargie Do we able to modify session time 15minutes to 1 hr or more... by any chance
There is no way I know to change the timeout rules of the API. But as noted above, you can reset the timeout counter to zero by performing any additional call. On your end, create a timer or action that hits a simple route every 14 minutes or so to keep the token alive.
REST APIs that generate "session" auth tokens like this usually don't last longer than the provider's specified timeout, so it's pretty standard practice to not have control over that timeout.
Retrieving data ...