WellnessLiving API (UAT) - v1.2026-02
  1. profile
WellnessLiving API (UAT) - v1.2026-02
  • WellnessLiving API - [Feb-2026]
  • Auth
    • Authentication
  • appointment
    • /v1/appointment/book/asset/category
    • /v1/appointment/book/asset/list
    • /v1/appointment/book/asset/service
    • /v1/appointment/book/finish
    • /v1/appointment/book/finish
    • /v1/appointment/book/payment/paymentPost
    • /v1/appointment/book/product
    • /v1/appointment/book/schedule/calendar
    • /v1/appointment/book/schedule/day-time
    • /v1/appointment/book/service/category
    • /v1/appointment/book/service/list
    • /v1/appointment/book/staff/list
  • book-process
    • /v1/book/process/info
    • /v1/book/process/payment
    • /v1/book/process/purchase
    • /v1/book/process/purchase/element/list
  • business-data
    • /v1/business
    • /v1/business/franchise/location
    • /v1/business/skin
  • catalog
    • /v1/catalog/list
    • /v1/catalog/staff/catalog/list
  • classes
    • /v1/classes/list
    • /v1/classes/promotion
    • /v1/classes/view/element
  • collector-debt
    • /v1/collector/debt/list
    • /v1/collector/debt/pay
    • /v1/collector/debt/transaction
  • drive
    • /v1/drive/product/image/upload
  • ecommerce
    • /v1/ecommerce/order/sync
  • event
    • /v1/event/book/list
    • /v1/event/book/view/element
    • /v1/event/list
  • lead
    • /v1/lead/info
    • /v1/lead/info
  • location
    • /v1/location/list
    • /v1/location/view
  • login
    • /v1/login/attendance/list
    • /v1/login/search/settings
    • /v1/login/search/settings
    • /v1/login/search/staff-app/list
  • member
    • /v1/member/info
  • profile
    • /v1/profile/contract
      GET
    • /v1/profile/create
      POST
    • /v1/profile/fields
      GET
    • /v1/profile/purchase/list
      GET
    • /v1/profile/purchase/list/element
      GET
  • promotion
    • /v1/promotion
    • /v1/promotion/list
  • purchase
    • /v1/purchase/receipt
  • report
    • /v1/report/data
    • /v1/report/query
  • report-dev
    • /v1/report/customization-form
    • /v1/report/filter-info
  • schedule
    • /v1/schedule/class/list
    • /v1/schedule/class/view
    • /v1/schedule/class/view
    • /v1/schedule/page/element
    • /v1/schedule/page/list
    • /v1/schedule/tab
  • shop
    • /v1/shop/category
  • staff
    • /v1/staff/list
    • /v1/staff/view
  • user
    • /v1/user
  • visit
    • /v1/visit/status
  1. profile

/v1/profile/contract

GET
/v1/profile/contract

Overview#

Retrieves the rendered contract HTML and related metadata for a specific purchase on a client profile.
This endpoint is typically used to display a contract to the client for review and signature before or after completing a purchase.
Method: GET
Path: /v1/profile/contract

Authentication#

This request requires authentication.
Uses the TOKEN variable in the request (e.g. as a bearer or API token) to authorize access.
Ensure {{TOKEN}} is set in the active environment before sending the request.

Query Parameters#

The following query parameters are required to identify the correct contract instance:
id_region (integer)
Numeric identifier of the regional context for the business (e.g., region or deployment shard).
k_business (integer)
Unique key of the WellnessLiving business (business ID).
k_location (integer)
Unique key of the specific location (studio/branch) where the purchase/contract is associated.
uid (integer or string)
Unique identifier of the client/profile whose contract is being retrieved.
id_purchase_item (integer)
Indicates the type/category of purchase item (e.g., membership, pass, class/event, etc.).
k_id (integer)
Unique key of the specific purchase item instance for which the contract is generated.
All of these parameters must be provided together to return the correct contract.

Successful Response (200 OK)#

On success, the response body includes:
html_contract (string)
HTML fragment containing the contract content to render in a browser or web view (e.g. terms, conditions, signature block).
i_minor_age (integer)
Age threshold that defines a “minor” for this contract (e.g., 18). Can be used to determine if a guardian signature is required.
text_title (string)
Human-readable contract title or template name (e.g., "Copy 4 of CLASS/EVENTS MEMBERSHIP").
status (string)
Request status flag, typically "ok" on success.
s_version (string)
Internal contract/template version string, useful for auditing or debugging.
__a_message (array of strings)
Internal messages or flags related to this contract instance (may be used for promotions, durations, or other contract metadata).
Example (truncated):
{
  "html_contract": "<div class=&#x27;preserveHtml&#x27; class=&#x27;preserveHtml&#x27;>\n<p class=&#x27;preserveHtml&#x27; class=&#x27;preserveHtml&#x27;>A BB please sign</p>\n</div><comment class=&#x27;preserveHtml&#x27; class=&#x27;preserveHtml&#x27;>...<truncated>",
  "i_minor_age": 18,
  "text_title": "Copy 4 of CLASS/EVENTS MEMBERSHIP",
  "status": "ok",
  "s_version": "444085",
  "__a_message": [
    "month|rs.promotion;a.duration.sid"
  ]
}

Typical Usage#

Display the contract in a client-facing UI by rendering the html_contract field.
Check status is "ok" before showing the contract.
Use text_title, s_version, and __a_message to label, track, or troubleshoot the specific contract configuration returned.

Request

Query Params

Responses

🟢200
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET '/v1/profile/contract?id_region={{id_region}}&k_business={{k_business}}&k_location={{k_location}}&uid={{uid}}&id_purchase_item=undefined&k_id=undefined' \
--header 'Content-Type: text/plain' \
--data-raw ''
Response Response Example
{}
Modified at 2026-02-26 17:13:05
Previous
/v1/member/info
Next
/v1/profile/create
Built with