Flabs Developer Platform APIs home page
Search...
⌘K
Support
Dashboard
Dashboard
Search...
Navigation
Authorization
Authentication APIs
Documentation
API Reference
Visit Website
Contact Us
Authorization
Authentication APIs
POST
Auth Token
POST
Refresh Auth Token
Patient Reports
Patient APIs Introduction
Patient Login
GET
Get Patient Reports
On this page
Overview
Authentication Flow
Getting Started
Authorization
Authentication APIs
APIs for client authentication and token management
Overview
Flabs authentication APIs allow you to securely authenticate clients and manage tokens for API access.
Generate Token
Get auth tokens using client credentials
Refresh Token
Refresh your auth token when it expires
Authentication Flow
Our authentication system uses a two-token approach:
Auth Token
: Valid for 10 minutes, used for API requests
Refresh Token
: Expires after 30 days of inactivity; used to obtain new authentication tokens.
All authentication tokens should be included in the Authorization header using the Bearer scheme.
Getting Started
To integrate with our authentication system:
Obtain client credentials (Client ID and Client Secret)
Generate an initial auth token using the
token endpoint
Store both tokens securely
When the auth token expires, use the
refresh endpoint
to get the auth token again with logging again.
Auth Token
Assistant
Responses are generated using AI and may contain mistakes.