# Signal House API Documentation

> Signal House API reference and guides: send SMS and MMS, buy phone numbers, register 10DLC brands and campaigns, place voice calls, and receive webhooks.

Source: https://docs.signalhouse.io/

---

# Signal House API Developer Guides

Signal House is an SMS, MMS and group messaging aggregator for businesses wanting to send text messages to their customers/prospects. These docs cover implementation of this functionality, including phone number purchase and provisioning, channel registration, and data analysis.

## Base URLs

| Environment | URL |
| --- | --- |
| Production | `https://v2.signalhouse.io` |

The OpenAPI 3.1 spec for every endpoint in these docs is at [https://docs.signalhouse.io/openapi.json](https://docs.signalhouse.io/openapi.json).

## SDK Installation

## AI One-Shot Integration Prompts

Select an SDK above to view AI integration prompts.

## Resource Hierarchy

Resources in Signal House follow a strict parent-child hierarchy:

Resource Hierarchy

```
Group
  └── Subgroup
        └── Brand
              └── Campaign
                    └── Phone Number
                          └── Message
```

- Group — Top-level organizational unit (your account).
- Subgroup — A logical partition within a group for separating traffic and billing.
- Brand — A 10DLC brand registration representing your business identity.
- Campaign — A 10DLC campaign tied to a brand, defining your messaging use case.
- Phone Number — A purchased phone number assigned to a campaign for sending/receiving messages.
- Message — An SMS or MMS sent or received through a phone number.

## Response Format

The shape you receive depends on whether you call the API through an SDK or directly over HTTP.

**Raw HTTP (curl / direct requests):** the API returns the resource JSON directly. Read endpoints return the entity (or an array). Creates that are processed asynchronously vary by endpoint: brand creation returns `202` with the brand entity (`brandId` is `null` until TCR assigns a carrier Brand ID, plus `_id` for polling and status `PENDING_CREATION`); campaign creation returns `201` with the campaign entity (a `campaignId` and status `PENDING_REVIEW`); number purchase returns `202` with `{ message: "Number purchase request has been queued successfully" }`.

Raw success

```json
{
  "subgroupId": "S1234567",
  "subgroupName": "My First Subgroup",
  "status": "active"
}
```

**Raw errors (4xx/5xx):**

Raw failure

```json
{
  "error": "Validation failed",
  "details": [
    { "parameter": "email", "issue": "Required" }
  ]
}
```

**SDK responses:** every SDK wraps the call in a standardized envelope. The raw body above is available on `data`.

SDK success

```
{
  "success": true,
  "data": { ... },
  "status": 200
}
```

SDK failure

```json
{
  "success": false,
  "error": "Human-readable error message",
  "status": 400
}
```

## Idempotent Requests

Send an `Idempotency-Key` header on a `POST`, `PUT` or `DELETE` to make it safe to retry. If a request times out or the connection drops, retry it with the same key: when the first attempt already ran, you get its response back instead of a second message, number purchase or registration.

- Use a new key for each new operation (a UUID is recommended; 1–255 printable ASCII characters), and reuse it only to retry that exact request.
- Keys are scoped to the authenticated user and kept for **24 hours**. A retry after that runs as a new request.
- Every authenticated endpoint supports it, including file uploads, where the comparison covers the form fields and each file's contents. `GET` requests and unauthenticated endpoints ignore the header, and the Voice service does not support it.
- Successes and client errors are replayed, except `401`, `403`, `408` and `429`. A `5xx` is not stored, so a retry runs again. A response over 1 MB is not replayed in full: the retry gets the original status and a `message` saying the request already completed, and it does not run again.

| Response | Meaning |
| --- | --- |
| Header `Idempotent-Replayed: true` | The first response, replayed. The request did not run again. |
| `409` with `Retry-After` | The first request with this key is still running. Retry after the delay. |
| `422` | The key was already used for a different request: another method, URL, body, active group, or a change to your role or group access. |
| `400` | The key is not 1–255 printable ASCII characters. |
| `503` with `Retry-After` | Idempotency is briefly unavailable and the request did not run. Retry with the same key. |

curl

```
curl -X POST https://v2.signalhouse.io/subgroup \
  -H "Authorization: Bearer your-api-token" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: 6f1c2a4e-8b3d-4c5e-9f70-1a2b3c4d5e6f" \
  -d '{ "groupId": "G0000001", "subgroupName": "Support" }'
```

Every SDK takes the key as a per-request option and sends the header for you, for example `options: { idempotencyKey }` in JavaScript or `idempotency_key=` in Python. The SDK reference shows each language.

## Registration Attribution

A tool that guides customers through registration can say which client and which version of its interview guide produced a brand, campaign or registration. Send these optional headers on the registration writes: brand, campaign and registration create, update and resubmit, including the Toll-Free, Short Code and RCS agent routes.

| Header | Format | Example |
| --- | --- | --- |
| `X-SignalHouse-Client` | `<name>/<version>`: a lowercase name and a version, at most 65 characters | `mcp/0.4.0` |
| `X-SignalHouse-Guide-Version` | `<guide>@<tag>`, optionally `<channel>.<region>@<tag>`, at most 128 characters | `10dlc.us@1.0.0` |

Signal House stores both values with the record to measure how often registrations pass review the first time. They never change how a request is handled: a malformed value is ignored, never refused, and other endpoints ignore both headers. Neither value appears in any response.

Brand, campaign and registration creates also take an optional `complianceScanId` body field: the id of a website compliance scan you ran before submitting (at most 64 characters). It is stored with the same attribution and is never sent to a registrar or carrier.

curl

```
curl -X POST https://v2.signalhouse.io/campaign \
  -H "Authorization: Bearer your-api-token" \
  -H "Content-Type: application/json" \
  -H "X-SignalHouse-Client: mcp/0.4.0" \
  -H "X-SignalHouse-Guide-Version: 10dlc.us@1.0.0" \
  -d '{ "brandId": "BXXXXXX", "useDefaultTemplate": true, ... }'
```

## Phone Number Format

**All phone numbers must be provided as digits only, without the `+` prefix.** Use 11-digit E.164 format for US numbers (country code + 10-digit number).

Example: `12025551234` (not `+12025551234` or `2025551234`)

The API will automatically strip any `+` prefix if included, but we recommend omitting it. Phone numbers must be a minimum of 10 digits and contain only numeric characters -- no spaces, dashes, or parentheses.

## API Domains

| Domain | Base Endpoint | Description |
| --- | --- | --- |
| [**AI Agents**](https://docs.signalhouse.io/agents) | `/agent` | Create and manage AI agents — profiles, prompts, voice, and model settings. |
| [**Auth**](https://docs.signalhouse.io/authentication) | `/auth` | Login, provider sign-in (Google, Microsoft, Apple), logout, token refresh, password reset. |
| [**Billing**](https://docs.signalhouse.io/billing) | `/billing` | Wallet balance, transactions, payment methods. |
| [**Brands**](https://docs.signalhouse.io/brands) | `/brand` | 10DLC brand registration and status tracking. |
| [**Campaigns**](https://docs.signalhouse.io/campaigns) | `/campaign` | 10DLC campaign creation, updates, and lifecycle. |
| [**Groups**](https://docs.signalhouse.io/groups) | `/group` | Top-level account and group management. |
| [**Landings**](https://docs.signalhouse.io/landing) | `/landing` | Landing page creation and management. |
| [**Messages**](https://docs.signalhouse.io/messages) | `/message` | Send SMS/MMS/Group MMS/P2P and query message logs. |
| [**Notifications**](https://docs.signalhouse.io/notifications) | `/notification` | In-app notification preferences and history. |
| [**Numbers**](https://docs.signalhouse.io/numbers) | `/number` | Search, purchase, configure, port, and release numbers. |
| [**OAuth**](https://docs.signalhouse.io/oauth) | `/oauth` | Connect a third-party application to a user account without handling their password or API key. |
| [**Registrations**](https://docs.signalhouse.io/registrations) | `/registration` | Discover what a country requires before a sender may message, quote it, and file the registration. |
| [**Shortlinks**](https://docs.signalhouse.io/shortlinks) | `/shortlink` | URL shortening for use in messages. |
| [**Subgroups**](https://docs.signalhouse.io/subgroups) | `/subgroup` | Subgroup creation and management within a group. |
| [**Subscriptions**](https://docs.signalhouse.io/subscriptions) | `/subscription` | Plan and subscription management. |
| [**Users**](https://docs.signalhouse.io/users) | `/user` | User CRUD, roles, and profile management. |
| [**Verify**](https://docs.signalhouse.io/verify) | `/verify` | Check a phone number with its mobile network: SIM Swap and Number Verify. |
| [**Voice**](https://docs.signalhouse.io/voice) | `/voice` | Programmable calling, WebRTC softphones, SIP trunks, and call analytics. Served by the dedicated Voice service. |
| [**Webhooks**](https://docs.signalhouse.io/webhooks) | `/webhook` | Webhook endpoint registration and event configuration. |

[Get Started](https://docs.signalhouse.io/getting-started)
