---
title: "Get bearer token"
method: POST
path: "/v2/token"
tags: ["v2"]
---

# Get bearer token

`POST /v2/token`

Every API call will be authenticated with a bearer token, so your first step is to obtain a bearer token.
Bearer tokens expire after 20 minutes (1200 seconds). If your token expires, request a new one, then continue with your work. After each API request you submit, you'll receive a response that contains useful information, including an expiresIn field (in seconds) telling you  how long remains before your bearer token expires.

## Request body

- Model19
  - `clientId` string, required — API client ID
  - `clientSecret` string, required — API client secret
  - `expiresIn` number — Expiration TTL for token in seconds

## Response `200`

Successful

---

[API](https://skmtc.dev/sirv/apis/api-documentation.md) · [All operations](https://skmtc.dev/sirv/apis/api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sirv/api-documentation/revisions/80ff016d7d3a/schema)
