---
title: "Creating an api token"
method: POST
path: "/auth/token"
tags: ["Tokens"]
---

# Creating an api token

`POST /auth/token`

This token is used for Admission API authentication

## Request body

- object
  - `clientId` string — Company client id
  - `secret` string — Company secret

## Response `200`

Successful operation

- object
  - `accessToken` string — JWT Bearer token
  - `expiresIn` number — Token expiration timestamp
  - `type` string — Token type

---

[API](https://skmtc.net/gupy/apis/gupy-public-api.md) · [All operations](https://skmtc.net/gupy/apis/gupy-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gupy/gupy-public-api/versions/3f26defa2a42/schema)
