---
title: "Get auth token"
method: POST
path: "/api/v3/token/"
---

# Get auth token

`POST /api/v3/token/`

Obtain an access token using client credentials. No bearer auth required.

## Request body

- TokenRequest
  - `client_id` string, required — OAuth client ID
  - `client_secret` string, required — OAuth client secret
  - `grant_type` 'client_credentials', required — Grant type

## Response `200`

Token issued successfully

- TokenResponse
  - `access_token` string — JWT access token
  - `refresh_token` string — Refresh token for obtaining new access token
  - `token_type` string
  - `expires_in` integer — Seconds until access token expires

---

[API](https://skmtc.dev/runwhen/apis/runwhen-platform-api.md) · [All operations](https://skmtc.dev/runwhen/apis/runwhen-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/runwhen/runwhen-platform-api/revisions/9d1a64d4b1c1/schema)
