Excerpt |
---|
Use this method to get a Komet Sales Authentication Token. This token is required for all the requests made via the Komet Sales API. Ensure the location where you are storing your access token is secure and private. This authentication token is your API Key and will enable your account to make API requests linked to the account of the access token. |
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|
Request
URL: https://api.kometsales.com/api/login
Method: POST
Content-Type: URL Parameters
Input Parameters
username (required)(string:100)
Komet Sales username.
password (required)(string:100)
Komet Sales password.
Code Block | ||
---|---|---|
| ||
https://api.kometsales.com/api/login?username=your_username &password=your_password |
Response
status (integer:1)
Transaction status.
Valid values: 1 = Success | 0 = Failure
message (string:500)
Transaction status description.
apiKey (string:50)
The account’s API Access Token.
Code Block |
---|
{ "status": "1", "message": "OK", "apiKey": "4jnr8myprafeb4u5uv3ijecrhq" } |