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

# Auth

`POST /partner/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*.**

## 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.net/totalpass/apis/token-use.md) · [All operations](https://skmtc.net/totalpass/apis/token-use/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/totalpass/token-use/versions/bc65b4950c7e/schema)
