WellnessLiving API (v1)
  1. Auth
WellnessLiving API (v1)
  • WellnessLiving API
  • Auth
    • Authentication
      POST
  • Appointment
    • /v1/appointment/book/asset/list
    • /v1/appointment/book/asset/category
    • /v1/appointment/book/service/list
    • /v1/appointment/book/staff/list
  • Business
    • /v1/business
    • /v1/business/skin
  • Classes
    • /v1/classes/list
    • /v1/classes/view/element
  • Collector
    • /v1/collector/debt/list
    • /v1/collector/debt/pay
    • /v1/collector/debt/transaction
  • Drive
    • /v1/drive/product/image/upload
  • Event
    • /v1/event/book/list
    • /v1/event/list
    • /v1/event/book/view/element
  • Location
    • /v1/location/list
    • /v1/location/view
  • Login
    • /v1/login/search/settings
    • /v1/login/search/staff-app/list
    • /v1/login/search/settings
  • Member
    • /v1/member/info
  • Profile
    • /v1/profile/purchase/list
    • /v1/profile/contract
    • /v1/profile/purchase/list/element
  • Promotion
    • /v1/promotion/list
    • /v1/promotion
  • Purchase
    • /v1/purchase/receipt
  • Report
    • /v1/report/data
    • /v1/report/query
  • Schedule
    • /v1/schedule/class/list
    • /v1/schedule/page/list
    • /v1/schedule/tab
    • /v1/schedule/class/view
    • /v1/schedule/page/element
  • Shop
    • /v1/shop/category
  • Staff
    • /v1/staff/list
    • /v1/staff/view
  • User
    • /v1/user
  • Visit
    • /v1/visit/status
  1. Auth

Authentication

Testing
POST
https://access.uat-api.wellnessliving.io/oauth2/token
This HTTP POST request exchanges authorization credentials for an access token at the specified Amazon Cognito endpoint. The request must include a payload formatted as application/x-www-form-urlencoded, containing the necessary authentication parameters.

Request Body#

No specific parameters were provided for the request body.

Response#

Upon successful execution, the response will return a 200 OK status with a Content-Type of application/json. The response body will contain the access token, its expiration duration, and the token type.
Example Response:
{
    "access_token": "JTW.Token...",
    "expires_in": 3600,
    "token_type": "Bearer"
}

Request

Body Params application/x-www-form-urlencoded
client_id
string 
required
Example:
{{client_id}}
client_secret
string 
required
Example:
{{client_secret}}
grant_type
string 
required
Example:
client_credentials

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 'https://access.uat-api.wellnessliving.io/oauth2/token' \
--data-urlencode 'client_id={{client_id}}' \
--data-urlencode 'client_secret={{client_secret}}' \
--data-urlencode 'grant_type=client_credentials'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
🟠400Bad Request
🟠401Unauthorized
Previous
WellnessLiving API
Next
/v1/appointment/book/asset/list