> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.houseofapps.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.houseofapps.ai/_mcp/server.

# Authentication with License Keys

> How to authenticate House of Apps API requests using a license key and app secret

License keys are best used for scripts and integrations that are internal to your organization.

## Getting a license key

License keys can be found in your House of Apps account under **Administration → Keysets**. Open a keyset to copy its **License Key** and **App Secret**.

Keysets are scoped to your organization. Requests made with them act on behalf of the organization rather than an individual user, and changes appear in activity history as an API user. Member roles do not apply to these requests; see [Roles and Permissions](/api-reference/roles-and-permissions).

## Perform API calls with a license key

Send your license key and app secret in the `licenseKey` and `appSecret` headers of every request.

### cURL example

Example cURL request with a license key.

```bash
curl https://api-dev.houseofapps.ai/v1/integrations/leads \
  -H "licenseKey: yourlicensekey" \
  -H "appSecret: yourappsecret"
```

This results in the following request:

```
GET /v1/integrations/leads HTTP/1.1
Host: api-dev.houseofapps.ai
licenseKey: yourlicensekey
appSecret: yourappsecret
```

If the headers are missing or invalid, the API responds with `401`.

API Base URL: `https://api-dev.houseofapps.ai/v1/integrations`