The Client Creation Webhook lets you automatically create Blood Test Portal clients from external tools like Zapier, Make.com, or any HTTP automation — no manual client creation needed.
Business package required.
Where to Find It
Go to Settings → Blood Portal and scroll to Client Creation Webhook.
Setup Steps
Step 1: Copy Your Business ID
Your unique Business ID is displayed on the page. Click Copy to copy it.
Step 2: Copy the Webhook URL
The endpoint is always:
https://api.fitmetrics.ai/functions/v1/create-client-webhook
Step 3: Generate a Webhook Secret
Click Generate Secret to create a secure key. This is used to authenticate webhook requests.
Important: Regenerating the secret will invalidate all existing integrations using the old secret.
Step 4: Configure Your Automation Tool
In Zapier, Make.com, or your automation tool, set up an HTTP POST request with:
Headers:
Content-Type: application/json X-Webhook-Secret: YOUR_WEBHOOK_SECRET
Body:
{
"fullName": "John Doe",
"email": "[email protected]",
"package": "Starter",
"businessId": "YOUR_BUSINESS_ID"
}Payload Fields
Field | Required | Notes |
fullName | Yes | Client's full name |
Yes | Client's email (used for login) | |
package | Yes | "Starter" (up to 5 blood results) or "Pro" (up to 50 blood results). Case-insensitive. |
businessId | Yes | Your Business ID (shown on the settings page) |
Security
The webhook verifies requests using HMAC signatures and Business ID validation. Never share your webhook secret publicly. Only requests with a valid secret are processed.
Use Cases
Stripe → Zapier → FitMetrics: Automatically create a portal client when someone purchases a blood test package via Stripe
Typeform → Make.com → FitMetrics: Create a client when they fill out an intake form
Whop → Zapier → FitMetrics: Auto-enroll new Whop members in the portal
