GetJwtFromKeyRequestBody
Example Usage
typescript
import { GetJwtFromKeyRequestBody } from "@meetkai/mka1/models/operations";
let value: GetJwtFromKeyRequestBody = {
audience: "https://miserable-subexpression.net",
externalUserId: "<id>",
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
audience | string | ✔️ | JWT audience (aud) claim for the exchanged token. Set this to the target API/service URL that should accept the token. |
externalUserId | string | ✔️ | Your external user identifier to place in the JWT subject (sub) claim. |
expiresIn | number | ➖ | Token lifetime in seconds. Must be between 300 (5 minutes) and 2592000 (30 days). Defaults to 3600 (1 hour). |
permissions | string[] | ➖ | Optional subset of API key permissions to embed in the token. If omitted, all API key permissions are used. |