---
title: "Get access token"
method: POST
path: "/token"
tags: ["General"]
---

# Get access token

`POST /token`

This endpoint allows you to get an access token that can be used as a BEARER token to access the protected endpoints of this APIs. The token is valid for 30 minutes. You can refresh the token by requesting a new token.

## Request body

- AuthItem
  - `clientId` string, required
  - `clientSecret` string, required
  - `accountId` string, uuid, required
  - `marketplaceId` string, uuid, nullable

## Response `200`

Successful Response

- Token
  - `access_token` string, required
  - `token_type` string, required
  - `expires_in` integer, required
  - `expires_on` integer, required

## Other responses

- `422` — Validation Error

---

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