AOP API/Authentication
/auth/token/refreshExchange a refresh token for a new access token, without re-sending your client secret.
https://api.w3builders.com/v1/auth/token/refresh| Field | Type |
|---|---|
| access_token | value |
| token_type | value |
| expires_in | value |
| refresh_token | value |
curl -X POST https://api.w3builders.com/v1/auth/token/refresh \-H "Content-Type: application/json" \-d '{"refresh_token": "5c2f9e..."}'
{"access_token": "eyJhbGciOi...","token_type": "Bearer","expires_in": 1800,"refresh_token": "8a13cd..."}
curl -X POST https://api.w3builders.com/v1/auth/token/refresh \-H "Content-Type: application/json" \-d '{"refresh_token": "5c2f9e..."}'
{"access_token": "eyJhbGciOi...","token_type": "Bearer","expires_in": 1800,"refresh_token": "8a13cd..."}