In order to perform operations against your end user accounts in Cyclr, a User Account OAuth token is required.

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

client_id Your Client Id, obtained from Console > Settings > OAuth Client Credentials
client_secret The Account Id that you use to perform operations in
grant_type The string “password“
username An Account User’s username
password An Account User’s password

Response:

    200 OK

    {
        "access\_token": "0000000000000000000000000000000000000000000000000000000000000000",
        "token\_type": "bearer",
        "expires\_in": 1209599,
        "refresh\_token": "0000000000000000000000000000000000000000000000000000000000000000",
        "userName": "newAccountUser",
        "clientId": "jiK5IEHXfr96NFY76MHYlIaLpatGf7gm",
        ".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