🔐 Authentication
Lấy API Key
- Đăng nhập Developer Portal
- Tạo Application
- 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