Skip to main content

Posts

Showing posts with the label Access Token

How to obtain Access Token for MailChimp REST API?

Register an Application  In the MailChimp account, navigate to the Account page. In the account drop-down menu, click Extras and choose API Keys Under the “Developing an App?” heading, click Register and Manage Your Apps Click Register an App In the fields provided, input your application’s information and click Create When creation is successful, you’ll see an Aplication created message appear, and more information at the end of your form, including the Client_ID and Client Secret Obtain the Access Token It begins the authorization process by redirecting the user to the authorize_uri. This is a GET request, and response_type=code, client_id, and the redirect_uri are included. https://login.mailchimp.com/oauth2/authorize?response_type=code&client_id=12345&redirect_uri=http://vsvives.blogspot.com/ The user is prompted to enter their username and password to approve the application then you will redirect back to your redirect_uri as a GET request with the code parameter. h...

How to get token for ActiveCollab V5?

Using the URL " https://www.activecollab.com/ " to create a "Free Trial" account for ActiveCollab version5.For that, you need to pass the "Your Name or Organization, Email and Password". Send a POST request to " https://my.activecollab.com/api/v1/external/login" with "email" and "password" as parameters. Sample request { "password":"xxxxxxxxxx", "email":"emailAddress" } Response { "is_ok":true, "accounts":[ { "url":"https://app.activecollab.com/134362", "name":"134362", "display_name":"vivek (ID: 134362)", "class":"FeatherApplicationInstance" } ], "user":{ "first_name":"vive", "last_name":"siva", "intent":"O7NB7V96R0M48-xxxxxxxxxxxxxx...

How to generate AccessToken and AccessTokenSecret using OAuth (v1.0a) protocol?

In this post, I am going to briefly explain how to generate the access token and secret using   OAuth (v1.0a) protocol, here I am using  Xero payroll API  Request URLs for generating tokens. " https://www.hurl.it/ " is used to generate the above token. Steps: 1) Before start, we need to create a Xero account (https://www.xero.com/signup/) and valid application (https://api.xero.com/Application/). Once you create app, you can get the "Consumer Key" and "Consumer Secret". 2) The next step is to obtain an Unauthorized Request Token Go to the "https://www.hurl.it/" then select " Add Authentication " and click on " OAuth 1.0a". In the " Destination", choose GET HTTP method and add the " https://api.xero.com/oauth/RequestToken " in the place, then add the " Consumer Key" and " Consumer Secret" which is obtained from APP, after adding click the "Launch Request" to get  ...