---
title: "Exchange client credentials for a short-lived access token."
method: POST
path: "/api/v1/oauth/token"
---

# Exchange client credentials for a short-lived access token.

`POST /api/v1/oauth/token`

Accepts either ``application/x-www-form-urlencoded`` (standard) or
``application/json`` request bodies.

Required parameters:

* ``grant_type`` – must be ``"client_credentials"``
* ``client_id``
* ``client_secret``

## Request body

- object

## Response `200`

Success

- object

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/trends/apis/trends-earth-api.md) · [All operations](https://skmtc.dev/trends/apis/trends-earth-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trends/trends-earth-api/revisions/6bdbc0b84666/schema)
