It is accessible through one HTTP interface demonstrated by the example request below.
EXAMPLE REQUEST
POST http://www.example.org/api/oauth2/token Content-Type: application/x-www-form-urlencoded client_id=DEMO_CLIENT_ID&client_secret=DEMO_CLIENT_SECRET&grant_type=client_credentials&scope=xapi:write
SCHEMA
Name | Description |
---|---|
grant_type | Only allows “client_credentials” |
client_id | The Key from your client on the Settings > Clients page |
client_secret | The Secret from your client on the Settings > Clients page |
scope | Only allows “xapi:write” |