Knot's API uses Client ID / Secret to authenticate requests.

Authentication to the API is performed via HTTP Basic Auth. Provide your client_id as the basic auth username value and secret as the basic auth password value.

curl -X POST '' \
  -u '[client_id]:[secret]' \
  -H 'Content-Type: application/json' \
  -H 'Knot-Version: 2.0'

All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.