Get Access Token

This API request is used to generate an access token for other api requests. use your ruler credentials to receive a token.

Headers:

Request Body(form-data):

The form data is your username and password.

UsernamestringRequired

Your Ruler username credential.

PasswordstringRequired

Your Ruler password credential.

Request
POST
login
curl -X POST \ 'https://authapi.rulerapi.com/v1/login' \ -H 'Content-Type: application/x-www-form-urlencoded' \ -d 'username={username}&password={password}'
Response
200 OK { "access_token": "{access_token}", "scope": "{scope}", "expires_in": {expires_in}, "refresh_token": "{refresh_token}" }