Ricardoneud.com
DocumentationHelp Center
API Reference
  • Production
  • Sandbox (Coming Soon)
DocumentationHelp Center
API Reference
  • Production
  • Sandbox (Coming Soon)
Discord Community
Github
  1. Oauth2
  • Back to home
  • v4
  • Games
    • Minecraft
      • Get Minecraft Server
  • Tools
    • Get DNS Information
      GET
    • Get Domain Information
      GET
    • Mail DNS Checker
      GET
    • Validate Email Host
      POST
    • Get Subdomains
      GET
    • Geo IP
      GET
  • User Login
    • Create Secret
      POST
    • Revoke Secret
      DELETE
  • Oauth2
    • Access Token
      POST
    • Read Profile
      GET
  1. Oauth2

Access Token

POST
https://api.ricardoneud.com/v4/oauth2/token
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.

Request

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠400Bad Request
🟠401Unauthorized
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.ricardoneud.com/v4/oauth2/token' \
--header 'Content-Type: application/json' \
--data-raw '{
  "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"
}'
Response Response Example
200 - Success
{
  "access_token": "f3c9a84e5b1762c4f0e9c78d22a1e8a1f71f3c4b39db12e8f02b6c8f5c7e1a3b",
  "expires_in": 86400,
  "scope": "profile:read profile:write"
}
Modified at 2025-10-23 17:49:25
Previous
Revoke Secret
Next
Read Profile
Built with