---
title: "Create OAuth Token"
method: POST
path: "/oauth2/token"
tags: ["Authentication"]
---

# Create OAuth Token

`POST /oauth2/token`

## Response `200`

OK

- object
  - `token_type` 'Bearer', required
  - `expires_in` integer, required — Number of seconds until token expires.
  - `access_token` string, required — Your authorization token
  - `refresh_token` string — Refresh token used to refresh access token, if available

## Other responses

- `500` — Unexpected error

---

[API](https://skmtc.net/7shifts/apis/7shifts-api.md) · [All operations](https://skmtc.net/7shifts/apis/7shifts-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/7shifts/7shifts-api/revisions/96a02ef888ab/schema)
