API Environment and Version

Learn about the base URL, API version, and protocol used to construct API endpoints for Knit's unified apis

Knit uses a consistent base URL structure across all endpoints. Before making any API call, make sure you have your API Key ready - you can find it on the API Keys page in the dashboard. For authentication details, refer to the Authentication guide.

  • API Hostname: api.getknit.dev
  • For EU Region: api.eu.getknit.dev
  • API Version: v1.0
  • Protocol: https

Your base URL follows this structure:[protocol]://[api hostname]/[api version]

The endpoint would look like: https://api.getknit.dev/v1.0

The endpoint for the EU region would look like: https://api.eu.getknit.dev/v1.0

Note: Always use the EU hostname if your account is provisioned on the EU region. Using the wrong hostname will result in authentication errors.


Credentials / API Key

Every API request must include your API Key in the request headers for authorization. You can generate and manage your API Keys from the Knit dashboard.