Refresh Token
POST/api/v1/auth/refresh
Exchange a valid refresh token for a new access + refresh token pair.
Implements token rotation: each refresh invalidates the previous token. Reuse of an already-consumed token is rejected.
Summary
POST /api/v1/auth/refresh is an operation in the auth group of the Nexatron REST API, served from https://api.nexatron.io. It takes no API key. It takes a JSON body whose required field is refresh_token. A successful call returns 200; the other documented responses are 400, 401, 404 and 422.
Example request
curl -X POST "https://api.nexatron.io/api/v1/auth/refresh" \
-H "Content-Type: application/json" \
-d '{"refresh_token":"<refresh_token>"}'
Placeholders in angle brackets stand for your own values. See the API overview for errors and rate limits.
Request
Responses
- 200
- 400
- 401
- 404
- 422
Successful Response
Malformed or business-invalid request
Invalid, expired, or reused refresh token
Resource not found
Validation error