Overview

This method returns a Komet Sales auth token. This token is required for all the requests made via the Komet Sales API.

How this works? 

  1. Request an auth token one time.
  2. Securely store your auth token in your application.
  3. Use the token for all your Komet Sales API calls.

Request

https://api.kometsales.com/api/login

  • Method: POST
  • Content-Type: URL params.

Input Parameters:

  • username (required)(string:100): Komet Sales username. 
  • password (required)(string:100): Komet Sales password.


Sample 1
https://api.kometsales.com/api/login?username=your_username&password=your_password

Response

Output:

  • status (integer:1): transaction status. 1 for success or 0 for failure.
  • message (string:500): description of the status of the transaction.
  • apiKey (string:50): your API Key.