Authentication

Smarter AI REST APIs are secured with standard API keys to authenticate requests. You can obtain an API key from Smarter AI once you register your tenancy with us.

API keys are tenant-specific. So you can access the data and resources of your tenant.

To make API calls, send your API key in the request header withSAI-Key key. For example, if API key for your tenant is ABCD, your API request must contain the following header:

SAI-Key: ABCD

curl --request GET \
  --url https://api.smarterai.com/example \
  --header 'Accept: application/json' \
  --header 'SAI-Key: ABCD'

Best Practices for API Keys

  • Store your API key securely and privately.
  • Do not share it with anyone outside of your organization.
  • Do not put it in your source codes.