---
title: "Obtain tokens"
method: POST
path: "/"
---

# Obtain tokens

`POST /`

The endpoint to generate an access token has a rate limit of 1 req/min. As these tokens are valid for 24 hours, there is no need to make requests for each request.

When the rate limit is hit, we will return HTTP status 429, and information about when the limit expires will be provided in both the header and the response body.

## Request body

- object
  - `client_id` string — Client ID provided by Breezeway
  - `client_secret` string — Client Secret provided by Breezeway

## Response `200`

200

- object
  - `access_token` string
  - `refresh_token` string

---

[API](https://skmtc.dev/breezeway/apis/breezeway-auth-api.md) · [All operations](https://skmtc.dev/breezeway/apis/breezeway-auth-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/breezeway/breezeway-auth-api/revisions/920ab5205e9d/schema)
