POST
/
auth
/
refresh
curl --request POST \
  --url https://api.charp.ai/auth/refresh \
  --header 'Content-Type: application/json' \
  --data '{
  "refresh_token": "<string>"
}'
{
  "access_token": "<string>",
  "token_type": "<string>",
  "expires_in": 123,
  "refresh_token": "<string>"
}

Body

application/json
Refresh token
refresh_token
string
required

Token used to obtain a new access token

Response

200
application/json
Access token refreshed successfully
access_token
string
required

Access token for API authentication

token_type
string
required

Type of token (e.g., Bearer)

expires_in
integer
required

Token expiration time in seconds

refresh_token
string

Token used to refresh the access token