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
    • Refresh Access Token
      PATCH
    • Read Profile
      GET
  1. Oauth2

Refresh Access Token

PATCH
https://api.ricardoneud.com/v4/oauth2/token
This documentation helps you exchange your refresh token for a new 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 PATCH 'https://api.ricardoneud.com/v4/oauth2/token' \
--header 'Content-Type: application/json' \
--data-raw '{
  "grant_type": "refresh_token",
  "refresh_token": "refresh_token_that_you_stored_from_callback",
  "client_id": "your_client_id",
  "client_secret": "your_client_secret"
}'
Response Response Example
200 - Success
{
  "access_token": "f3c9a84e5b1762c4f0e9c78d22a1e8a1f71f3c4b39db12e8f02b6c8f5c7e1a3b",
  "refresh_token": "9f2d1c4b5a6e7f8d9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f",
  "expires_in": 86400,
  "scope": "profile:read profile:write"
}
Modified at 2025-11-15 15:26:41
Previous
Access Token
Next
Read Profile
Built with