Authentication

Every request to our API must include an API key in the header. The API key is passed in the x-api-key header. Our API uses an API key validation middleware that:

  • Verifies the key’s prefix and its hash.
  • Checks the key status and expiration.
  • Sets the organization context for your requests.

Header Requirement:

  • x-api-key: Your unique API key.

Example Request:

curl --location 'https://sandbox-api.kontigo.lat/v1/customers' \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "email": "[email protected]",
    "phone_number": "1234567890",
    "type": "individual"
  }'