# Campaigns | Signal House API Docs

> Create, update and manage 10DLC campaigns through their lifecycle with the Signal House API.

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

---

## Campaigns

### GET /campaign

Read campaigns using optional query filters.

**The following roles are required to use this endpoint:** `admin`, `developer`, `api`, `billing`, `user`

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | Query Param | Optional | Specific Campaign ID. |
| `brandId` | Query Param | Optional | Filter by Brand ID. |
| `subgroupId` | Query Param | Optional | Filter by Subgroup ID. |
| `groupId` | Query Param | Optional | Filter by Group ID. |
| `status` | Query Param | Optional | Filter by campaign status. |
| `registrationType` | Query Param | Optional | Filter by registration type: TEN\_DLC, TOLL\_FREE, or SHORT\_CODE. Omit to return campaigns of all registration types. |
| `search` | Query Param | Optional | With brandId, subgroupId or groupId: free text finds part of the campaign ID. \`field:\` names campaignId or brandId. Repeat the param to send several values; every value must match. Each value is free text, or \`field:term\` to search one field. Each term is 3 to 100 characters, with at most 5 values; a shorter term returns 400. Works with the scoping filters above. |
| `page` | Query Param | Optional | Page number for pagination. |
| `limit` | Query Param | Optional | Results per page. |

#### About the `carrierSuspensions` field

One entry per carrier suspension of the campaign, newest last. An entry is active while `liftedAt` is `null`. A suspension applies to one carrier only, so the campaign `status` stays `ACTIVE` and the other carriers can still deliver. The array is empty when no carrier has suspended the campaign.

`mnoId` is the TCR carrier network id (the same ids as `mnoIds`) and `mnoName` its name. `source` is `CARRIER` (the carrier suspended the campaign), `UPSTREAM` (the upstream provider suspended it on that carrier) or `BRAND` (the carrier suspended the whole brand; `reason` is the brand rule's explanation). `reason` is the registry's description of the suspension. Subscribe to `CAMPAIGN_SUSPENDED` and `CAMPAIGN_UNSUSPENDED` to be told when an entry opens or is lifted.

#### About the `sentiment` field

Trailing 7-day and 30-day sentiment of inbound replies, refreshed periodically from analytics rather than computed on each request — treat it as a recent summary, not a real-time figure. It appears on every response that returns this record, not only on this one, and is **always present and fully populated** — a record the refresh has never written returns the object with null scores and zeroed counts rather than omitting it, so it can be read without a presence check. `updatedAt` is when the figures last changed; it is `null` until the first refresh writes the record, and it does not advance while the figures stay the same.

`score` is a volume-weighted average from −100 to +100, so a busy campaign always outweighs a quiet one. It is `null` — along with `label` — when nothing was scored in that window, which is **not** the same as a score of `0`: the first means no one replied, the second means replies averaged neutral. `scoredCount` is the denominator behind the three bucket counts. For a live figure over an arbitrary window, use `GET /message/analytics` instead.

#### About the `health` field

Trailing 7-day and 30-day delivery/opt-out health (the 1–10 score), refreshed by the same periodic job as `sentiment` and under the same contract: present on every response that returns this record, **always present and fully populated** (null measured values and zeroed counts until the first refresh writes it), and `updatedAt` is when the figures last changed — `null` until then.

Each window carries `score` (1.0–10.0, the mean of `deliveryScore` and `optOutScore`), the two rates it was scored from, and the volumes behind them — `messagesSent`, `messagesDelivered`, `messagesFailed`, `optOuts` — so a thin window is visibly thin. `score` is `null` when nothing was sent in the window. Messages still awaiting a delivery report count as delivered, and a window with sends but no reports, failures or opt-outs yet scores as healthy rather than dead. A campaign's figure is scored from the campaign's own summed counters, never averaged from its numbers. For a live figure, use `GET /number/health` or `GET /campaign/health`.

#### Example Response 200

Response

```json
[
  {
    "_id": "60f7b2a1c9e77c001a2b3c55",
    "groupId": "G1234567",
    "subgroupId": "S1234567",
    "brandId": "B1234567",
    "campaignId": "C1234567",
    "status": "ACTIVE",
    "usecase": "MARKETING",
    "description": "Weekly promotional discounts and updates to registered retail customers.",
    "messageFlow": "Users opt-in by entering their phone number on our website registration form.",
    "embeddedLink": false,
    "embeddedPhone": false,
    "numberPool": false,
    "ageGated": false,
    "directLending": false,
    "subscriberOptIn": true,
    "subscriberOptOut": true,
    "subscriberHelp": true,
    "sample1": "Hi {name}, this week save 20% on all items! Reply STOP to opt out.",
    "autoRenewal": true,
    "privacyPolicyLink": "https://example.com/privacy",
    "termsAndConditionsLink": "https://example.com/terms",
    "mnoMetadata": [
      {
        "mno": "ATT",
        "mnoSupport": true,
        "qualify": true,
        "tpm": 4500,
        "brandTier": "MID"
      }
    ],
    "statusHistory": [
      {
        "timestamp": "2024-01-15T12:00:00.000Z",
        "status": "PENDING_REVIEW",
        "eventType": "Campaign Submitted",
        "brandId": "BRAND001",
        "brandName": "Acme Corp",
        "cspId": "SK62Q5O",
        "cspName": "Signal House LLC",
        "description": "Campaign submitted for review"
      },
      {
        "timestamp": "2024-01-16T10:00:00.000Z",
        "status": "ACTIVE",
        "eventType": "Campaign Activated",
        "brandId": "BRAND001",
        "brandName": "Acme Corp",
        "cspId": "SK62Q5O",
        "cspName": "Signal House LLC",
        "description": "Campaign activated"
      }
    ],
    "sentiment": {
      "sevenDay": {
        "score": 42,
        "label": "positive",
        "scoredCount": 128,
        "positive": 96,
        "neutral": 20,
        "negative": 12
      },
      "thirtyDay": {
        "score": 18,
        "label": "neutral",
        "scoredCount": 512,
        "positive": 300,
        "neutral": 150,
        "negative": 62
      },
      "updatedAt": "2024-01-16T09:50:00.000Z"
    },
    "health": {
      "sevenDay": {
        "score": 9.5,
        "deliveryRate": 94.2,
        "optOutRate": 1.1,
        "deliveryScore": 10,
        "optOutScore": 9,
        "messagesSent": 1240,
        "messagesDelivered": 1168,
        "messagesFailed": 31,
        "optOuts": 14
      },
      "thirtyDay": {
        "score": 9,
        "deliveryRate": 91.8,
        "optOutRate": 1.6,
        "deliveryScore": 9,
        "optOutScore": 8,
        "messagesSent": 5310,
        "messagesDelivered": 4875,
        "messagesFailed": 210,
        "optOuts": 85
      },
      "updatedAt": "2024-01-16T09:50:00.000Z"
    },
    "carrierSuspensions": [
      {
        "mnoId": "10038",
        "mnoName": "Verizon Wireless",
        "source": "CARRIER",
        "suspensionCategory": "SPAM",
        "reason": "Campaign C1234567 suspended on Verizon Wireless network. Suspension Category: SPAM. Details: High Customer Complaints (16%)",
        "tcrEventType": "MNO_CAMPAIGN_OPERATION_SUSPENDED",
        "suspendedAt": "2026-11-04T15:20:00.000Z",
        "liftedAt": null
      }
    ],
    "createdAt": "2024-01-15T12:00:00.000Z",
    "updatedAt": "2024-01-16T10:00:00.000Z"
  }
]
```

### GET /campaign/health

Return portal-parity campaign health (1–10) aggregated over 7-day and 30-day windows for a campaign. Aggregation matches the portal behavior: only numbers with \`hasData=true\` and \`score!=null\` are included in averages.

**The following roles are required to use this endpoint:** `admin`, `developer`, `api`, `billing`, `user`

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `campaignId` | Query Param | Required | Campaign ID to compute health for. |
| `includeNumbers` | Query Param | Optional | When true, include per-number health entries in \`numbers\`. |

#### Example Response 200

Response

```json
{
  "campaignId": "C1234567",
  "sevenDay": {
    "score": 8.5,
    "deliveryRate": 91.2,
    "optOutRate": 1.1,
    "deliveryScore": 9,
    "optOutScore": 8,
    "hasData": true
  },
  "thirtyDay": {
    "score": 7.5,
    "deliveryRate": 85,
    "optOutRate": 2.2,
    "deliveryScore": 8,
    "optOutScore": 7,
    "hasData": true
  }
}
```

### GET /campaign/throughput-limits

Return the carrier throughput ceilings a campaign is currently sending under: the AT&T per-minute limit (per campaign; SMS in segments, MMS in messages; held 10% under AT&T's published ceiling, stated as marginPercent) and the T-Mobile daily cap (per brand, in segments), each with its current tier and the next rung on the ladder, plus today's T-Mobile usage read from the same per-brand-EIN UTC-day counter the send path increments. Resolved with the exact brand status / brand score rules the send path enforces with, so the figure shown is the figure applied. A null tier or limit means the ladder does not apply (unverified brand, GOVERNMENT entity, PUBLIC\_SAFETY\_RESTRICTED usecase, or a brand that cannot be read); a null nextTier means the top rung, or a LOW\_VOLUME campaign, which is capped by its usecase rather than its brand. usedToday is null when the brand has no EIN or when the ladder does not apply to it (the counter is only ever written for a brand the ladder applies to, and is only read for one). Because the counter is keyed per EIN rather than per brand, usedToday is a shared total whenever another verified brand in the same group carries the same EIN and also has a T-Mobile limit; tmobile.sharedWith names those sibling brands (empty when none) so the figure is never read as this brand's exclusive usage.

**The following roles are required to use this endpoint:** `admin`, `developer`, `api`, `billing`, `user`

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `campaignId` | Query Param | Required | Campaign ID to resolve limits for. |

#### Example Response 200

Response

```json
{
  "campaignId": "C1234567",
  "brandId": "B1234567",
  "usecase": "MIXED",
  "brand": {
    "status": "VETTED_VERIFIED",
    "brandScore": 68,
    "entityType": "PRIVATE_PROFIT"
  },
  "att": {
    "tier": "standardMed",
    "scope": "campaign",
    "unit": "segments per minute",
    "sms": {
      "limit": 2160
    },
    "mms": {
      "limit": 1080
    },
    "marginPercent": 10,
    "nextTier": {
      "tier": "standardHigh",
      "minBrandScore": 75,
      "requiresVettedVerified": false,
      "sms": {
        "limit": 4050
      },
      "mms": {
        "limit": 2160
      }
    }
  },
  "tmobile": {
    "tier": "standardMed",
    "scope": "brand",
    "unit": "segments per day",
    "dailyLimit": 40000,
    "thresholds": [
      75,
      90,
      100
    ],
    "nextTier": {
      "tier": "standardHigh",
      "minBrandScore": 75,
      "requiresVettedVerified": false,
      "dailyLimit": 200000
    },
    "usedToday": {
      "date": "2026-09-10",
      "segments": 12480,
      "resetsAt": "2026-09-11T00:00:00.000Z"
    },
    "sharedWith": []
  }
}
```

### GET /campaign/throughput-usage

Return today's T-Mobile usage against the daily limit for every active campaign in a group that has one, in one call: the same limit and the same per-brand-EIN UTC-day counter as GET /campaign/throughput-limits. Use it to warn when a brand nears its cap; the API also raises TMOBILE\_THROUGHPUT\_75 / 90 / 100 webhook events as a brand crosses each threshold. Campaigns the T-Mobile ladder does not apply to (unverified brand, GOVERNMENT entity, PUBLIC\_SAFETY\_RESTRICTED usecase) are left out. Every campaign of a brand shows the same usage, since the cap is per brand; a LOW\_VOLUME campaign's limit is 2,000 segments whatever the brand's score. The counter resets at UTC midnight (resetsAt). Because the counter is keyed per EIN, usedToday is a shared total whenever another brand returned in this same call carries the same EIN; tmobile.sharedWith names those sibling brands (empty when none).

**The following roles are required to use this endpoint:** `admin`, `developer`, `api`, `billing`, `user`

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `groupId` | Query Param | Required | Group ID to read usage for. |

#### Example Response 200

Response

```json
[
  {
    "campaignId": "C1234567",
    "brandId": "B1234567",
    "brandName": "Acme Dental Group",
    "usecase": "MIXED",
    "tmobile": {
      "tier": "standardMed",
      "dailyLimit": 40000,
      "usedToday": {
        "date": "2026-10-31",
        "segments": 31200,
        "resetsAt": "2026-11-01T00:00:00.000Z"
      },
      "sharedWith": [
        {
          "brandId": "B7654321",
          "brandName": "Acme Dental Group West"
        }
      ]
    }
  }
]
```

### POST /campaign

Create a new 10DLC Campaign and assign numbers to it. Submits for Signal House review. Set useDefaultTemplate to true to auto-fill registration content from your verified brand (portal “Use SH Default Template” parity).

**The following roles are required to use this endpoint:** `admin`, `developer`, `api`, `user`

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `useDefaultTemplate` | Boolean | Optional | When true, auto-generates campaign registration fields from Signal House portal templates using brand info and vertical. 10DLC only — not supported on POST /campaign/toll-free. Default: false. When false or omitted, supply the full registration payload manually. |
| `brandId` | String | Required | The ID of the verified Brand. |
| `usecase` | String | Required | Campaign usecase (e.g., MARKETING, CUSTOMER\_CARE, MIXED). |
| `subUsecases` | Array\[String\] | Optional | Sub-usecases. Each value must be one of the accepted sub-usecase values (see below) — a subset of the usecase enum that excludes SOCIAL, which TCR rejects as a sub-usecase. Required when usecase is LOW\_VOLUME (1-5 items) or MIXED (2-5 items). |
| `description` | String | Required | Detailed description of the campaign (40-4096 chars). Required unless useDefaultTemplate is true (auto-generated from brand info, vertical, and optional landing page). |
| `messageFlow` | String | Required | How users opt-in to the campaign (40-4096 chars). Required unless useDefaultTemplate is true (auto-generated from brand info and use case). |
| `phoneNumbers` | Array\[String\] | Required | Array of unassigned phone numbers to link. Max 49 unless numberPool is true. Max 5000 total. |
| `embeddedLink` | Boolean | Optional | Whether the campaign includes embedded links. Default: true. |
| `embeddedPhone` | Boolean | Optional | Whether the campaign includes embedded phone numbers. Default: false. |
| `embeddedLinkSample` | String | Optional | Sample embedded link URL (max 255 chars). Required when embeddedLink is true. |
| `sampleMediaIds` | Array<String> | Optional | Up to 5 mediaIds from POST /campaign/sample-media: sample MMS media shown to carrier and TCR reviewers. Each file must belong to your group. Attached to the TCR campaign once it is registered. |
| `termsAndConditions` | Boolean | Optional | Whether T&C apply. Default: true. |
| `numberPool` | Boolean | Optional | Whether the campaign uses a number pool. Default: false. |
| `ageGated` | Boolean | Optional | Whether the campaign content is age-gated. Required when useDefaultTemplate is true. Default: false when omitted on full-payload requests. |
| `directLending` | Boolean | Optional | Whether the campaign involves direct lending. Required when useDefaultTemplate is true. Default: false when omitted on full-payload requests. |
| `subscriberOptIn` | Boolean | Optional | Whether subscriber opt-in is enabled. Default: true. |
| `subscriberOptOut` | Boolean | Optional | Whether subscriber opt-out is enabled. Default: true. |
| `subscriberHelp` | Boolean | Optional | Whether subscriber help is enabled. Default: true. |
| `sample1` | String | Optional | Sample message 1 (20-1024 chars). At least one of sample1–sample5 is required when useDefaultTemplate is true. |
| `sample2` | String | Optional | Sample message 2 (20-1024 chars). |
| `sample3` | String | Optional | Sample message 3 (20-1024 chars). |
| `sample4` | String | Optional | Sample message 4 (20-1024 chars). |
| `sample5` | String | Optional | Sample message 5 (20-1024 chars). |
| `helpMessage` | String | Optional | Auto-reply for HELP keyword. Required when subscriberHelp is true (default). |
| `optinKeywords` | String | Optional | Comma separated keywords (default: START,SUBSCRIBE). |
| `optoutKeywords` | String | Optional | Comma separated keywords (default: STOP,UNSUBSCRIBE). |
| `helpKeywords` | String | Optional | Comma separated help keywords (default: HELP). |
| `optinMessage` | String | Optional | Auto-reply for opt-in keyword (20-1024 chars). Required when subscriberOptIn is true (default). |
| `optoutMessage` | String | Optional | Auto-reply for opt-out keyword (20-1024 chars). Required when subscriberOptOut is true (default). |
| `autoRenewal` | Boolean | Optional | Whether the campaign auto-renews. Default: true. |
| `tag` | String | Optional | Tag for the campaign (max 255 chars). |
| `privacyPolicyLink` | String | Required | Link to your public privacy policy (max 2048 chars). Required unless useDefaultTemplate is true (defaults to the brand privacyPolicyLink). |
| `termsAndConditionsLink` | String | Required | Link to your public terms of service (max 2048 chars). Required unless useDefaultTemplate is true (defaults to the brand terms link). |
| `X-SignalHouse-Client` | Header | Optional | Optional. The client sending the request, as <name>/<version> (for example mcp/0.4.0). Stored for registration attribution; a malformed value is ignored. See Registration Attribution. |
| `X-SignalHouse-Guide-Version` | Header | Optional | Optional. The interview guide version that produced the request, as <guide>@<tag> or <channel>.<region>@<tag> (for example 10dlc.us@1.0.0). Stored for registration attribution; a malformed value is ignored. See Registration Attribution. |
| `complianceScanId` | String | Optional | Optional id of a website compliance scan run before submitting (at most 64 characters). Stored for registration attribution and never sent to a registrar or carrier. |

**usecase values:** `2FA`, `ACCOUNT_NOTIFICATION`, `AGENTS_FRANCHISES`, `CARRIER_EXEMPT`, `CHARITY`, `CUSTOMER_CARE`, `DELIVERY_NOTIFICATION`, `EMERGENCY`, `FRAUD_ALERT`, `HIGHER_EDUCATION`, `K12_EDUCATION`, `LOW_VOLUME`, `M2M`, `MARKETING`, `MIXED`, `POLITICAL`, `POLLING_VOTING`, `PROXY`, `PUBLIC_SAFETY_RESTRICTED`, `PUBLIC_SERVICE_ANNOUNCEMENT`, `SECURITY_ALERT`, `SOCIAL`, `SOLE_PROPRIETOR`, `SWEEPSTAKE`, `TRIAL`, `UCAAS_HIGH`, `UCAAS_LOW`

**subUsecases values (excludes SOCIAL — TCR rejects it as a sub-usecase):** `2FA`, `ACCOUNT_NOTIFICATION`, `AGENTS_FRANCHISES`, `CARRIER_EXEMPT`, `CHARITY`, `CUSTOMER_CARE`, `DELIVERY_NOTIFICATION`, `EMERGENCY`, `FRAUD_ALERT`, `HIGHER_EDUCATION`, `K12_EDUCATION`, `LOW_VOLUME`, `M2M`, `MARKETING`, `MIXED`, `POLITICAL`, `POLLING_VOTING`, `PROXY`, `PUBLIC_SAFETY_RESTRICTED`, `PUBLIC_SERVICE_ANNOUNCEMENT`, `SECURITY_ALERT`, `SOLE_PROPRIETOR`, `SWEEPSTAKE`, `TRIAL`, `UCAAS_HIGH`, `UCAAS_LOW`

#### Campaign registration autofill (useDefaultTemplate)

When `useDefaultTemplate` is `true`, Signal House generates the same registration copy the portal uses for **Use SH Default Template**, derived from your verified brand, vertical, use case(s), and landing page (when present). You may still override any auto-generated field by including it in the request body.

**Caller-required when autofill is on:** `useDefaultTemplate`, `brandId`, `usecase`, `subUsecases` (when usecase is LOW\_VOLUME or MIXED), `directLending`, `ageGated`, `phoneNumbers`, and at least one of `sample1`–`sample5`.

**Auto-generated when omitted:** `description`, `messageFlow`, `privacyPolicyLink`, `termsAndConditionsLink`, `optinMessage`, `optoutMessage`, `helpMessage`, keyword defaults, subscriber flags, embedded-link defaults, and STOP suffixes on sample messages (except 2FA/M2M).

#### Example Request (autofill)

Request

```json
{
  "useDefaultTemplate": true,
  "brandId": "B1234567",
  "usecase": "MARKETING",
  "directLending": false,
  "ageGated": false,
  "phoneNumbers": ["14175551234"],
  "sample1": "We think you will love our new release today"
}
```

#### Example Response (validation error)400

Response

```json
{
  "success": false,
  "error": "At least one sample message (sample1–sample5) is required when useDefaultTemplate is true",
  "status": 400
}
```

#### Example Request (autofill disabled)

Request

```json
{
  "brandId": "B1234567",
  "usecase": "MARKETING",
  "description": "This campaign is used to send weekly promotional discounts and updates to our registered retail customers.",
  "messageFlow": "Users opt-in by entering their phone number on our website registration form located at https://example.com/signup.",
  "sample1": "Acme Deals: 20% off this week only! Reply STOP to opt out, HELP for help. Msg&data rates may apply.",
  "sample2": "Acme Deals: Flash sale ends tonight at midnight. Reply STOP to opt out, HELP for help.",
  "optinMessage": "Acme Deals: You are now subscribed to weekly promotions. Reply STOP to opt out, HELP for help.",
  "optoutMessage": "Acme Deals: You have been unsubscribed and will no longer receive messages. Reply START to resubscribe.",
  "helpMessage": "Acme Deals: For support call 1-800-555-0100 or email help@example.com. Reply STOP to opt out.",
  "embeddedLinkSample": "https://example.com/deals/weekly",
  "phoneNumbers": [
    "14175551234"
  ],
  "privacyPolicyLink": "https://example.com/privacy",
  "termsAndConditionsLink": "https://example.com/terms"
}
```

#### Example Response (autofill disabled) 201

Response

```json
{
  "_id": "60f7b2a1c9e77c001a2b3c55",
  "groupId": "G1234567",
  "subgroupId": "S1234567",
  "brandId": "B1234567",
  "campaignId": "C1234567",
  "status": "PENDING_REVIEW",
  "usecase": "MARKETING",
  "description": "This campaign is used to send weekly promotional discounts and updates to our registered retail customers.",
  "messageFlow": "Users opt-in by entering their phone number on our website registration form located at https://example.com/signup.",
  "phoneNumbers": [
    "14175551234"
  ],
  "createdAt": "2024-01-15T12:00:00.000Z",
  "updatedAt": "2024-01-15T12:00:00.000Z"
}
```

### POST /campaign/toll-free

Create a new Toll-Free (TFN) campaign and submit it for Signal House review. The brand referenced by brandId must already be a registered Toll-Free brand. Toll-Free registration is free and does not use TCR — there are no STOP/HELP keyword or sample-message fields; the exampleMessage is stored verbatim. Requires the tollFreeEnabled feature flag on the group. Some toll-free carriers take exactly one opt-in method (verbal, web or keyword; the brand's \`tollFree.maxOptInMethods\` is 1) and need specific use cases rather than MIXED alone; such campaigns are refused with 400 otherwise.

**The following roles are required to use this endpoint:** `admin`, `developer`, `api`, `user`

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `brandId` | String | Required | The ID of the registered Toll-Free Brand. |
| `tollFree` | Object | Required | Toll-Free registration details (see sub-fields below). |
| `tollFree.useCase` | String | Required | Toll-Free use case, a single value (see values below). |
| `tollFree.messageVolume` | String | Required | Expected monthly message volume tier (see values below). |
| `tollFree.programSummary` | String | Required | Summary of the messaging program (40-500 chars). |
| `tollFree.exampleMessage` | String | Required | Example message sent to subscribers (1-1000 chars). Holds one sample per use case; the carrier caps this field at 1000 characters. When the brand's tollFree.labelsSamples is true, start each sample with its use case's name (for example "Notifications: …"); otherwise send them as plain messages. |
| `tollFree.customerCareEmail` | String | Required | Customer care / support email address. |
| `tollFree.optInImageURLs` | Array\[String\] | Required | Opt-in proof image URLs (at least 1; each max 2048 chars). |
| `tollFree.optIns` | Object | Optional | Opt-in methods. Optional sub-objects: verbal { callToAction }, web { callToAction, url }, keyword { callToAction, keywords\[\] }, interactiveVoiceResponse { callToAction }. Each callToAction is 20-1024 characters. |
| `tollFree.multiNumberReason` | String | Optional | Reason for requesting more than one Toll-Free number on the campaign (max 500 chars). Required when more than one number is assigned; stored for internal review only. |
| `tollFree.useCases` | Array<String> | Optional | The sender's real use-case picks. tollFree.useCase above carries the single value the carrier accepts (MIXED when there is more than one); these are what a Signal House landing page renders a consent checkbox per. Carriers that need specific use cases rather than MIXED take them from here when present; other carriers never receive them. |
| `tollFree.channels` | Array<String> | Optional | Channels consent covers: SMS, MMS, VOICE. Never forwarded to the carrier. |
| `tollFree.landingId` | String | Optional | The Signal House landing page whose consent boxes this campaign's opt-in call-to-action describes. Must be an ACTIVE Toll-Free page owned by the same brand and group; the request is rejected otherwise. |
| `phoneNumbers` | Array\[String\] | Required | Toll-Free numbers to assign: 1 up to the brand's tollFree.maxNumbersPerCampaign (at most 5). Must be owned by the subgroup and currently unassigned. The numbers must be on the same toll-free carrier as the brand; a campaign whose numbers and brand are on different carriers is refused. Numbers are locked to the campaign once assigned and cannot be moved or added afterward. |
| `privacyPolicyLink` | String | Optional | Link to your public privacy policy (max 2048 chars). When the brand's tollFree.requiresPrivacyPolicy is true, the request is refused with 400 only if the campaign, the brand and the referenced Toll-Free landing page (tollFree.landingId) all lack this URL. Order of precedence: campaign, brand, landing page. |
| `termsAndConditionsLink` | String | Optional | Link to your public terms of service (max 2048 chars). When the brand's tollFree.requiresTermsAndConditions is true, the request is refused with 400 only if the campaign, the brand and the referenced Toll-Free landing page (tollFree.landingId) all lack this URL. Order of precedence: campaign, brand, landing page. |
| `tag` | String | Optional | Tag for the campaign (max 255 chars). |
| `autoRenewal` | Boolean | Optional | Whether the campaign auto-renews. Default: true. |
| `X-SignalHouse-Client` | Header | Optional | Optional. The client sending the request, as <name>/<version> (for example mcp/0.4.0). Stored for registration attribution; a malformed value is ignored. See Registration Attribution. |
| `X-SignalHouse-Guide-Version` | Header | Optional | Optional. The interview guide version that produced the request, as <guide>@<tag> or <channel>.<region>@<tag> (for example 10dlc.us@1.0.0). Stored for registration attribution; a malformed value is ignored. See Registration Attribution. |
| `complianceScanId` | String | Optional | Optional id of a website compliance scan run before submitting (at most 64 characters). Stored for registration attribution and never sent to a registrar or carrier. |

**tollFree.useCase values:** `TWO_FA`, `APP_NOTIFICATIONS`, `APPOINTMENTS`, `AUCTIONS`, `AUTO_DEALERSHIP_SERVICES`, `BANKING`, `BILLING`, `BOOKING_CONFIRMATIONS`, `BUSINESS_UPDATES`, `COVID_19_ALERTS`, `CAREER_TRAINING`, `CHATBOT`, `CONVERSATIONAL_ALERTS`, `COURIER_SERVICES_DELIVERIES`, `EDUCATIONAL`, `EMERGENCY_ALERTS`, `EMPLOYEE_ALERTS_NOTIFICATIONS`, `EVENTS_PLANNING`, `FINANCIAL_SERVICES`, `FRAUD_ALERTS`, `FUNDRAISING`, `GENERAL_MARKETING`, `HR_STAFFING`, `HEALTHCARE`, `HOUSING_COMMUNITY_UPDATES`, `INSURANCE_SERVICES`, `JOB_ALERTS`, `LEGAL_SERVICES`, `MIXED`, `MOTIVATIONAL_REMINDERS`, `NOTARY_NOTIFICATIONS`, `NOTIFICATIONS`, `ORDER_NOTIFICATIONS`, `POLITICAL`, `PUBLIC_WORKS`, `REAL_ESTATE_SERVICES`, `RECEIPT_NOTIFICATIONS`, `RELIGIOUS_SERVICES`, `REPAIR_DIAGNOSTICS_ALERTS`, `REWARDS_PROGRAM`, `SURVEYS`, `SYSTEM_ALERTS`, `WAITLIST_ALERTS`, `WEBINAR_REMINDERS`, `WORKSHOP_ALERTS`

**tollFree.messageVolume values:** `TEN`, `HUNDRED`, `THOUSAND`, `TEN_THOUSAND`, `HUNDRED_THOUSAND`, `TWO_HUNDRED_FIFTY_THOUSAND`, `FIVE_HUNDRED_THOUSAND`, `SEVEN_HUNDRED_FIFTY_THOUSAND`, `ONE_MILLION`, `FIVE_MILLION`, `TEN_MILLION_PLUS`

#### Example Request

Request

```json
{
  "brandId": "TFNB7K3M9QXR2V",
  "tollFree": {
    "useCase": "GENERAL_MARKETING",
    "messageVolume": "TEN_THOUSAND",
    "programSummary": "Weekly promotional offers and order updates for registered customers.",
    "exampleMessage": "Acme Deals: 20% off this week only! Reply STOP to opt out, HELP for help.",
    "customerCareEmail": "support@example.com",
    "optInImageURLs": [
      "https://example.com/optin-proof.png"
    ],
    "optIns": {
      "web": {
        "callToAction": "Subscribe on our website",
        "url": "https://example.com/signup"
      }
    }
  },
  "phoneNumbers": [
    "18885551234"
  ],
  "privacyPolicyLink": "https://example.com/privacy",
  "termsAndConditionsLink": "https://example.com/terms"
}
```

#### Example Response 201

Response

```json
{
  "_id": "60f7b2a1c9e77c001a2b3c55",
  "registrationType": "TOLL_FREE",
  "groupId": "G1234567",
  "subgroupId": "S1234567",
  "brandId": "TFNB7K3M9QXR2V",
  "campaignId": "TFNC5H2N8PWQ3Z",
  "status": "PENDING_REVIEW",
  "phoneNumbers": [
    "18885551234"
  ],
  "tollFree": {
    "useCase": "GENERAL_MARKETING",
    "messageVolume": "TEN_THOUSAND",
    "programSummary": "Weekly promotional offers and order updates for registered customers.",
    "exampleMessage": "Acme Deals: 20% off this week only! Reply STOP to opt out, HELP for help.",
    "customerCareEmail": "support@example.com",
    "optInImageURLs": [
      "https://example.com/optin-proof.png"
    ]
  },
  "autoRenewal": true,
  "createdAt": "2024-01-15T12:00:00.000Z",
  "updatedAt": "2024-01-15T12:00:00.000Z"
}
```

### POST /campaign/short-code

Create a Short Code campaign for manual Signal House review. Send the complete JSON payload in the campaignData multipart field. Upload the opt-in proof screenshot first through POST /campaign/opt-in-image and pass the returned URL as shortCode.screenshotUrl; it is required and must be a Signal House-hosted opt-in image owned by your group. Request the Short Code separately through POST /number/short-code after creation.

**The following roles are required to use this endpoint:** `admin`, `developer`, `api`, `user`

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `campaignData` | JSON String | Required | The complete JSON campaign payload in a multipart field named campaignData. The nested fields below belong in this JSON value. |
| `campaignData.brandId` | String | Required | Existing eligible Short Code brand ID. |
| `campaignData.privacyPolicyLink, termsAndConditionsLink` | String | Required | Public policy URLs (each at most 2048 characters). |
| `campaignData.optinMessage, optoutMessage, helpMessage` | String | Required | Subscriber keyword responses, each 20-1024 characters. |
| `campaignData.sample1, sample2, sample3` | String | Required | Required example messages, each 20-1024 characters. |
| `campaignData.tag` | String | Optional | Campaign tag (max 255 characters). |
| `campaignData.shortCode.useCases` | Array\[String\] | Required | One or more Short Code use cases. |
| `campaignData.shortCode.optInMethods` | Array\[String\] | Required | One or more opt-in methods; every selected method needs a description. |
| `campaignData.shortCode.optInMethodDescriptions` | Object | Required | Descriptions keyed by opt-in method, such as WEB. Each selected method requires a 20-2048 character description. |
| `campaignData.shortCode.messageFrequency` | String | Required | RECURRING or SINGLE. |
| `campaignData.shortCode.pricingTier` | String | Required | STANDARD or FTEU. |
| `campaignData.shortCode.programSummary` | String | Required | Messaging-program summary (40-2048 characters). |
| `campaignData.shortCode.optInConfirmationMessage` | String | Required | Opt-in confirmation text (20-1024 characters). |
| `campaignData.shortCode.adultContent` | Boolean | Optional | Whether the program has adult content. Default: false. |
| `campaignData.shortCode.doubleOptInMessage` | String | Optional | Required when adultContent is true; 20-1024 characters. |
| `campaignData.shortCode.screenshotUrl` | String | Required | Hosted opt-in proof screenshot URL returned by POST /campaign/opt-in-image. External URLs, images owned by another group, and images already linked to another campaign are rejected. |
| `campaignData.shortCode.optInUrl` | String | Required | Public HTTPS URL of the live opt-in experience, shown to reviewers as a link. Private, local, and credentialed URLs are rejected. |
| `X-SignalHouse-Client` | Header | Optional | Optional. The client sending the request, as <name>/<version> (for example mcp/0.4.0). Stored for registration attribution; a malformed value is ignored. See Registration Attribution. |
| `X-SignalHouse-Guide-Version` | Header | Optional | Optional. The interview guide version that produced the request, as <guide>@<tag> or <channel>.<region>@<tag> (for example 10dlc.us@1.0.0). Stored for registration attribution; a malformed value is ignored. See Registration Attribution. |
| `campaignData.complianceScanId` | String | Optional | Optional id of a website compliance scan run before submitting (at most 64 characters). Stored for registration attribution and never sent to a registrar or carrier. |

#### Example campaignData value

Request

```json
{
  "brandId": "SCB7K3M9QXR2V",
  "privacyPolicyLink": "https://acme.com/privacy",
  "termsAndConditionsLink": "https://acme.com/terms",
  "optinMessage": "Acme Alerts: You are subscribed. Reply STOP to opt out.",
  "optoutMessage": "Acme Alerts: You are unsubscribed. Reply START to rejoin.",
  "helpMessage": "Acme Alerts: Contact support@example.com for help.",
  "sample1": "Acme Alerts: Your order is ready for pickup. Reply STOP to opt out.",
  "sample2": "Acme Alerts: Your delivery is scheduled for tomorrow. Reply STOP to opt out.",
  "sample3": "Acme Alerts: Your account update is complete. Reply STOP to opt out.",
  "shortCode": {
    "useCases": [
      "ALERTS"
    ],
    "optInMethods": [
      "WEB"
    ],
    "optInMethodDescriptions": {
      "WEB": "Customers enter their number and consent to receive Acme Alerts on our secure website."
    },
    "messageFrequency": "RECURRING",
    "pricingTier": "STANDARD",
    "programSummary": "Acme sends account, order, and delivery alerts to customers who opt in on its website.",
    "optInConfirmationMessage": "Acme Alerts: You are subscribed. Reply STOP to opt out.",
    "screenshotUrl": "https://v2.signalhouse.io/campaign/opt-in-image/3f1b9c2e-7a4d-4b21-9c1e-2a6f8d0e5b7a",
    "optInUrl": "https://acme.com/opt-in"
  }
}
```

#### Example Response 201

Response

```json
{
  "campaignId": "SCCM5H2N8PWQ3Z",
  "registrationType": "SHORT_CODE",
  "status": "PENDING_REVIEW",
  "shortCode": {
    "screenshotUrl": "https://v2.signalhouse.io/campaign/opt-in-image/3f1b9c2e-7a4d-4b21-9c1e-2a6f8d0e5b7a",
    "optInUrl": "https://acme.com/opt-in"
  }
}
```

### PUT /campaign/short-code/:id

Update editable fields on a Short Code campaign. Customer updates are allowed only while the campaign is in Signal House Review or Signal House Rejected status. The number source and assigned Short Code cannot be changed. To replace the opt-in proof, upload a new image through POST /campaign/opt-in-image and pass its URL as shortCode.screenshotUrl.

**The following roles are required to use this endpoint:** `admin`, `developer`, `api`, `user`

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | URL Param | Required | Short Code campaign ID to update. |
| `privacyPolicyLink` | String | Optional | Public privacy policy URL (max 2048 characters). |
| `termsAndConditionsLink` | String | Optional | Public terms and conditions URL (max 2048 characters). |
| `optinMessage` | String | Optional | Opt-in confirmation message (20-1024 characters). |
| `optoutMessage` | String | Optional | Opt-out confirmation message (20-1024 characters). |
| `helpMessage` | String | Optional | HELP response message (20-1024 characters). |
| `sample1, sample2, sample3` | String | Optional | Sample messages (each 20-1024 characters). |
| `tag` | String | Optional | Campaign tag (max 255 characters). |
| `shortCode` | Object | Optional | Editable Short Code details: useCases, optInMethods, optInMethodDescriptions, messageFrequency (RECURRING or SINGLE), pricingTier (STANDARD or FTEU), adultContent, doubleOptInMessage, programSummary, optInConfirmationMessage, optInUrl, and screenshotUrl (a hosted opt-in image URL from POST /campaign/opt-in-image; external URLs are rejected). The supplied fields are merged with existing details and must remain a valid Short Code configuration. |

#### Example Request

Request

```json
{
  "shortCode": {
    "programSummary": "Weekly promotional offers and order updates for registered customers.",
    "screenshotUrl": "https://v2.signalhouse.io/campaign/opt-in-image/8c2d1f4a-9b6e-4c33-8a7f-1e5b3d0a2c9f"
  }
}
```

#### Example Response 200

Response

```json
{
  "campaignId": "SCCM5H2N8PWQ3Z",
  "registrationType": "SHORT_CODE",
  "status": "PENDING_REVIEW",
  "shortCode": {
    "optInUrl": "https://acme.com/opt-in",
    "screenshotUrl": "https://v2.signalhouse.io/campaign/opt-in-image/8c2d1f4a-9b6e-4c33-8a7f-1e5b3d0a2c9f"
  }
}
```

### POST /campaign/short-code/:id/cancel

Request or complete cancellation of a Short Code campaign. Customers may request cancellation from any non-terminal state. An issued RANDOM, VANITY, or EXTERNAL\_LEASE code enters PENDING\_DELETE (displayed as Cancellation Pending), disables messaging, and remains assigned while Signal House completes Registry offboarding; persisted cancellation state remains the durable work queue even if Slack is unavailable. Every issued Short Code has a fixed, non-renewable lease end date: when it ends, the campaign becomes EXPIRED and the number is deactivated pending staff Registry offboarding. Unissued RANDOM/VANITY requests and staff-confirmed cancellations transition directly to EXPIRED. Repeated calls are idempotent.

**The following roles are required to use this endpoint:** `admin`, `developer`, `api`, `user`

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | URL Param | Required | Short Code campaign ID to cancel. |

#### Example Response 200

Response

```json
{
  "campaignId": "SCCM5H2N8PWQ3Z",
  "registrationType": "SHORT_CODE",
  "status": "PENDING_DELETE",
  "shortCode": {
    "assignedPhoneNumber": "12345",
    "cancellationRequest": {
      "requestId": "SCCR7K3M9QXR2V",
      "status": "PENDING",
      "requestedAt": "2026-07-27T14:00:00.000Z"
    }
  }
}
```

### GET /campaign/short-code/artifact/:artifactId

Download the private receipt for an externally leased Short Code. The receipt identifier is available at shortCode.numberSource.externalLease.receiptArtifactId on the owning campaign. The route returns raw file bytes with the stored Content-Type and an inline filename; use a binary response type in your HTTP client. Opt-in screenshots are public at shortCode.screenshotUrl and are not downloaded from this endpoint.

**The following roles are required to use this endpoint:** `admin`, `developer`, `api`, `user`

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `artifactId` | URL Param | Required | UUID receipt artifact ID from shortCode.numberSource.externalLease.receiptArtifactId. |

### POST /campaign/opt-in-image

Upload an opt-in proof image to be hosted on-platform. Returns a publicly-fetchable URL suitable for a Toll-Free campaign's tollFree.optInImageURLs or a Short Code campaign's shortCode.screenshotUrl. The image is validated and compressed before storage. Max upload 5MB, one file.

**The following roles are required to use this endpoint:** `admin`, `developer`, `api`, `user`

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `file` | File | Required | The opt-in proof image to host, sent as the multipart form field 'file'. Max 5MB. |

#### Example Response 201

Response

```json
{
  "imageId": "3f1b9c2e-7a4d-4b21-9c1e-2a6f8d0e5b7a",
  "url": "https://v2.signalhouse.io/campaign/opt-in-image/3f1b9c2e-7a4d-4b21-9c1e-2a6f8d0e5b7a"
}
```

### POST /campaign/sample-media

Upload a sample media file for a 10DLC campaign: an example of the MMS content the campaign will send, shown to carrier and TCR reviewers. Reference the returned mediaId in sampleMediaIds on POST /campaign or PUT /campaign/:id. The file type is detected from its bytes. Accepted: JPEG, PNG, GIF, MP4, MP3. Max 5MB, one file. Files are private to your group.

**The following roles are required to use this endpoint:** `admin`, `developer`, `api`, `user`

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `file` | File | Required | The sample media file, sent as the multipart form field 'file'. Max 5MB. |
| `groupId` | String | Optional | The group the file belongs to. Defaults to your active group; if sent, it must be your active group. |

#### Example Response 201

Response

```json
{
  "mediaId": "5d2e8a41-6c3b-4f7e-9a12-0b8c4e6f1a3d",
  "fileName": "spring-sale.png",
  "mimeType": "image/png",
  "size": 248113
}
```

### GET /campaign/sample-media/:mediaId

Download a campaign sample media file your group owns. Responds with the raw file bytes and the stored Content-Type.

**The following roles are required to use this endpoint:** `admin`, `developer`, `api`, `user`

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `mediaId` | String | Required | The mediaId returned by POST /campaign/sample-media (path parameter). |

### POST /campaign/opt-in-image/from-landing

Auto-capture an opt-in proof image from a generated landing page and host it on-platform. The page must be ACTIVE and generated by Signal House. Returns a publicly-fetchable URL suitable for a Toll-Free campaign's tollFree.optInImageURLs. A Toll-Free brand has one page per campaign, so landingId is required for one — the request is refused rather than resolved to an arbitrary page. A 10DLC brand has a single page and may omit it.

**The following roles are required to use this endpoint:** `admin`, `developer`, `api`, `user`

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `brandId` | String | Required | The ID of the brand whose generated landing page should be captured. |
| `landingId` | String | Optional | The specific landing page to capture. Required for a Toll-Free brand; must belong to brandId. Omitted for a 10DLC brand, the brand's single page is used. |

#### Example Request

Request

```json
{
  "brandId": "TFNB7K3M9QXR2V",
  "landingId": "L1234567"
}
```

#### Example Response 201

Response

```json
{
  "imageId": "8c2d1f4a-9b6e-4c33-8a7f-1e5b3d0a2c9f",
  "url": "https://v2.signalhouse.io/campaign/opt-in-image/8c2d1f4a-9b6e-4c33-8a7f-1e5b3d0a2c9f"
}
```

### GET /campaign/opt-in-image/:imageId

Fetch a hosted opt-in proof image's raw bytes. This route is public (no authentication) so carriers and aggregators can fetch the proof by URL. Responds with the raw image bytes and the stored Content-Type.

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `imageId` | String | Required | The hosted image's public identifier (path parameter). |

### PUT /campaign/:id

Update an existing campaign. Returns 202 Accepted. The response body is state-dependent: when the campaign is in a non-steady (mid-pipeline) state, the update is stored and applied later, and the response is { "Message": "Campaign update stored. Changes will be applied once the campaign reaches a stable state." }. When the campaign is in a steady state, the update is applied immediately and the response is the serialized campaign (shown below). On some toll-free carriers a campaign can't be changed while it is being registered, in review or active (400), apart from autoRenewal and tag; change it after a rejection and appeal. On those carriers an update's tollFree replaces the stored one whole, so it must itself have a use case other than MIXED and exactly one opt-in method (verbal, web or keyword); it is refused with 400 otherwise. When the brand's tollFree.requiresPrivacyPolicy is true, an update that empties privacyPolicyLink is refused with 400 unless the brand has a privacyPolicyLink of its own; likewise termsAndConditionsLink when tollFree.requiresTermsAndConditions is true.

**The following roles are required to use this endpoint:** `admin`, `developer`, `api`, `user`

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | URL Param | Required | Campaign ID to update. |
| `usecase` | String | Optional | Campaign usecase. |
| `subUsecases` | Array\[String\] | Optional | Array of sub-usecases. Each value must be one of the accepted sub-usecase values (see below) — a subset of the usecase enum that excludes SOCIAL, which TCR rejects as a sub-usecase. |
| `description` | String | Optional | Update description. |
| `messageFlow` | String | Optional | Update message flow. |
| `embeddedLink` | Boolean | Optional | Whether the campaign includes embedded links. |
| `embeddedPhone` | Boolean | Optional | Whether the campaign includes embedded phone numbers. |
| `termsAndConditions` | Boolean | Optional | Whether terms and conditions apply. |
| `numberPool` | Boolean | Optional | Whether the campaign uses a number pool. |
| `ageGated` | Boolean | Optional | Whether the campaign content is age-gated. |
| `directLending` | Boolean | Optional | Whether the campaign involves direct lending. |
| `subscriberOptIn` | Boolean | Optional | Whether subscriber opt-in is enabled. |
| `subscriberOptOut` | Boolean | Optional | Whether subscriber opt-out is enabled. |
| `subscriberHelp` | Boolean | Optional | Whether subscriber help is enabled. |
| `sample1` | String | Optional | Sample message 1. |
| `sample2` | String | Optional | Sample message 2. |
| `sample3` | String | Optional | Sample message 3. |
| `sample4` | String | Optional | Sample message 4. |
| `sample5` | String | Optional | Sample message 5. |
| `helpMessage` | String | Optional | Auto-reply message for HELP keyword. |
| `optinKeywords` | String | Optional | Comma separated opt-in keywords. |
| `optoutKeywords` | String | Optional | Comma separated opt-out keywords. |
| `helpKeywords` | String | Optional | Comma separated help keywords. |
| `optinMessage` | String | Optional | Auto-reply message for opt-in keyword. |
| `optoutMessage` | String | Optional | Auto-reply message for opt-out keyword. |
| `embeddedLinkSample` | String | Optional | Sample embedded link for the campaign (max 255 chars). |
| `sampleMediaIds` | Array<String> | Optional | 10DLC only. Replaces the campaign's sample media with up to 5 mediaIds from POST /campaign/sample-media. On a campaign already registered with TCR, new files are attached and removed ones are detached; an update that only changes sampleMediaIds sends no other campaign fields to TCR. |
| `autoRenewal` | Boolean | Optional | Whether the campaign auto-renews. |
| `tag` | String | Optional | Tag for the campaign (max 255 chars). |
| `privacyPolicyLink` | String | Optional | Link to your public privacy policy. |
| `termsAndConditionsLink` | String | Optional | Link to your public terms of service. |
| `tollFree` | Object | Optional | Toll-Free editable fields (Toll-Free campaigns only). Optional sub-fields mirror the create body: useCase, messageVolume, programSummary (40-500), exampleMessage (max 1000), customerCareEmail, optInImageURLs, optIns, multiNumberReason (max 500), useCases, channels, landingId. Phone numbers cannot be changed via update — Toll-Free numbers are locked to their campaign. |
| `X-SignalHouse-Client` | Header | Optional | Optional. The client sending the request, as <name>/<version> (for example mcp/0.4.0). Stored for registration attribution; a malformed value is ignored. See Registration Attribution. |
| `X-SignalHouse-Guide-Version` | Header | Optional | Optional. The interview guide version that produced the request, as <guide>@<tag> or <channel>.<region>@<tag> (for example 10dlc.us@1.0.0). Stored for registration attribution; a malformed value is ignored. See Registration Attribution. |

**usecase values:** `2FA`, `ACCOUNT_NOTIFICATION`, `AGENTS_FRANCHISES`, `CARRIER_EXEMPT`, `CHARITY`, `CUSTOMER_CARE`, `DELIVERY_NOTIFICATION`, `EMERGENCY`, `FRAUD_ALERT`, `HIGHER_EDUCATION`, `K12_EDUCATION`, `LOW_VOLUME`, `M2M`, `MARKETING`, `MIXED`, `POLITICAL`, `POLLING_VOTING`, `PROXY`, `PUBLIC_SAFETY_RESTRICTED`, `PUBLIC_SERVICE_ANNOUNCEMENT`, `SECURITY_ALERT`, `SOCIAL`, `SOLE_PROPRIETOR`, `SWEEPSTAKE`, `TRIAL`, `UCAAS_HIGH`, `UCAAS_LOW`

**subUsecases values (excludes SOCIAL — TCR rejects it as a sub-usecase):** `2FA`, `ACCOUNT_NOTIFICATION`, `AGENTS_FRANCHISES`, `CARRIER_EXEMPT`, `CHARITY`, `CUSTOMER_CARE`, `DELIVERY_NOTIFICATION`, `EMERGENCY`, `FRAUD_ALERT`, `HIGHER_EDUCATION`, `K12_EDUCATION`, `LOW_VOLUME`, `M2M`, `MARKETING`, `MIXED`, `POLITICAL`, `POLLING_VOTING`, `PROXY`, `PUBLIC_SAFETY_RESTRICTED`, `PUBLIC_SERVICE_ANNOUNCEMENT`, `SECURITY_ALERT`, `SOLE_PROPRIETOR`, `SWEEPSTAKE`, `TRIAL`, `UCAAS_HIGH`, `UCAAS_LOW`

#### Example Response 202

Response

```json
{
  "_id": "60f7b2a1c9e77c001a2b3c55",
  "campaignId": "C1234567",
  "status": "ACTIVE",
  "usecase": "MARKETING",
  "description": "Updated campaign description for weekly promotional offers.",
  "updatedAt": "2024-01-16T14:00:00.000Z"
}
```

### DELETE /campaign/:id

Delete a 10DLC or Toll-Free campaign. A campaign in PENDING\_REVIEW, REJECTED or TCR\_REGISTER\_FAILED expires immediately and the updated campaign is returned. A campaign in TCR\_UPSTREAM\_FAILED, DCA\_DRAFT\_FAILED, DCA\_REGISTER\_FAILED or DCA\_REJECTED moves to PENDING\_DELETE, and an ACTIVE campaign is deregistered from TCR/DCA; both are queued and return a message. Any creation fees still reserved are released once. Short Code campaigns are cancelled through the Short Code cancellation endpoint instead.

**The following roles are required to use this endpoint:** `admin`, `developer`, `api`, `user`

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | URL Param | Required | Campaign ID to delete. |

#### Errors

| Status | Error | When |
| --- | --- | --- |
| 409 | `CampaignUpdateError` | The campaign changed status while it was being deleted, for example a second delete of the same campaign arrived at the same time. Reload the campaign; the first delete has already taken effect. |
| 400 | `CampaignUpdateError` | The campaign's status cannot be deleted (for example it is already EXPIRED or still being created), or it is a Short Code campaign. |
| 404 | `CampaignNotFoundError` | No campaign has this ID. |
| 403 | `AuthorizationError` | The campaign belongs to a group the caller cannot access. |

#### Example Response 202

Response

```json
{
  "Message": "Campaign deletion has been queued for processing"
}
```

### POST /campaign/appealDcaRejection/:id

Appeal or resubmit a failed campaign. Accepted statuses: REJECTED, TCR\_REGISTER\_FAILED (resets to PENDING\_REVIEW for re-review by Signal House), TCR\_UPSTREAM\_FAILED, DCA\_DRAFT\_FAILED, DCA\_REGISTER\_FAILED, DCA\_DRAFT (resumes the pipeline from the point of failure), and DCA\_REJECTED (submits a formal DCA appeal). Toll-Free campaigns never sync with TCR, so TCR\_REGISTER\_FAILED/TCR\_UPSTREAM\_FAILED cannot occur for them; their DCA\_DRAFT\_FAILED/DCA\_REGISTER\_FAILED/DCA\_DRAFT recovery re-queues the next step directly instead of syncing with TCR first. For Short Code campaigns, REJECTED and DCA\_REJECTED both return synchronously to PENDING\_REVIEW for internal Signal House review; no external carrier appeal is sent. A Toll-Free campaign whose brand's \`tollFree.requiresPrivacyPolicy\` is true is refused with 400 when neither it nor its brand has a privacyPolicyLink, and likewise termsAndConditionsLink when \`tollFree.requiresTermsAndConditions\` is true; add them with an update first.

**The following roles are required to use this endpoint:** `admin`, `developer`, `api`, `user`

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | URL Param | Required | Campaign ID to appeal. |
| `reason` | Body | Required | Reason for the appeal. Max 2048 characters; for a Toll-Free campaign, at most its brand's tollFree.maxAppealReasonLength (refused with 400 otherwise). |
| `X-SignalHouse-Client` | Header | Optional | Optional. The client sending the request, as <name>/<version> (for example mcp/0.4.0). Stored for registration attribution; a malformed value is ignored. See Registration Attribution. |
| `X-SignalHouse-Guide-Version` | Header | Optional | Optional. The interview guide version that produced the request, as <guide>@<tag> or <channel>.<region>@<tag> (for example 10dlc.us@1.0.0). Stored for registration attribution; a malformed value is ignored. See Registration Attribution. |

#### Example Request

Request

```json
{
  "reason": "The campaign was rejected in error. The message content complies with all carrier guidelines."
}
```

#### Example Response 202

Response

```json
{
  "Message": "Campaign DCA appeal has been queued for processing"
}
```

### POST /campaign/nudge/:campaignId

Nudge a connectivity partner (CNP) to prioritize review of a campaign. The campaign must be in PENDING\_DCA\_APPROVAL status. Useful when a campaign has been sitting idle in review for an extended period.

**The following roles are required to use this endpoint:** `admin`, `developer`, `api`, `user`

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `campaignId` | URL Param | Required | Campaign ID to nudge. |

#### Example Response 200

Response

```json
{
  "message": "Nudge successful"
}
```
