Partner API
Overview
Getting Started
curl $BASE_URL/partner/login \ -H "Content-Type: application/x-www-form-urlencoded" \ -d "login=$PROJECT_ID&password=$PRIVATE_KEY"{ "result": "OK", "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "create_time": 1700000000, "expire_time": 1700003600 }curl -X POST "$BASE_URL/partner/v2/getUser" \ -H 'accept: application/json'\ -H "authorization: Bearer $ACCESS_TOKEN"\ -H 'content-type: application/json' \ -d '{"username": "'"$USERNAME"'"}'{ "result": "OK", "user": { "id": 0, "username": "string", "auth_method": "string", "enabled": false, "extra": { "country": "string", "language": "string" } } }
Resources
Last updated
Was this helpful?