Skip to main content

OAuth API

Secure authentication flow for your applications.

Flow

  1. Generate Auth URL → Get authentication URL
  2. Exchange Token → Get user profile and session

Base URL

https://api.reeng.xyz/api/oauth

Authentication

Include API key in headers:

X-API-Key: your-api-key

Response Format

Success:

{
"status": true,
"message": "Success message",
"data": { }
}

Error:

{
"status": false,
"message": "Error message",
"errors": [ ]
}