---
title: "Get Token"
method: POST
path: "/oauth/token"
tags: ["Auth"]
---

# Get Token

`POST /oauth/token`

Get authentication token

## Request body

- BearerAccessTokenRequest
  - `grant_type` 'client_credentials', required — The grant type.
  - `scope` string — Not used. The JWT scope.

## Response `200`

Response containing access token detail

- BearerAccessTokenResponse
  - `token_type` string — The token type, which in this case is "bearer".
  - `access_token` string, required — The access token.
  - `expires_in` integer, required — Token expiry time in seconds.
  - `scope` string — Not used.

## Other responses

- `4XX` — Error message
- `5XX` — Error message

---

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