---
title: "Generates JSON Web Token (JWT)."
method: POST
path: "/Ams/Auth/GetJwt"
tags: ["Ams"]
---

# Generates JSON Web Token (JWT).

`POST /Ams/Auth/GetJwt`

## Request

- Base URL: `https://ws.yourmembership.com`
- URL: `https://ws.yourmembership.com/Ams/Auth/GetJwt`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/yourmembership/apis/ym-rest-services/docs/Ams/Auth/GetJwt/post.ts> (a function with typed inputs; its response is checked against the schema)

Generates JSON Web Token (JWT).

## Request body `application/x-www-form-urlencoded`

- object
  - `refId` string
  - `UsingRedis` boolean
  - `AppInitTime` string, date-time
  - `ServerID` string
  - `ClientID` integer
  - `ResponseStatus` string
  - `BypassCache` boolean
  - `DateCached` string, date-time
  - `Device` string

## Response `200`

Success

- JwtIssuerResponse: JwtIssuerResponse
  - `token` string

---

[API](https://skmtc.dev/yourmembership/apis/ym-rest-services.md) - [All operations](https://skmtc.dev/yourmembership/apis/ym-rest-services/llms.txt) - [OpenAPI document](https://skmtc.dev/yourmembership/apis/ym-rest-services/revisions/8d8a2e7e7d56?raw)
