MagickMind
API ReferenceEnd Users

Exchange a valid end-user token for a fresh one, revoking the presented token (end-user JWT)

POST
/v1/end-user/tokens/refresh

Authorization

EndUserAuth
AuthorizationBearer <token>

End-user JWT minted via POST /v1/end-users/tokens, sent as Authorization: Bearer <token>.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/end-user/tokens/refresh" \  -H "Content-Type: application/json" \  -d '{}'
{  "expires_at": "string",  "expires_in": 0,  "token": "string",  "token_type": "string"}