Refresh JWT

Renews an expired JWT using a refresh token.

Headers
  • Authorization
    Type: string
    required

    The refresh token with Bearer prefix. Format: Bearer <refresh_token>

Body·
required
application/json
  • expiredJwt
    Type: string
    required
Responses
  • 401

    Invalid or expired refresh token.

Request Example for post/api/auth/refresh
curl https://demo.api.whispchat.com/api/auth/refresh \
  --request POST \
  --header 'Authorization: Bearer dGhpcyBpcyBhIHJlZnJlc2ggdG9rZW4...' \
  --header 'Content-Type: application/json' \
  --data '{
  "expiredJwt": "eyJhbGciOiJIUzI1NiJ9..."
}'
No Body