https://auth.navexa.io/authorize?
response_type=code&
client_id=YOUR_CLIENT_ID&
redirect_uri=YOUR_REDIRECT_URI&
scope=YOUR_REQUESTED_SCOPES&
state=RANDOM_STRINGPOST request to the token endpoint:curl --request POST \
--url https://auth.navexa.io/oauth/token \
--header 'content-type: application/json' \
--data '{
"client_id": "YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET",
"code": "{AUTHORIZATION_CODE}",
"grant_type": "authorization_code",
"redirect_uri": "YOUR_REDIRECT_URI"
}'curl --request GET \
--url https://api.navexa.io/some-endpoint \
--header "Authorization: Bearer YOUR_ACCESS_TOKEN"curl --request GET \
--url https://api.navexa.io/some-endpoint \
--header "x-api-key: YOUR_API_KEY"