Client Credentials Flow
POST
https://id.botwizard.net/oauth2.php?x=token
grant_type=client_credentials
client_id=000000
client_secret=XXX
Refresh Token Grant
POST
https://id.botwizard.net/oauth2.php?x=token
grant_type=refresh_token
client_id=000000
client_secret=XXX
refresh_token=YYYZZZAAA
Příklad odpovědi ze služby OAuth
{
"access_token": "aaa",
"token_type": "bearer",
"expires_in": 14400,
"refresh_token": "bbb"
}