---
title: "Obtain an access token"
method: POST
path: "/v2/oauth/token"
tags: ["Authentication"]
---

# Obtain an access token

`POST /v2/oauth/token`

OAuth 2.0 Client Credentials grant. Returns a Bearer token valid for 1 hour.
Credentials may be passed in the request body or via HTTP Basic Auth header.

## Response `200`

Access token issued successfully

- object
  - `access_token` string — JWT to include in all API requests
  - `token_type` 'Bearer'
  - `expires_in` integer — Token validity in seconds (3600 = 1 hour)

## Other responses

- `400` — Invalid request parameters or body
- `401` — Missing or expired access token

---

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