Skip to main content
POST
/
api
/
v1
/
auth
/
refresh
Refresh Token
curl --request POST \
  --url https://api.devkit4ai.com/api/v1/auth/refresh \
  --header 'Content-Type: application/json' \
  --data '
{
  "refresh_token": "<string>"
}
'
{
  "access_token": "<string>",
  "token_type": "<string>",
  "refresh_token": "<string>"
}
Obtain a new access token using a valid refresh token.

Body

refresh_token
string
required
Valid refresh token

Response

access_token
string
New JWT access token
refresh_token
string
New refresh token
token_type
string
Token type (typically “bearer”)

Body

application/json
refresh_token
string
required

Response

Successful Response

access_token
string
required
token_type
string
required
refresh_token
string | null