> ## Documentation Index
> Fetch the complete documentation index at: https://docs.slm.m1amdocs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Authentication

Authentication to the API is performed via HTTP Basic Auth using your environment specific API user and key as the username and password.

**Note:**

All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.

## Example cURL Api Key Usage

```

curl "https://api.vindicia.com/subscriptions"
  -u acaff38d462f9430d5cbcbaf:a575771fc679b9de

```

## Example JavaScript Api Key Usage

```

constsubscribe_api_key="acaff38d462f9430d5cbcbaf:a575771fc679b9de";
```

**Parent topic:**[Subscribe REST API Overview](../topics/Overview)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.