Skip to navigation

Python SDK

The House of Apps REST API works in any language that can send HTTP. For Python, use the official houseofapps client (Python 3.10+).

Install

pip install houseofapps

Quick start

from houseofapps import HouseOfApps
with HouseOfApps(
license_key="YOUR_LICENSE_KEY",
app_secret="YOUR_APP_SECRET",
base_url="https://api-dev.houseofapps.ai",
) as client:
created = client.leads.create(
{
"lead": {"name": "Acme renewal"},
"contact": {
"email": "ada@acme.com",
"first_name": "Ada",
"last_name": "Lovelace",
},
}
)
print(created)
leads = client.leads.list(page=1, page_size=20)
print(leads.total)

license_key and app_secret are sent as the licenseKey and appSecret headers. See Authentication.

What it covers

ClientResources
client.leadsList, get, create, update, delete, search, activity
client.contactsContacts under /v1/integrations/clients/contacts
client.companiesCompanies under /v1/integrations/clients/companies
client.tasksWork / content-planner tasks

client.leads does not wrap lead products or lead-linked task helpers — call those paths with HTTP (see Other in the API Reference) or extend the client.

For the full surface, use the API Reference.