Kenesto Auth API
Kenesto Web API provides the same RESTful API that Kenesto web app and Kenesto Drive uses. You can use it for all the same operations for manipulating folders and documents. You must first be registered with Kenesto which means you must have an account in Kenesto to use the API.
Your application must use OAuth 2 to authenticate a user and obtain access tokens and refresh tokens. The authentication process has been shown separately later in this document with input and output examples.
Currently, the hostname for API calls is app.kenesto.com. It may change in the future.
Kenesto uses JSON as well as XML both for request and response.
Kenesto returns standard HTTP status codes.
This sample or example shows Kenesto Web API which is the REST API currently used by the Kenesto Drive™ for authentication, authorization and application operations.
Any call to the API can be done by a regular GET http request and the response can be retrieved in XML or JSON depending on the call arguments.
For a user to have access to Kenesto operations, two requests should be made. Access.svc is the service for authentication and authorization.
- method: xml or json
- accessKey: unique business client identifier (to identify the caller organization allowed to use the API. Ask Kenesto for your identifier).
- username of the user requested to be authenticated
- password of the user requested to be authenticated
The response or the output is a structure that has the details required to know if the authentication succeeded and the organizations information to which the user wants to access.
The organization identifier and the token received are used for the Login call to receive a session token that will be used for the rest of the API calls.
- method: xml or json
- organizationidentifier: received from the previous call -remember to use the organizationidentifier where “IsDefault” is ‘true’ – in case of multi tenant user.
- accessToken: the token received from previous call – remember to encode the token before use.
The token included in the response is to be used for all subsequent API calls.
Have a Question?