---
title: "Get Token"
method: POST
path: "/oauth/token"
tags: ["Auth"]
---

# Get Token

`POST /oauth/token`

## Request body

- object
  - `client_id` string, required — Your application's Client ID
  - `client_secret` string, required — Your application's Client Secret

## Response `200`

Access token

- object
  - `access_token` string
  - `token_type` 'Bearer'
  - `expires_in` number — Time in seconds

## Other responses

- `400` — Invalid request
- `401` — Unauthorized
- `500` — Internal error

---

[API](https://skmtc.dev/soharhealth/apis/sohar-api.md) · [All operations](https://skmtc.dev/soharhealth/apis/sohar-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/soharhealth/sohar-api/revisions/2cb5fa45c18c/schema)
