User Account OAuth tokens are used to perform operations within the scope of an Account.


POST https://yourCyclrInstance/oauth/token
Content-Type: application/x-www-form-urlencoded

yourCyclrInstance Your Cyclr instance URL.
This could be one of the following: "" if your Cyclr account is hosted on our US instance; "" if it's on our UK instance; your own domain if your Cyclr instance is self-hosted.
client_id Your Client Id, obtained from Console > Settings > OAuth Client Credentials
client_secret The Account Id of the Account to work in.
Can be obtained by calling Accounts API endpoint to view a list of all Accounts, or in your web browser through the Console by viewing the Settings of the Account and taking the accountId value from the web browser's address bar.
grant_type The string "password"
username An Account User's username
password An Account User's password


200 OK
    "access_token": "0000000000000000000000000000000000000000000000000000000000000000",
    "token_type": "bearer",
    "expires_in": 1209599,
    "refresh_token": "0000000000000000000000000000000000000000000000000000000000000000",
    "userName": "",
    ".issued": "Wed, 06 Dec 2017 16:06:32 GMT",
    ".expires": "Wed, 20 Dec 2017 16:06:32 GMT"

Store the returned access_token and refresh_token for future use.

How to List Available Templates

Tags: installing
Edit me