Refresh JWT
Renews an expired JWT using a refresh token.
Headers
- Type: stringAuthorizationrequired
The refresh token with Bearer prefix. Format:
Bearer <refresh_token>
Body·
required
application/json
- Type: stringexpired
Jwt 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