Ricardoneud.com
Website
Website
Discord Community
Community Forum
  1. Oauth2
  • Home
  • Frequently Asked Questions
  • Api
    • User Login
    • Changelog
      • v1
      • v2
      • v3
      • v4
    • v1
      • Clients
        • Licenses
          • Get Licenses
      • Tools
        • Get Subdomains
        • Mail DNS Checker
        • Get DNS Information
    • v2
      • Clients
        • Licenses
          • Get Licenses
      • Games
        • Minecraft
          • Get Minecraft Server
      • Reseller
        • Licenses
          • Check License
          • Generate License
          • Update License
          • Delete License
      • Tools
        • Get Subdomains
        • Mail DNS Checker
        • Get DNS Information
    • v3
      • Games
        • Minecraft
          • Get Minecraft Server
        • Fivem
          • Get Fivem Server
      • Reseller
        • Licenses
          • Check License
          • Generate License
          • Update License
          • Delete License
      • Tools
        • Get Subdomains
        • Mail DNS Checker
        • Get Domain Information
        • Get DNS Information
      • User Login
    • v4
      • Games
        • Minecraft
          • Get Minecraft Server
      • Tools
        • Get DNS Information
        • Get Domain Information
        • Mail DNS Checker
        • Validate Email Host
        • Get Subdomains
        • Geo IP
      • User Login
        • Create Secret
        • Revoke Secret
    • Oauth2
      • Access Token
        POST
      • Read Profile
        GET
  • Products
    • Next.js Docs Template
      • Installation
        • VPS Installation
        • Pterodactyl Installation
    • Game Panels
      • Pterodactyl
        • Eggs
          • Installation
            • Next.js Egg
        • Extensions
          • Installation
            • Pterodactyl Livechat
      • Pelican
        • Eggs
          • Installation
            • Next.js Egg
    • Donate Me
      • Installation
        • VPS Installation
        • Pterodactyl Installation
    • LicenseForge
      • Installation
        • VPS Installation
        • Webhost Installation
    • Billing Portals
      • Paymenter
        • Extensions
          • Discord Linked Roles
            • Installation
            • Setting Up
          • CyberPanel
            • Installation
            • Setting Up
          • NeudAuth
            • Installation
            • Setting Up
      • WHMCS
        • Extensions
          • Installation
            • Ticket Spam Checker
            • Chatwoot Livechat
  • ProbeCore
    • Introduction
    • Self Hosting
      • Installation
        • VPS Installation
        • Pterodactyl Installation
  1. Oauth2

Access Token

POST
https://api.ricardoneud.com/oauth2/token
Maintainer:Ricardoneud.com
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 Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.ricardoneud.com/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"
}

Request

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠400Bad Request
🟠401Unauthorized
🔴500Server Error
Modified at 2025-08-24 11:07:50
Previous
Revoke Secret
Next
Read Profile
Built with