How to acces to the API

To acces to our api please register first
Once registered call our REST API by simply add token information into the header and compute your hmac key

            
    Request headers
    
    GET https://sandbox-api.thekase.com/v1/[METHOD]/json HTTP/1.1
    Host: sandbox-api.thekase.com
    Connection: keep-alive
    Cache-Control: max-age=0
    Login : demo
    Token : kRShhR7mOkXKHJN+iPQMHQ==
    secret_key : 5475C869BB64B33F35D0A37DF466568475BC9601
            
            

First call

To make your first call you need to call the Rest Api URL by choosing sandbox or production mode :

Sandbox mode : https://sandbox-api.thekase.com/v1/[METHOD]/json
Production mode : https://api.thekase.com/v1/[METHOD]/json

            
    Request headers
    
    GET https://sandbox-api.thekase.com/v1/getAuthToken/json/
    Host: sandbox-api.thekase.com
    Connection: keep-alive
    Cache-Control: max-age=0
    Login : demo
    Token : kRShhR7mOkXKHJN+iPQMHQ==
    secret_key : 5475C869BB64B33F35D0A37DF466568475BC9601
            
            

The return answers will be into json format , you need to add the auth token given into the next header parameters.

            
	{
    	auth_token : "qSzjxUn78CtiqaFRtl0Vca1gkXGjctexhBN5GamYPtg="
	}