Overview
Authentication to the API is performed via HTTP basic authentication. Requests made over plain HTTP or without authentication will fail. In each request, pass a base64-encoded stringusername:password as an authorization header. In the Knot Dashboard, you will find your client_id and secret for the development environment, which you can use as the basic auth username and password respectively.
When you are ready to go to production, use your production client_id and generated secret from the Knot Dashboard for the authentication header.
URLs
| Environment | URL |
|---|---|
| Development | https://development.knotapi.com |
| Production | https://production.knotapi.com |
Base64 Encoding
To create the basic authorization header, base64 encode yourclient_id and secret in the format client_id:secret like below.