SignalHouse Python SDK
Python SDK for the SignalHouse API. Manage SMS/MMS messaging, phone numbers, 10DLC brands & campaigns, billing, and more.
Full API reference and guides: https://app2.signalhouse.io/docs
Installation
pip install signalhouse-sms
Agent skills
The package bundles the Signal House agent skills, which teach a coding agent the order the platform enforces, what carriers require, and what a send cannot do before a campaign is approved.
A Python wheel cannot run anything at install time, so place them with one command:
signalhouse-skills # install into this project
signalhouse-skills --list # show what is bundled and which release it came from
signalhouse-skills --force # create the agent directory if the project has none yet
It only ever writes inside the project, never your home directory, and never overwrites a skill you have edited.
Or install from source:
pip install -e .
Quick Start
from signalhouse_sms import SignalHouseSDK
# Initialize the SDK
sdk = SignalHouseSDK(
api_key="your-api-key",
base_url="https://v2.signalhouse.io",
)
# Send an SMS
response = sdk.messages.send_sms(
sender_phone_number="15551234567",
recipient_phone_numbers="15559876543",
message_body="Hello from SignalHouse!",
)
if response["success"]:
print("Message sent!", response["data"])
else:
print("Error:", response["error"])
Authentication
All methods accept an optional token parameter to override the default API key per-request:
response = sdk.billing.get_wallet("G12345678", token="user-jwt-token")
Pass idempotency_key to make a create, update or delete safe to retry: the SDK sends it as the Idempotency-Key header, and a retry with the same key and request replays the first response instead of running it again. Keys are scoped to the authenticated user and kept for 24 hours.
import uuid
response = sdk.subgroups.create_subgroup({"groupId": "G0000001", "subgroupName": "Support"}, idempotency_key=str(uuid.uuid4()))
Domains
The SDK is organized into domain modules matching the SignalHouse API:
| Domain | Description |
|---|---|
sdk.auth |
Login, password reset, auth history |
sdk.billing |
Wallets, payment methods, funds, invoices, fees |
sdk.brands |
10DLC and toll-free brand registration and management |
sdk.campaigns |
10DLC campaign management |
sdk.compliance |
Compliance cases Signal House opens on your objects: read cases, answer their requirements, upload and download files |
sdk.groups |
Group management |
sdk.landings |
Landing page management (with file uploads) |
sdk.templates |
Versioned message templates: drafts, publish, archive, validate, capabilities, media upload |
sdk.rcs.agents |
RCS agents linked to a brand and campaign: drafts, validate, submit, archive, logo/hero upload |
sdk.rcs.messages |
RCS messages: send, validate, estimate, capability check, read |
sdk.messages |
Send SMS/MMS/Group MMS, message logs, analytics |
sdk.notifications |
Notification management |
sdk.numbers |
Phone number purchase, assignment, transfer, lookup |
sdk.shortlinks |
URL shortlink operations |
sdk.subgroups |
Subgroup management |
sdk.subscriptions |
Subscription management |
sdk.users |
User and service user management |
sdk.verify |
Carrier phone-number checks: SIM Swap and Number Verify (phone on mobile data; each answered check is billed) |
sdk.webhooks |
Webhook management |
Admin Methods
Some domains have admin-only methods accessible via the .admin sub-object. Enable them by passing enable_admin=True:
sdk = SignalHouseSDK(
api_key="your-api-key",
base_url="https://v2.signalhouse.io",
enable_admin=True,
)
# Admin-only: approve a campaign
response = sdk.campaigns.admin.approve_campaign("campaign-id", token="admin-token")
# Admin-only: list all groups
response = sdk.groups.admin.get_groups(page=1, limit=20, token="admin-token")
Domains with admin sub-objects: campaigns, groups, subscriptions, users.
Response Format
All methods return a standardized dictionary:
Success:
{"success": True, "data": {...}, "status": 200}
Error:
{"success": False, "error": "Error message", "status": 400}
File Uploads
The landings and messages domains support multipart file uploads:
# Create a landing page with a logo
with open("logo.png", "rb") as f:
response = sdk.landings.create_landing(
landing_data={
"brandId": "brand-id",
"description": "My landing page",
"primaryBackgroundColor": "#FFFFFF",
"secondaryBackgroundColor": "#F0F0F0",
"primaryTextColor": "#000000",
"secondaryTextColor": "#333333",
},
file=("logo.png", f, "image/png"),
)
# Send an MMS with images
with open("photo.jpg", "rb") as img:
response = sdk.messages.send_mms(
sender_phone_number="15551234567",
recipient_phone_numbers=["15559876543"],
message_body="Check this out!",
images=[("photo.jpg", img, "image/jpeg")],
)
Error Handling
from signalhouse_sms import SignalHouseSDK, SignalHouseValidationError
sdk = SignalHouseSDK(api_key="your-key", base_url="https://v2.signalhouse.io")
try:
# This will raise SignalHouseValidationError because group_id is required
sdk.billing.get_wallet("")
except SignalHouseValidationError as e:
print(f"Validation error: {e.message}") # "Missing required parameter: groupId"
Requirements
- Python 3.10+
requests>= 2.28.0
Metadata
Release files for signalhouse-sms 1.15.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| signalhouse_sms-1.15.0.tar.gz | 118.9 kB | With provenance | Details for signalhouse_sms-1.15.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| signalhouse_sms-1.15.0-py3-none-any.whl | Python 3 | none | any | Details for signalhouse_sms-1.15.0-py3-none-any.whl |
Total release size: 266.9 kB
Release files / signalhouse_sms-1.15.0.tar.gz
| Download URL | signalhouse_sms-1.15.0.tar.gz |
|---|---|
| Size | 118.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f46cf52b6cd5268a7d0751d34a8ed94493ef3eeb9582c0b5ce89b5574466524e
|
|
BLAKE2b-256 checksum How to use checksums |
7fdaf1f78c9afded5444653b6eba0bdacd71f835c217b986f559adf957032fa1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Transparency logRelease files / signalhouse_sms-1.15.0-py3-none-any.whl
| Download URL | signalhouse_sms-1.15.0-py3-none-any.whl |
|---|---|
| Size | 148.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fffef4da71ba33d8dcd47448fb2f663140167017ba68031a1b7aa40659233542
|
|
BLAKE2b-256 checksum How to use checksums |
2b1d86f0976f55dfb358c0eeb71f02dcfabbdf7efae95e0bd5eccd6f1a1a5bc6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Transparency logSecurity for signalhouse-sms 1.15.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for signalhouse_sms-1.15.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.