Access to the API

API GETTING STARTED

 

1. An API key: The API key is created by Logsta and is assigned to you.
2. Access data: Your user and password with which you log in to the Connector Web App.


All access to the API is only allowed with a valid token. The token can be created via the Login API function and is valid for one hour:

 

 

# Login and get your TOKEN
curl https://api.logsta.com/login 
 -H 'X-Api-Key: $APIKEY' 
 -H 'Content-Type: application/json' 
 -d '{
  "username":"USER",
  "password":"PASS"
}'# Make your first Logsta REST API call
curl https://api.logsta.com/orders 
 -H 'X-Api-Key: $APIKEY' 
 -H "Authorization: $TOKEN"

A list of all API functions