v1

latestOpenAPI 3.0.22026-07-26480119.6 KB
Partner::Authentication

Auth

Endpoint responsible for authentication. The 'partner_api_key' should be provided by TotalPass' Gym support team and the 'place_api_key' should be provided by the client (the gym) after obtaining it through our system. To obtain credentials, contact the Gyms support team at Totalpass. After obtaining your API keys ('place_api_key' and 'partner_api_key'), you can authenticate using this endpoint, which will return a JWT token with the user's login information. Atention -This token must be renewed every 24 hours.*

post/partner/auth

Request body

place_api_keystring required
partner_api_keystring required

Example request

{
  "place_api_key": "c8f928a1-302c-4776-91d9-84063a38b68b",
  "partner_api_key": "0c31a687-4056-43cc-b91f-2fb8928e7489"
}

Response

Created

object required