---
title: "Issue OAuth token"
method: POST
path: "/v2/oauth/token"
tags: ["OAuth"]
---

# Issue OAuth token

`POST /v2/oauth/token`

Generate an OAuth access token for machine-to-machine API access.

## Response `200`

Successful Response

- OAuthTokenResponse
  - `access_token` string, required — JWT access token; send as `Authorization: Bearer <access_token>` on subsequent API requests
  - `token_type` 'Bearer', required — OAuth 2.0 token type; always `Bearer` for this API
  - `expires_in` integer, required — Number of seconds until the access token expires, counted from issuance

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `415` — Unsupported Media Type
- `422` — Request Validation Failed
- `500` — Internal Server Error
- `502` — Bad Gateway
- `503` — Service Unavailable

---

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