Chuyển tới nội dung chính
Phiên bản: 2.0.0

🔐 Authentication

Lấy API Key

  1. Đăng nhập Developer Portal
  2. Tạo Application
  3. Copy API Key

Sử dụng

curl https://api.saboarena.com/v1/me \
-H "Authorization: Bearer YOUR_API_KEY"

OAuth 2.0

Cho ứng dụng cần truy cập user data.

POST /oauth/token
Content-Type: application/x-www-form-urlencoded

grant_type=authorization_code
&code=AUTH_CODE
&client_id=YOUR_CLIENT_ID
&client_secret=YOUR_CLIENT_SECRET