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

# Create OAuth Token

`POST /token`

Needs to create a clientassertion using privatekey, refer - https://datatracker.ietf.org/doc/html/rfc7523. This will return a Token that can be valid for 30 minutes.

## Response `200`

Successfully created a token valid for 30 minutes

- object
  - `access_token` string
  - `expires_in` '1800'
  - `token_type` 'bearer'

## Other responses

- `400` — Invalid grant.
- `401` — Unauthorized. clientAssertion not valid any more.

---

[API](https://skmtc.dev/paze/apis/paze-checkout-api.md) · [All operations](https://skmtc.dev/paze/apis/paze-checkout-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/paze/paze-checkout-api/revisions/81670e227b06/schema)
