---
title: "POST /tokens"
method: POST
path: "/tokens"
tags: ["Authentication"]
---

# POST /tokens

`POST /tokens`

## Request

- Base URL: `https://sort.veritas.com/infoscale/api/2.0`
- URL: `https://sort.veritas.com/infoscale/api/2.0/tokens`
- Auth: none declared. Required headers: `Authorization`
- TypeScript: <https://skmtc.dev/veritas/apis/veritas-infoscale-api/docs/tokens/post.ts> (a function with typed inputs; its response is checked against the schema)

Returns a new access token and a refresh token(JWT).

## Headers

- `Authorization` string, required

## Response `201`

Successfully received the new refresh token.

- Successfulres
  - `RetCode` integer: InfoScale operation successful.
  - `Status` string: success operation details.

## Other responses

- `401`: Authentication failure.
- `404`: Not Found

---

[API](https://skmtc.dev/veritas/apis/veritas-infoscale-api.md) - [All operations](https://skmtc.dev/veritas/apis/veritas-infoscale-api/llms.txt) - [OpenAPI document](https://skmtc.dev/veritas/apis/veritas-infoscale-api/revisions/1e3d3f7145bb?raw)
