---
title: "Generate Bearer Token"
method: POST
path: "/token"
---

# Generate Bearer Token

`POST /token`

Authentication: OAuth 2.0

Please check our examples to see how the request is made for each grant_type.

## Headers

- `Content-Type` string

## Request body

- object
  - `client_id` string, required — Eupago client_id
  - `client_secret` string, required — Eupago client_secret
  - `grant_type` 'password' | 'client_credentials' | 'refresh_token', required — Access type
  - `refresh_token` string — Token to renew the access (only if grant_type is refresh_token)

## Response `200`

200

- object
  - `transactionStatus` string
  - `access_token` string
  - `token_type` string
  - `expires_in` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/eupago/apis/intro-and-oauth.md) · [All operations](https://skmtc.net/eupago/apis/intro-and-oauth/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eupago/intro-and-oauth/versions/778475fa98e9/schema)
