- Introduction
- Quickstart
- Webhooks
- Campaign
- Class
- Client
- Retrieves all client for a TenantGET
- Creates a new clientPOST
- Gets client by IDGET
- Gets clients birthday listGET
- Gets clients at riskGET
- Gets client mandatory fieldsGET
- Adds client to blacklistPOST
- Removes client from blacklistPOST
- Updates client detailsPUT
- Used for partial updates of client detailsPATCH
- Changes client representativePOST
- Lists prospectsGET
- Lists ex-clientsGET
- Resets client passwordPOST
- Changes client representative for multiple clientsPOST
- Lists prospect effective date historyGET
- Transfers prospectPOST
- Company
- Invoice
- Organisation
- Search
- Tax
- Tenant
- Appointments
- Create new appointment
- List appointments
- Change client membership in appointment
- Get appointment
- Update appointment
- Mark client as checked in
- Mark client as no-show
- Substitute coach for appointment
- Reschedule appointment
- Cancel appointment
- List appointments by client ID
- Create appointment complimentory session
- Create appointment
- Reschedule appointment
- Get appointment
- Appointment Types
- Authentication
- Automation
- Call Transactions
- Charge Categories
- Charge Master
- Recurring Class
- Class Booking
- Class Complimentory
- Class Types
- Company level class types
- Client Communication
- Client Tasks
- Client Sales
- Client Waivers
- Client Sessions
- Client Referrals
- Client Offers
- Client Export
- Client Billing
- Client Check-in
- Client Credit Balance
- Client Documents
- Client Invoices
- Client Membership
- Client Open API
- Client Payments
- Client Subscriptions
- Client Memberships
- Client Subscription Cancellation
- Client Subscription Freeze
- Client Trials
- Client Upgrade
- Balance Write Off
- Email Template
- Email Template - Franchise
- Create email template at franchise level
- Get list of email templates at franchise level
- Update email template at franchise level
- Get email template at franchise level
- Delete email template at franchise level
- Mark email template as inactive at franchise level
- Mark email template as active at franchise level
- Email Template - Tenant
- Franchise Groups
- Payment Methods
- Invoices
- Offer Master
- Online Signup
- Subscription
- Sales
- Staff Availability
- List staff availability
- List staff availability by appointment category
- List next available slots by appointment category
- Check staff availability
- Check staff availability for appointment category
- Check staff availability for recurring schedule
- Check staff availability for recurring schedule
- Get staff scheduled unavailability
- List staff availability for tours
- Opportunities
- Opportunity Stage Master
- Payments
- Refunds
- Reports
- Report Filter Schedules
- Access Requests
- Rooms
- Sales Returns
- Email Communication
- SMS
- Service Categories
- Staff Management
- Staff Appointment Type Link
- Staff Notifications
- Staff Schedule
- Subscription Plans
- Subscription Signup
- Tasks
- Task Categories
- Task Open API
- Trial Master
Creates a new client
POST
/tenants/{tenant_id}/clients
Client
Request
Path Params
tenant_id
integer <int32>
required
Body Params application/json
prospect
object (CreateClientRequest)Â
optional
full_name
string  | nullÂ
optional
mobile_country_code
string  | nullÂ
optional
mobile_number
integer <int64>
optional
email_id
string  | nullÂ
optional
date_of_birth
string <date> | nullÂ
optional
gender
enum<string>Â
optional
Female
-Male
-Transgender
-NonBinaryOrNonConforming
-PreferNotToRespond
-Allowed values:
FemaleMaleTransgenderNonBinaryOrNonConformingPreferNotToRespond
location
string  | nullÂ
optional
second_mobile_country_code
string  | nullÂ
optional
second_mobile_number
integer <int64> | nullÂ
optional
preferred_language
string  | nullÂ
optional
place_id
string  | nullÂ
optional
address
string  | nullÂ
optional
state_code
string  | nullÂ
optional
city_code
string  | nullÂ
optional
country_code
string  | nullÂ
optional
address_pin_code
integer <int32>
optional
emergency_contact_number
string  | nullÂ
optional
emergency_contact_person
string  | nullÂ
optional
source
string  | nullÂ
optional
channel
string  | nullÂ
optional
heartrate_monitoring_id
integer <int32> | nullÂ
optional
referred_by
string  | nullÂ
optional
medical_alert
string  | nullÂ
optional
note
string  | nullÂ
optional
taxnumber
string  | nullÂ
optional
custom_fields
string  | nullÂ
optional
client_representative_id
integer <int32>
optional
place_id_request
string  | nullÂ
optional
image_base64
string  | nullÂ
optional
password
string  | nullÂ
optional
client_external_cms_id
string  | nullÂ
optional
migration_id
string  | nullÂ
optional
national_id
string  | nullÂ
optional
organisation_id
integer <int32>
optional
promotional_notification_channels_allowed
array[string]Â |Â nullÂ
optional
Allowed values:
NoneEmailSMSWhatsAppMobileNotificationDesktopTask
is_child
booleanÂ
optional
parent_client_id
integer <int64>
optional
relation
enum<string>Â
optional
None
-Parent
-Child
-Spouse
-Sibling
-Friend
-Partner
-Colleague
-Other
-Allowed values:
NoneParentChildSpouseSiblingFriendPartnerColleagueOther
opportunity
object (CreateOpportunityOnClientRequest)Â
optional
name
string  | nullÂ
optional
stage_master_id
integer <int32>
optional
service_type_ids
array[integer <int32>]Â |Â nullÂ
optional
value_in_minor_currency
integer <int64>
optional
expected_closure_date
string <date-time> | nullÂ
optional
assigned_to_staff_id
integer <int32>
optional
comments
string  | nullÂ
optional
hot_warm_cold
enum<string>Â
optional
Cold
-Warm
-Hot
-Allowed values:
ColdWarmHot
task
object (CreateTaskByOpportunityOnClientRequest)Â
optional
assigned_to_type
enum<string>Â
optional
SpecificStaff
-AssociatedStaff
-Allowed values:
SpecificStaffAssociatedStaff
assigned_to_staff_id
integer <int32> | nullÂ
optional
type
enum<string>Â
optional
Call
-Sms
-Email
-Task
-Tour
-Allowed values:
CallSmsEmailTaskTour
category_id
integer <int32>
optional
title
string  | nullÂ
optional
notes
string  | nullÂ
optional
priority
enum<string>Â
optional
High
-Med
-Low
-Allowed values:
HighMedLow
related_call_id
integer <int64> | nullÂ
optional
related_email_id
integer <int64> | nullÂ
optional
related_sms_id
integer <int64> | nullÂ
optional
scheduled_date
string <date-time>
optional
tour_completed
object (CreateTourCompletedRequest)Â
optional
assigned_to_staff_id
integer <int32>
optional
tour_outcome
enum<string>Â
optional
NotInterested
-NoShow
-Reschedule
-StillThinking
-SignUp
-BookTrial
-Allowed values:
NotInterestedNoShowRescheduleStillThinkingSignUpBookTrial
notes
string  | nullÂ
optional
scheduled_datetime
string <date-time>
optional
trial_membership
object (CreateTrialMembershipRequest)Â
optional
trial_start_date
string <date-time>
optional
trial_preferred_time
string  | nullÂ
optional
notes
string  | nullÂ
optional
trial_owner_staff_id
integer <int32>
optional
trial_classes
object (CreateTrialClassesRequest)Â
optional
trial_classes
array[integer <int64>]Â |Â nullÂ
optional
Example
{
"prospect": {
"full_name": "string",
"mobile_country_code": "string",
"mobile_number": 0,
"email_id": "string",
"date_of_birth": "2019-08-24",
"gender": "Female",
"location": "string",
"second_mobile_country_code": "string",
"second_mobile_number": 0,
"preferred_language": "string",
"place_id": "string",
"address": "string",
"state_code": "string",
"city_code": "string",
"country_code": "string",
"address_pin_code": 0,
"emergency_contact_number": "string",
"emergency_contact_person": "string",
"source": "string",
"channel": "string",
"heartrate_monitoring_id": 0,
"referred_by": "string",
"medical_alert": "string",
"note": "string",
"taxnumber": "string",
"custom_fields": "string",
"client_representative_id": 0,
"place_id_request": "string",
"image_base64": "string",
"password": "string",
"client_external_cms_id": "string",
"migration_id": "string",
"national_id": "string",
"organisation_id": 0,
"promotional_notification_channels_allowed": [
"None"
],
"is_child": true,
"parent_client_id": 0,
"relation": "None"
},
"opportunity": {
"name": "string",
"stage_master_id": 0,
"service_type_ids": [
0
],
"value_in_minor_currency": 0,
"expected_closure_date": "2019-08-24T14:15:22Z",
"assigned_to_staff_id": 0,
"comments": "string",
"hot_warm_cold": "Cold"
},
"task": {
"assigned_to_type": "SpecificStaff",
"assigned_to_staff_id": 0,
"type": "Call",
"category_id": 0,
"title": "string",
"notes": "string",
"priority": "High",
"related_call_id": 0,
"related_email_id": 0,
"related_sms_id": 0,
"scheduled_date": "2019-08-24T14:15:22Z"
},
"tour_completed": {
"assigned_to_staff_id": 0,
"tour_outcome": "NotInterested",
"notes": "string",
"scheduled_datetime": "2019-08-24T14:15:22Z"
},
"trial_membership": {
"trial_start_date": "2019-08-24T14:15:22Z",
"trial_preferred_time": "string",
"notes": "string",
"trial_owner_staff_id": 0
},
"trial_classes": {
"trial_classes": [
0
]
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/tenants//clients' \
--header 'Content-Type: application/json' \
--data-raw '{
"prospect": {
"full_name": "string",
"mobile_country_code": "string",
"mobile_number": 0,
"email_id": "string",
"date_of_birth": "2019-08-24",
"gender": "Female",
"location": "string",
"second_mobile_country_code": "string",
"second_mobile_number": 0,
"preferred_language": "string",
"place_id": "string",
"address": "string",
"state_code": "string",
"city_code": "string",
"country_code": "string",
"address_pin_code": 0,
"emergency_contact_number": "string",
"emergency_contact_person": "string",
"source": "string",
"channel": "string",
"heartrate_monitoring_id": 0,
"referred_by": "string",
"medical_alert": "string",
"note": "string",
"taxnumber": "string",
"custom_fields": "string",
"client_representative_id": 0,
"place_id_request": "string",
"image_base64": "string",
"password": "string",
"client_external_cms_id": "string",
"migration_id": "string",
"national_id": "string",
"organisation_id": 0,
"promotional_notification_channels_allowed": [
"None"
],
"is_child": true,
"parent_client_id": 0,
"relation": "None"
},
"opportunity": {
"name": "string",
"stage_master_id": 0,
"service_type_ids": [
0
],
"value_in_minor_currency": 0,
"expected_closure_date": "2019-08-24T14:15:22Z",
"assigned_to_staff_id": 0,
"comments": "string",
"hot_warm_cold": "Cold"
},
"task": {
"assigned_to_type": "SpecificStaff",
"assigned_to_staff_id": 0,
"type": "Call",
"category_id": 0,
"title": "string",
"notes": "string",
"priority": "High",
"related_call_id": 0,
"related_email_id": 0,
"related_sms_id": 0,
"scheduled_date": "2019-08-24T14:15:22Z"
},
"tour_completed": {
"assigned_to_staff_id": 0,
"tour_outcome": "NotInterested",
"notes": "string",
"scheduled_datetime": "2019-08-24T14:15:22Z"
},
"trial_membership": {
"trial_start_date": "2019-08-24T14:15:22Z",
"trial_preferred_time": "string",
"notes": "string",
"trial_owner_staff_id": 0
},
"trial_classes": {
"trial_classes": [
0
]
}
}'
Responses
🟢200OK
text/plain
Body
client_id
integer <int64>
optional
opportunity_id
integer <int64>
optional
task_id
integer <int64>
optional
tour_id
integer <int64>
optional
trial_id
integer <int64>
optional
info
array[object (ValidationError) {6}]  | nullÂ
optional
severity
enum<string>Â
optional
Error
-Warning
-Info
-Allowed values:
ErrorWarningInfo
errorCode
string  | nullÂ
optional
errorMessage
string  | nullÂ
optional
identifier
string  | nullÂ
optional
helptext
string  | nullÂ
optional
jsonObject
nullÂ
optional
Example
{
"client_id": 0,
"opportunity_id": 0,
"task_id": 0,
"tour_id": 0,
"trial_id": 0,
"info": [
{
"severity": "Error",
"errorCode": "string",
"errorMessage": "string",
"identifier": "string",
"helptext": "string",
"jsonObject": null
}
]
}
Modified at 2025-03-21 07:23:14