CallDocumentation Index
Fetch the complete documentation index at: https://docs.drssed.app/llms.txt
Use this file to discover all available pages before exploring further.
POST /auth/refresh to exchange your current refresh token for a new access token and a new refresh token. Both tokens are rotated on every call — the old refresh token is invalidated immediately after use. You can call this endpoint even if the current access token has already expired, as long as the refresh token is still valid.
Endpoint
| Field | Value |
|---|---|
| Method | POST |
| Path | /auth/refresh |
| Auth required | No |
| Rate limit | 5 per minute |
Request body
Your current access token. This may be expired.
Your current refresh token. Must be valid and unused.
Response fields
Status: 200 OKNew JWT access token. Replace your stored access token with this value.
Number of seconds until the new access token expires.
New refresh token. Replace your stored refresh token with this value immediately.
Example
cURL
Response
Store the new
refresh_token from every response. The previous refresh token is invalidated immediately after use and cannot be reused.