FitnessForce - UFP
Home
Home
  1. Client
  • Introduction
  • Quickstart
  • Webhooks
  • Campaign
    • Get campaign
      GET
    • List campaign
      GET
    • Get campaign by GUID
      GET
    • Get automation by franchise
      GET
    • Get automation by tenant
      GET
    • Get automation by company
      GET
    • Update automation active
      POST
    • Update automation inactive
      POST
    • Update campaign active
      POST
    • Update campaign inactive
      POST
  • Class
    • Get class by id
    • Delete class
    • Update class
    • List classes
    • Create class
    • Substitute coach in class
    • Reschedule class
    • Cancel class
    • Mark class as completed
    • List class bookings by client id
  • Client
    • Retrieves all client for a Tenant
      GET
    • Creates a new client
      POST
    • Gets client by ID
      GET
    • Gets clients birthday list
      GET
    • Gets clients at risk
      GET
    • Gets client mandatory fields
      GET
    • Adds client to blacklist
      POST
    • Removes client from blacklist
      POST
    • Updates client details
      PUT
    • Used for partial updates of client details
      PATCH
    • Changes client representative
      POST
    • Lists prospects
      GET
    • Lists ex-clients
      GET
    • Resets client password
      POST
    • Changes client representative for multiple clients
      POST
    • Lists prospect effective date history
      GET
    • Transfers prospect
      POST
  • Company
    • Get company details
  • Invoice
    • Get invoice PDF
  • Organisation
    • List organisations
    • Get organisation
  • Search
    • Perform Client Search
    • Search clients by tenant
    • Search clients by provider
    • Search clients by company
  • Tax
    • Get Tax Groups
    • Get Tax Group by ID
    • Get Tax Groups by Tenant IDs
    • Get Tax Line Items
    • Get Tax Line Item by ID
    • List Tax Line Items
    • List Tax Line Types
  • Tenant
    • Get tenant details
    • List tenants
    • Gets list of tenants
    • Updates tenant details
    • Gets tenant details
    • Updates tenant invoice template type
    • Updates tenant payment template type
  • 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
    • Get appointment types list
    • Get appointment type details
  • Authentication
    • Refresh Token exchange
    • Generate authentication token
  • Automation
    • Get automation master
    • List automation types
  • Call Transactions
    • Get call transaction details
    • Log new call transaction
    • Update call transaction
    • Delete call transaction
  • Charge Categories
    • List charge categories
    • Get charge category
  • Charge Master
    • List charge masters
    • Get charge master
    • Calculate charge breakup
  • Recurring Class
    • Create recurring class
    • List recurring class template
    • Update recurring class
    • Get recurring class template
    • Cancel recurring class
    • Reschedule recurring class
    • Substitute coach in recurring class
    • List classes by recurring class template ID
  • Class Booking
    • Books client to class
    • Changes client membership
    • Removes client from class
    • Marks client as no-show
    • Marks client as checked in
    • Adds a trial client to class
  • Class Complimentory
    • Creates complimentary class
  • Class Types
    • List class types
    • Get class type details
  • Company level class types
    • List class types
  • Client Communication
    • Gets email log
    • Gets client interactions
    • Lists unified communication messages
  • Client Tasks
    • Gets client tasks
  • Client Sales
    • Gets client sales returns
    • Gets client payments
    • Lists client refunds
  • Client Waivers
    • Gets client waivers
  • Client Sessions
    • Gets client session inventory
  • Client Referrals
    • Lists client referrals
  • Client Offers
    • Lists eligible client coupons
  • Client Export
    • Exports prospects list
    • Exports ex-clients list
    • Exports active clients list
    • Exports clients at risk list
  • Client Billing
    • Creates charges for a client
    • Creates balance payment for invoice
  • Client Check-in
    • Creates client check-in
    • Lists client check-ins
    • Lists client check-ins by tenant
    • Lists clients who are currently in the club
    • Deletes a client check-in
  • Client Credit Balance
    • Creates a new credit balance order for a client
    • Retrieves the credit balance for a client
    • Retrieves the credit balance for a client
    • Lists client credit balance centerwise
  • Client Documents
    • Uploads client document
    • Gets client document
    • Lists client documents
    • Deletes client document
  • Client Invoices
    • Get invoice by UUID
    • Generate balance UUID for invoice
  • Client Membership
    • Change client membership start date
    • Patch client membership
    • Change client membership end date
    • Get client membership details
  • Client Open API
    • Create prospect
    • Book tour
  • Client Payments
    • Get payment timeline
    • List client payment methods
  • Client Subscriptions
    • List client subscription invoices
    • Get client subscription
    • List client subscriptions
    • Get clients by plan ID
    • Change subscription start date
    • Change subscription end date
    • Void client subscription
    • Send manage subscription link
    • Get client subscription by UUID
    • Get client subscription invoices by UUID
  • Client Memberships
    • Change session owner
    • Get session owners
    • List active client memberships
  • Client Subscription Cancellation
    • Cancel client subscription
    • Reactivate client subscription
  • Client Subscription Freeze
    • Create subscription freeze
    • List subscription freezes
    • Stop subscription freeze
    • Cancel subscription freeze
    • List client freezes
    • Get subscriptions available for freeze
    • Update subscription freeze
    • Get subscription freeze timeline
  • Client Trials
    • List client trials
    • Create client trial
    • Get client trial
    • Update trial
    • Delete client trial
    • Activate client trial
    • Mark trial as inactive
    • Mark trial as active
    • List client trials by tenant
    • Export client trials by tenant
  • Client Upgrade
    • Calculates subscription upgrade
    • Voids subscription upgrade
  • Balance Write Off
    • Creates a write off
    • Gets the list of write offs
    • Voids a write off
  • Email Template
    • Create email template
    • List email templates
    • Update email template
    • Get email template
    • Delete email template
    • Mark email template as inactive
    • Mark email template as active
  • 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
    • Create email template at tenant level
    • List email templates at tenant level
    • Update email template at tenant level
    • Get email template at tenant level
    • Delete email template at tenant level
    • Mark email template as inactive at tenant level
    • Mark email template as active at tenant level
  • Franchise Groups
    • Get franchise group details
    • List all franchise groups
  • Payment Methods
    • Initiate payment method update by UUID
    • Initiate payment method update by ID
  • Invoices
    • Get invoice
    • List client invoices
    • Void invoice
    • Get invoice PDF
    • Send invoice PDF
    • List invoice details
    • Change invoice sales rep
    • Send invoice clear balance link
  • Offer Master
    • List offer master
    • Get offer master
    • List eligible coupon master
    • List offer master coupon code link
    • List offer master service plan product link
    • List offer master organisation link
  • Online Signup
    • Get subscription plans
    • Get mandatory client fields
    • Get subscription plan details
    • Create client and invoice
  • Subscription
    • Get eligible add-ons
  • Sales
    • Get sales return PDF
  • 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
    • List opportunities
    • Create opportunity
    • Get opportunity
    • Update opportunity
    • Delete opportunity
    • Change opportunity stage
    • Mark opportunity as won
    • Mark opportunity as lost
    • Mark opportunity as nurture
    • Update opportunity sort order
  • Opportunity Stage Master
    • List opportunity stage masters
    • Get opportunity stage master
  • Payments
    • Get payment details
    • Mark payment as void
    • Get payment PDF
    • Send payment PDF
  • Refunds
    • List refunds
    • Send refund PDF
    • Get refund PDF
  • Reports
    • Reporting Quickstart
    • GET Report Data
  • Report Filter Schedules
    • Create report filter schedule
    • Delete report filter schedule
  • Access Requests
    • Request access via email
  • Rooms
    • List rooms
    • Get room details
  • Sales Returns
    • Get sales return PDF
  • Email Communication
    • Send free form email
  • SMS
    • Send free form SMS
  • Service Categories
    • List service categories
    • Get service category
    • Get service category collections
  • Staff Management
    • Get staff by ID
    • List all staff
    • List staff schedules
    • List staff appointment types
  • Staff Appointment Type Link
    • Gets staff appointment type links
  • Staff Notifications
    • Mark staff notifications as read
    • Mark staff notification as deleted
    • List staff notifications
  • Staff Schedule
    • Lists staff schedules
    • Gets staff schedule
  • Subscription Plans
    • List subscription plans
    • Get subscription plan by ID
    • Get eligible addons
  • Subscription Signup
    • Get Order Summary
    • Validate Referral
    • Get Order Summary Billing Occurrence
    • Get Order Status
    • Get Waivers
    • Get Payment Methods
    • List Empty Client Mandatory Fields
    • Sign Guest Waiver
    • Send Payment Link
    • Send Signup Completion Link
  • Tasks
    • Create task for client
    • Create task for opportunity
    • List tasks
    • Get task details
    • Complete SMS task
    • Bulk reassign tasks
  • Task Categories
    • List task categories
    • Get task category
  • Task Open API
    • Reschedule tour
    • Get tour details
  • Trial Master
    • List trials
    • Get trial
  1. Client

Creates a new client

POST
/tenants/{tenant_id}/clients
Client
Creates a new client with the provided information

Request

Path Params
tenant_id
integer <int32>
required
ID of the tenant
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
Available values:
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
Available values:
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
Available values:
Cold -
Warm -
Hot -
Allowed values:
ColdWarmHot
task
object (CreateTaskByOpportunityOnClientRequest) 
optional
assigned_to_type
enum<string> 
optional
Available values:
SpecificStaff -
AssociatedStaff -
Allowed values:
SpecificStaffAssociatedStaff
assigned_to_staff_id
integer <int32> | null 
optional
type
enum<string> 
optional
Available values:
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
Available values:
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
Available values:
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
OK
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
Available values:
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
Previous
Retrieves all client for a Tenant
Next
Gets client by ID
Built with