API Documentation
Connect your external systems to Five Stars Coach. Our API allows you to automate the onboarding process and customer interaction workflows.
Authentication
Include your private key in the header of every request.
x-api-key: YOUR_API_KEY
Content-Type: application/json
Content-Type: application/json
POST /webhook-test/getdata-client
Request Body
| Field | Type | Status |
|---|---|---|
| full_name | string | Required |
| company_name | string | Required |
| string | Required | |
| location_address | string | Optional |
Example Implementation
curl -X POST "https://integration.stars.coach/webhook-test/getdata-client" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"full_name": "John Doe",
"company_name": "Modern Spa",
"email": "john@example.com",
"plan": "6922d7a48f23393b07dc46e1"
}' Send Review Request
Trigger a review invitation to be sent to a client.
POST /webhook-test/send-review
Error Codes
| 401 | Unauthorized - Invalid API Key |
| 400 | Bad Request - Missing required fields |
| 500 | Server Error - Something went wrong on our end |