Skip to main content
POST
/
api
/
v1
/
auth
/
token
curl --request POST \
    --url http://localhost:8000/api/v1/auth/token \
    --header "Content-Type: application/json" \
    --data '{
        "refresh_token": "your-refresh-token-here"
    }' | jq
{
  "access_token": "<string>",
  "token_type": "bearer"
}
curl --request POST \
    --url http://localhost:8000/api/v1/auth/token \
    --header "Content-Type: application/json" \
    --data '{
        "refresh_token": "your-refresh-token-here"
    }' | jq

Body

application/json

Refresh token request schema.

refresh_token
string
required

Response

Successful Response

JSON payload containing access token.

access_token
string
required
token_type
string
default:bearer