Refresh the session tokens
Exchanges the httpOnly refresh-token cookie for a new access/refresh JWT pair (and sets fresh auth cookies). Reads the refresh token from cookies, not the body. Rate limited.
POST
/api/auth/token-refreshRequest
curl
curl -X POST https://platform.trickest.com/api/auth/token-refresh \
-H "Authorization: Bearer $TRICKEST_TOKEN"Responses
200Refreshed access/refresh tokens
accessstringrequiredrefreshstringrequired400Bad Request – validation error or malformed input
codestringmessagestring401Unauthorized – missing or expired token
codestringmessagestring500Internal Server Error
codestringmessagestring