---
title: "Auth"
method: POST
path: "/partner/auth"
tags: ["Partner::Authentication"]
---

# Auth

`POST /partner/auth`

## Request

- Base URL: `https://gym-service-api.totalpass.com`
- URL: `https://gym-service-api.totalpass.com/partner/auth`
- Auth: none declared

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*.**

## Request body

- object
  - `place_api_key` string, required
  - `partner_api_key` string, required

## Response `201`

Created

- object

## Other responses

- `400`: Bad Request
- `401`: Unauthorized

---

[API](https://skmtc.dev/totalpass/apis/webhook-checkin.md) - [All operations](https://skmtc.dev/totalpass/apis/webhook-checkin/llms.txt) - [OpenAPI document](https://skmtc.dev/totalpass/apis/webhook-checkin/revisions/7748de6aa483?raw)
