Skip to main content
POST
Refresh Access Token

Overview

Refresh an existing JWT token to obtain a new one without re-authenticating with credentials. Tokens can be refreshed up to 5 minutes after expiry.

When to Refresh

  • Token is about to expire (less than 5 minutes remaining)
  • Token just expired (within 5-minute grace period)
  • You want to extend an active session
If your token expired more than 5 minutes ago, you must obtain a new token using the Generate Token endpoint.

Token Refresh Strategy

Implement automatic token refresh in your application:

Error Codes

Refresh tokens proactively before they expire to ensure uninterrupted API access.

Authorizations

Authorization
string
header
required

JWT access token obtained from /auth/token

Response

Token refreshed successfully

success
boolean
Example:

true

status
integer
Example:

200

message
string
Example:

"Token generated successfully"

data
object
meta
object