---
title: "Regenerate Authentication Token"
method: POST
path: "/auth/v1/web/token/regenerate"
---

# Regenerate Authentication Token

`POST /auth/v1/web/token/regenerate`

Generates authentication token using auth key or expired token generated in `otp/validate` API. By default, a token is valid for 15 minutes. You can use this API only for orgs in which password based authentication is enabled.

## Request body

- object
  - `identifierType` string, required — Identifier used for token generation. Values: MOBILE, EMAIL, USERNAME.
  - `identifierValue` string, required — Value of the specified identifierType.
  - `brand` string, required — Name of the brand/org for which authentication needs to be verified.
  - `expiredToken` string, required — Unique key generated for the successful web OTP validation.

## Response `200`

200

- object
  - `identifierType` string
  - `identifierValue` string
  - `brand` string
  - `expiredToken` string

## Other responses

- `400` — 400

---

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