v4 (Latest)
cURL
curl --request POST \ --url https://api.ricardoneud.com/v4/oauth2/token \ --header 'Content-Type: application/json' \ --data '{ "grant_type": "authorization_code", "code": "authorization_code_from_callback", "redirect_uri": "https://client.app/callback", "client_id": "your_client_id", "client_secret": "your_client_secret" }'
200
example
{ "access_token": "f3c9a84e5b1762c4f0e9c78d22a1e8a1f71f3c4b39db12e8f02b6c8f5c7e1a3b", "expires_in": 86400, "scope": "profile:read profile:write"}
This documentation helps you exchange your authorization code for a temporary access token that is valid for 24 hours, allowing you to use our API with OAuth2 authentication.
Was this page helpful?