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

# Auth

`POST /partner/auth`

## Request

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

Endpoint responsible for authentication. 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/booking-new.md) - [All operations](https://skmtc.dev/totalpass/apis/booking-new/llms.txt) - [OpenAPI document](https://skmtc.dev/totalpass/apis/booking-new/revisions/a2fc837ffbd9?raw)
