> ## Documentation Index
> Fetch the complete documentation index at: https://developer.flabslis.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Flabs developer platform

> REST APIs and webhooks for labs that run on Flabs: bills, home-collection bookings, reports and WhatsApp.

Flabs developer platform

# Send orders in.

Get reports out.

REST APIs and webhooks for labs that run on Flabs. Create bills and home-collection bookings from your own
platform, and hear about every visit and every finished report the moment it happens.

[Start building](https://developer.flabslis.com/introduction.md)
Get API keys on WhatsApp

Search endpoints, events and guides
<kbd>⌘K</kbd>

**One home collection for Rahul**
The webhooks your server receives, in order. Pick any step to see its payload.

Replay

<ol />

POST
your-server.com/flabs/webhook

Step  of

<pre aria-live="polite" />

[See every field of every event](https://developer.flabslis.com/webhooks/events-response.md)

## Explore the APIs

Every API uses the same Client ID, Client Secret and Bearer token.

## Make your first call

<ol><li>**Get your keys.**
Message us on WhatsApp
for a Client ID and Client Secret. One pair works for every branch on your account.</li>
<li>**Exchange them for a token.** It lasts 10 minutes. Use the refresh token to get the next one.</li>
<li>**Call any API** with the token as a Bearer header. Start with your branches: every other call
needs a `branchID`.</li></ol>
[How tokens work](https://developer.flabslis.com/auth/introduction.md)

Language

<pre />

## Build with AI

Two MCP servers: one for the people writing the integration, one for the people running the lab.

### Docs MCP, for developers

Add it to Cursor, Claude Code, VS Code or Windsurf. Your assistant reads these pages and the OpenAPI specs,
then writes code against the current API.

`https://developer.flabslis.com/mcp`

[Set it up in your editor](https://developer.flabslis.com/ai/integrate-with-ai.md)

### Flabs MCP, for lab owners

Connect Claude or ChatGPT to your Flabs account and ask about revenue, dues, abnormal results and turnaround
time across every branch. Read-only, and limited to your own labs.

`https://v2.flabs.in/flabs-mcp/mcp`

[Connect your lab](https://developer.flabslis.com/flabs-mcp/introduction.md)

## Need API keys or stuck on an integration?

Our team answers on WhatsApp, Monday to Friday, 9 AM to 6 PM IST.

Chat on WhatsApp


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.