API GETTING STARTED
Access to the API
To use the Logsta Connector API you need:
1
API-Key: The API Key is created by Logsta and is assigned to you.
2
Access: Your username 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 "Authorization: $TOKEN"