REST APIs and Webhooks are available in Business and Enterprise Package.

Authentication

Any API request needs to have X-Myalice-Api-Key in the header.

Obtaining the Key

To obtain your authentication key, navigate to your Team Settings in the dashboard. Locate the API Key and store it.

Using the Key

Add X-Myalice-Api-Key in the header of your API call. All API requests must be made over HTTPS.

  • Calls made over plain HTTP will fail.
  • Any request without X-Myalice-Api-Key in the header will also fail.

Key Security

Treat your API key like a password. Keep it confidential and never expose it in public repositories, client-side code, or any other public channels.

Key Regeneration: In the event of a security breach or if you suspect your key has been compromised, regenerate a new key immediately. Contact Support for this.

Authentication Process

Once you have your API key, include it in the HTTP header of your requests under X-Myalice-Api-Key as specified in the API documentation. The header should look like this:

GET /api/endpoint
Host: api.myalice.ai
X-Myalice-Api-Key: YOUR_API_KEY

Example using cURL

curl -X GET "https://api.myalice.ai/api/endpoint" \
     -H "X-Myalice-Api-Key: YOUR_API_KEY"