API Overview

Keynest provides HTTPS based API which follows the essence of REST*. The HTTPS protocol's rules are followed thereby enabling simple HTTPS client tools like "postman" to be used.

Authentication

Keynest Api uses Bearer Token Authentication for authenticating the API calls. The user name is your "Keynest Registered Email" and the "password" is same as Keynest and Grant Type as "password".

URL:

https://api.keynest.com/Token

Sample Request

username: keynest user email
password: keynest password
grant_type:password

To Authentication API you could set the input parameters for the operation in key values pair with application/x-www-form-urlencoded content-type. After filling in the request parameters, invoke the request method to send the request.

Sample Response [ JSON ]

                                {
                                  "access_token": "sample string 1",
                                  "token_type": "bearer",
                                  "expires_in": 1209599,
                                  "userName": "sample string 3",
                                  ".issued": "Wed, 28 Mar 2018 06:24:04 GMT",
                                  ".expires": "Wed, 28 Mar 2018 06:24:04 GMT"
                                }
                                

Note: After successfully authentication you can call other api’s with provided access-token. You need to send access-token as Authorization Header with all requests. The header key = "Authorization" And the value = "bearer access_token"