- Introduction
- Quickstart
- Webhooks
- Campaign
- Class
- Client
- Retrieves all client for a Tenant
- Creates a new client
- Gets client by ID
- Gets clients birthday list
- Gets clients at risk
- Gets client mandatory fields
- Adds client to blacklist
- Removes client from blacklist
- Updates client details
- Used for partial updates of client details
- Changes client representative
- Lists prospects
- Lists ex-clients
- Resets client password
- Changes client representative for multiple clients
- Lists prospect effective date history
- Transfers prospect
- 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
Search clients by tenant
POST
/tenants/{tenant_id}/search
Search
Request
Path Params
tenant_id
integer <int32>
required
Body Params application/json
language
string  | nullÂ
optional
query
string  | nullÂ
optional
top_n_results
integer <int32>
optional
Example
{
"language": "string",
"query": "string",
"top_n_results": 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//search' \
--header 'Content-Type: application/json' \
--data-raw '{
"language": "string",
"query": "string",
"top_n_results": 0
}'
Responses
🟢200OK
text/plain
Body
search_results
object (ElasticSearchClientResponse)Â
optional
total_items
integer <int32>
optional
tenant_level_clients
array[object (TenantLevelElasticSearchClients) {4}]  | nullÂ
optional
Example
{
"search_results": {
"total_items": 0,
"tenant_level_clients": [
{
"prospects_and_trials": {
"total_items": 0,
"items": [
{
"clt_id": 0,
"clt_createdin_tenant_id": 0,
"clt_latest_createdin_tenant_id": 0,
"clt_company_id": 0,
"clt_full_name": "string",
"clt_gender": "Female",
"clt_dateofbirth": 0,
"clt_emailid": "string",
"clt_image": "string",
"clt_mobile_no": 0,
"clt_mobile_country_code": "string",
"clt_status": "Prospect",
"clt_sub_status": "FutureClient",
"clt_second_mobile_no": 0,
"clt_second_mobile_country_code": "string",
"clt_addr": "string",
"clt_location": "string",
"clt_country_code": "string",
"clt_state_code": "string",
"clt_city_code": "string",
"clt_addr_pincode": 0,
"clt_place_id": "string",
"clt_placeid_request": "string",
"clt_preferred_language": "string",
"clt_emergency_contact_no": "string",
"clt_emergency_contact_person": "string",
"clt_medical_alert": "string",
"clt_note": "string",
"clt_outstanding_due": 0,
"clt_source": "string",
"clt_channel": "string",
"clt_referred_by": 0,
"clt_heartrate_monitoring_id": "string",
"clt_dropout_score": 0,
"clt_lifetime_value_in_minor_curr": 0,
"clt_taxnumber": "string",
"clt_bulk_insert_guid": "string",
"clt_rep_id": 0,
"clt_home_club_tenant_id": 0,
"clt_latest_waiver_date": 0,
"clt_latest_waiver_path": "string",
"clt_checkin_status": true,
"clt_last_visited_date": 0,
"clt_last_visited_centre": 0,
"clt_is_erroneous": true,
"clt_is_mobile_verified": true,
"clt_is_email_verified": true,
"clt_is_blacklisted": true,
"clt_blacklisted_reason": "string",
"clt_is_waiver": true,
"clt_promotional_sms": true,
"clt_promotional_email": true,
"clt_promotional_phone": true,
"clt_migration_id": "string",
"clt_custom_fields": "string",
"clt_current_keyfob": "string",
"clt_at_risk": true,
"clt_created_by": 0,
"clt_updated_by": 0,
"clt_created_date": 0,
"clt_updated_date": 0,
"clt_track_mode": "StaffWebApp",
"clt_online_booking_stopped_until": 0,
"clt_total_outstanding_in_minor_curr": 0,
"clt_since": 0,
"clt_app_installed": true
}
]
},
"active_clients_and_non_members": {
"total_items": 0,
"items": [
{
"clt_id": 0,
"clt_createdin_tenant_id": 0,
"clt_latest_createdin_tenant_id": 0,
"clt_company_id": 0,
"clt_full_name": "string",
"clt_gender": "Female",
"clt_dateofbirth": 0,
"clt_emailid": "string",
"clt_image": "string",
"clt_mobile_no": 0,
"clt_mobile_country_code": "string",
"clt_status": "Prospect",
"clt_sub_status": "FutureClient",
"clt_second_mobile_no": 0,
"clt_second_mobile_country_code": "string",
"clt_addr": "string",
"clt_location": "string",
"clt_country_code": "string",
"clt_state_code": "string",
"clt_city_code": "string",
"clt_addr_pincode": 0,
"clt_place_id": "string",
"clt_placeid_request": "string",
"clt_preferred_language": "string",
"clt_emergency_contact_no": "string",
"clt_emergency_contact_person": "string",
"clt_medical_alert": "string",
"clt_note": "string",
"clt_outstanding_due": 0,
"clt_source": "string",
"clt_channel": "string",
"clt_referred_by": 0,
"clt_heartrate_monitoring_id": "string",
"clt_dropout_score": 0,
"clt_lifetime_value_in_minor_curr": 0,
"clt_taxnumber": "string",
"clt_bulk_insert_guid": "string",
"clt_rep_id": 0,
"clt_home_club_tenant_id": 0,
"clt_latest_waiver_date": 0,
"clt_latest_waiver_path": "string",
"clt_checkin_status": true,
"clt_last_visited_date": 0,
"clt_last_visited_centre": 0,
"clt_is_erroneous": true,
"clt_is_mobile_verified": true,
"clt_is_email_verified": true,
"clt_is_blacklisted": true,
"clt_blacklisted_reason": "string",
"clt_is_waiver": true,
"clt_promotional_sms": true,
"clt_promotional_email": true,
"clt_promotional_phone": true,
"clt_migration_id": "string",
"clt_custom_fields": "string",
"clt_current_keyfob": "string",
"clt_at_risk": true,
"clt_created_by": 0,
"clt_updated_by": 0,
"clt_created_date": 0,
"clt_updated_date": 0,
"clt_track_mode": "StaffWebApp",
"clt_online_booking_stopped_until": 0,
"clt_total_outstanding_in_minor_curr": 0,
"clt_since": 0,
"clt_app_installed": true
}
]
},
"ex_clients_and_non_members": {
"total_items": 0,
"items": [
{
"clt_id": 0,
"clt_createdin_tenant_id": 0,
"clt_latest_createdin_tenant_id": 0,
"clt_company_id": 0,
"clt_full_name": "string",
"clt_gender": "Female",
"clt_dateofbirth": 0,
"clt_emailid": "string",
"clt_image": "string",
"clt_mobile_no": 0,
"clt_mobile_country_code": "string",
"clt_status": "Prospect",
"clt_sub_status": "FutureClient",
"clt_second_mobile_no": 0,
"clt_second_mobile_country_code": "string",
"clt_addr": "string",
"clt_location": "string",
"clt_country_code": "string",
"clt_state_code": "string",
"clt_city_code": "string",
"clt_addr_pincode": 0,
"clt_place_id": "string",
"clt_placeid_request": "string",
"clt_preferred_language": "string",
"clt_emergency_contact_no": "string",
"clt_emergency_contact_person": "string",
"clt_medical_alert": "string",
"clt_note": "string",
"clt_outstanding_due": 0,
"clt_source": "string",
"clt_channel": "string",
"clt_referred_by": 0,
"clt_heartrate_monitoring_id": "string",
"clt_dropout_score": 0,
"clt_lifetime_value_in_minor_curr": 0,
"clt_taxnumber": "string",
"clt_bulk_insert_guid": "string",
"clt_rep_id": 0,
"clt_home_club_tenant_id": 0,
"clt_latest_waiver_date": 0,
"clt_latest_waiver_path": "string",
"clt_checkin_status": true,
"clt_last_visited_date": 0,
"clt_last_visited_centre": 0,
"clt_is_erroneous": true,
"clt_is_mobile_verified": true,
"clt_is_email_verified": true,
"clt_is_blacklisted": true,
"clt_blacklisted_reason": "string",
"clt_is_waiver": true,
"clt_promotional_sms": true,
"clt_promotional_email": true,
"clt_promotional_phone": true,
"clt_migration_id": "string",
"clt_custom_fields": "string",
"clt_current_keyfob": "string",
"clt_at_risk": true,
"clt_created_by": 0,
"clt_updated_by": 0,
"clt_created_date": 0,
"clt_updated_date": 0,
"clt_track_mode": "StaffWebApp",
"clt_online_booking_stopped_until": 0,
"clt_total_outstanding_in_minor_curr": 0,
"clt_since": 0,
"clt_app_installed": true
}
]
},
"blocked_clients": {
"total_items": 0,
"items": [
{
"clt_id": 0,
"clt_createdin_tenant_id": 0,
"clt_latest_createdin_tenant_id": 0,
"clt_company_id": 0,
"clt_full_name": "string",
"clt_gender": "Female",
"clt_dateofbirth": 0,
"clt_emailid": "string",
"clt_image": "string",
"clt_mobile_no": 0,
"clt_mobile_country_code": "string",
"clt_status": "Prospect",
"clt_sub_status": "FutureClient",
"clt_second_mobile_no": 0,
"clt_second_mobile_country_code": "string",
"clt_addr": "string",
"clt_location": "string",
"clt_country_code": "string",
"clt_state_code": "string",
"clt_city_code": "string",
"clt_addr_pincode": 0,
"clt_place_id": "string",
"clt_placeid_request": "string",
"clt_preferred_language": "string",
"clt_emergency_contact_no": "string",
"clt_emergency_contact_person": "string",
"clt_medical_alert": "string",
"clt_note": "string",
"clt_outstanding_due": 0,
"clt_source": "string",
"clt_channel": "string",
"clt_referred_by": 0,
"clt_heartrate_monitoring_id": "string",
"clt_dropout_score": 0,
"clt_lifetime_value_in_minor_curr": 0,
"clt_taxnumber": "string",
"clt_bulk_insert_guid": "string",
"clt_rep_id": 0,
"clt_home_club_tenant_id": 0,
"clt_latest_waiver_date": 0,
"clt_latest_waiver_path": "string",
"clt_checkin_status": true,
"clt_last_visited_date": 0,
"clt_last_visited_centre": 0,
"clt_is_erroneous": true,
"clt_is_mobile_verified": true,
"clt_is_email_verified": true,
"clt_is_blacklisted": true,
"clt_blacklisted_reason": "string",
"clt_is_waiver": true,
"clt_promotional_sms": true,
"clt_promotional_email": true,
"clt_promotional_phone": true,
"clt_migration_id": "string",
"clt_custom_fields": "string",
"clt_current_keyfob": "string",
"clt_at_risk": true,
"clt_created_by": 0,
"clt_updated_by": 0,
"clt_created_date": 0,
"clt_updated_date": 0,
"clt_track_mode": "StaffWebApp",
"clt_online_booking_stopped_until": 0,
"clt_total_outstanding_in_minor_curr": 0,
"clt_since": 0,
"clt_app_installed": true
}
]
}
}
]
}
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
Modified at 2025-03-21 07:23:14