# Webhooks | Signal House API Docs

> Register webhook endpoints and choose the Signal House events they receive.

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

---

## Webhooks

**Every delivery is signed with HMAC-SHA256.** Each webhook endpoint gets a signing secret, and deliveries carry `X-SignalHouse-Timestamp`, `X-SignalHouse-Signature` and `X-SignalHouse-Signature-V1` so your server can verify them, whatever `authType` is set to. See [Webhook Signing](https://docs.signalhouse.io/webhook-signing) for the headers, SDK and manual verification, rotation, and adding a secret to older webhooks.

### GET /webhook

Retrieve configured webhook endpoints. Customer roles must pass at least one filter (id or groupId) — an unfiltered read-all is restricted to internal use.

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

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | Query Param | Optional | Specific Webhook ObjectId. |
| `groupId` | Query Param | Optional | Filter by Group ID. |
| `endpointType` | Query Param | Optional | 'Global', 'Number' or 'Agent'. |
| `phoneNumber` | Query Param | Optional | Filter by phone number (for Number type). |
| `agentId` | Query Param | Optional | Filter by RCS agent (for Agent type). |
| `page` | Query Param | Optional | Page number for pagination. |
| `limit` | Query Param | Optional | Results per page. |

#### Example Response 200

Response

```json
[
  {
    "_id": "60f7b2a1c9e77c001a2b3c63",
    "groupId": "G1234567",
    "name": "Inbound Message Listener",
    "endpointType": "Global",
    "subscribedEvents": [
      "MESSAGE_RECEIVED",
      "MESSAGE_DELIVERED",
      "NUMBER_HEALTH_BELOW_THRESHOLD"
    ],
    "eventSettings": {
      "NUMBER_HEALTH_BELOW_THRESHOLD": {
        "threshold": 6
      }
    },
    "url": "https://your-server.com/api/webhooks/signalhouse",
    "authType": "NONE",
    "hasSigningSecret": true,
    "hasCredentials": false,
    "previousSecretExpiresAt": null,
    "createdAt": "2024-01-15T12:00:00.000Z",
    "updatedAt": "2024-01-15T12:00:00.000Z"
  }
]
```

### POST /webhook

Register a new webhook endpoint to receive real-time system events. A signing secret is generated automatically and returned once, in this response, as signingSecret. Every delivery is signed with it (HMAC-SHA256); see the Webhook Signing guide. An OAuth connector token granted specific scopes also needs the messaging scope to subscribe to message events (SMS\_\*, MMS\_\*, MESSAGE\_\*, SUGGESTION\_RESPONSE, P2P\_INBOUND, USER\_SUBSCRIBED or USER\_UNSUBSCRIBED), and gets a 403 without it.

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

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `groupId` | String | Required | The Group ID. |
| `name` | String | Required | A friendly name for this webhook. |
| `endpointType` | String | Required | Must be 'Global', 'Number' or 'Agent'. An Agent endpoint receives the RCS events of one agent only, and needs RCS on the group. |
| `phoneNumber` | String | Optional | Required if endpointType is 'Number'. |
| `agentId` | String | Optional | Required if endpointType is 'Agent', and only allowed then. The agent must belong to groupId. |
| `url` | String | Required | The destination URL to send the webhook payload to. |
| `secondaryUrl` | String | Optional | Agent endpoints only. Tried once, with the same X-SignalHouse-Delivery-Id, when delivery to url fails. It gets the same signature and credentials as url. |
| `subscribedEvents` | Array\[String\] | Optional | Specific events to listen for (e.g. \['MESSAGE\_DELIVERED'\]). |
| `eventSettings` | Object | Optional | Per-event options, keyed by event name. NUMBER\_HEALTH\_BELOW\_THRESHOLD and CAMPAIGN\_HEALTH\_BELOW\_THRESHOLD each take { threshold }: the 7-day health score (1.5–10, in 0.5 steps) below which the event fires. When a health event is subscribed without a threshold, 6 is stored. Only Global endpoints receive these events. |
| `authType` | String | Optional | NONE, BASIC, API\_KEY, OAUTH2, or HMAC. How Signal House authenticates to your endpoint. HMAC sends no credentials: your endpoint verifies the X-SignalHouse-Signature headers instead (credentials and apiHeaderPrefix must be omitted). Every delivery is signed whatever authType is chosen. |
| `apiHeaderPrefix` | String | Optional | Custom header prefix for API\_KEY auth type. |
| `credentials` | Object | Optional | Auth credentials object (key/secret depending on authType). |

**endpointType values:** `Global`, `Number`, `Agent`

**authType values:** `NONE`, `BASIC`, `API_KEY`, `OAUTH2`, `HMAC`

#### Example Request

Request

```json
{
  "groupId": "G1234567",
  "name": "Inbound Message Listener",
  "endpointType": "Global",
  "url": "https://your-server.com/api/webhooks/signalhouse",
  "subscribedEvents": [
    "MESSAGE_RECEIVED",
    "MESSAGE_DELIVERED",
    "NUMBER_HEALTH_BELOW_THRESHOLD"
  ],
  "eventSettings": {
    "NUMBER_HEALTH_BELOW_THRESHOLD": {
      "threshold": 6
    }
  },
  "authType": "NONE"
}
```

#### Example Response 201

Response

```json
{
  "_id": "60f7b2a1c9e77c001a2b3c63",
  "groupId": "G1234567",
  "name": "Inbound Message Listener",
  "endpointType": "Global",
  "subscribedEvents": [
    "MESSAGE_RECEIVED",
    "MESSAGE_DELIVERED",
    "NUMBER_HEALTH_BELOW_THRESHOLD"
  ],
  "eventSettings": {
    "NUMBER_HEALTH_BELOW_THRESHOLD": {
      "threshold": 6
    }
  },
  "url": "https://your-server.com/api/webhooks/signalhouse",
  "authType": "NONE",
  "hasSigningSecret": true,
  "hasCredentials": false,
  "previousSecretExpiresAt": null,
  "signingSecret": "a1b2c3d4e5f6...  (64 hex chars — plaintext, shown only this once)",
  "createdAt": "2024-01-15T12:00:00.000Z",
  "updatedAt": "2024-01-15T12:00:00.000Z"
}
```

### PUT /webhook/:id

Update an existing webhook endpoint. An OAuth connector token granted specific scopes also needs the messaging scope to change subscribedEvents, url or secondaryUrl on an endpoint that ends up subscribed to message events, and gets a 403 without it.

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

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | URL Param | Required | Webhook endpoint ObjectId. |
| `name` | String | Optional | Updated friendly name. |
| `url` | String | Optional | Updated destination URL. |
| `secondaryUrl` | String | Optional | Agent endpoints only. Updated secondary URL; null clears it. An endpoint's agentId cannot change. |
| `subscribedEvents` | Array\[String\] | Optional | Updated list of events to listen for. |
| `eventSettings` | Object | Optional | Per-event options to change, keyed by event name; events you omit keep their stored settings. NUMBER\_HEALTH\_BELOW\_THRESHOLD and CAMPAIGN\_HEALTH\_BELOW\_THRESHOLD each take { threshold } (1.5–10, in 0.5 steps). Subscribing a health event without a threshold stores 6. |
| `authType` | String | Optional | Change how Signal House authenticates to your endpoint: NONE, BASIC, API\_KEY, OAUTH2, or HMAC. Switching to NONE or HMAC clears the stored credentials. HMAC is rejected for an endpoint with no signing secret (hasSigningSecret: false); call POST /webhook/:id/rotate-secret first. |
| `apiHeaderPrefix` | String | Optional | Authorization header prefix for API\_KEY (e.g. Bearer). |
| `credentials` | Object | Optional | { key, secret? } replacing the stored credentials. Required when switching to an auth type that needs them (BASIC/OAUTH2: key and secret; API\_KEY: key); omit to keep the current ones. Stored encrypted and never returned: responses carry hasCredentials instead. |

#### Example Response 200

Response

```json
{
  "_id": "60f7b2a1c9e77c001a2b3c63",
  "groupId": "G1234567",
  "name": "Updated Webhook Listener",
  "endpointType": "Global",
  "subscribedEvents": [
    "MESSAGE_RECEIVED",
    "MESSAGE_DELIVERED",
    "MESSAGE_FAILED",
    "CAMPAIGN_HEALTH_BELOW_THRESHOLD"
  ],
  "eventSettings": {
    "CAMPAIGN_HEALTH_BELOW_THRESHOLD": {
      "threshold": 5
    }
  },
  "url": "https://your-server.com/api/webhooks/signalhouse",
  "authType": "NONE",
  "hasSigningSecret": true,
  "hasCredentials": false,
  "previousSecretExpiresAt": null,
  "createdAt": "2024-01-15T12:00:00.000Z",
  "updatedAt": "2024-01-16T14:00:00.000Z"
}
```

### POST /webhook/:id/rotate-secret

Rotate the endpoint's signing secret, or give an endpoint created before signing existed its first one. The new secret is returned in plaintext exactly once, in this response. The replaced secret keeps working until previousSecretExpiresAt: during that window X-SignalHouse-Signature stays on the previous secret (it switches when the window ends) and X-SignalHouse-Signature-V1 carries a signature for both, so you can switch your server over without dropping deliveries. Only one previous secret is kept: rotating again during a grace window retires the older one immediately. Not available to OAuth connector tokens.

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

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | URL Param | Required | Webhook endpoint ObjectId. |
| `graceSeconds` | Number | Optional | How long the replaced secret stays valid. Default 86400 (24h), max 604800 (7 days), 0 to stop it immediately. Ignored when the endpoint had no secret. |

#### Example Request

Request

```json
{
  "graceSeconds": 86400
}
```

#### Example Response 200

Response

```json
{
  "_id": "60f7b2a1c9e77c001a2b3c63",
  "groupId": "G1234567",
  "name": "Webhook Listener",
  "endpointType": "Global",
  "url": "https://your-server.com/api/webhooks/signalhouse",
  "authType": "NONE",
  "hasSigningSecret": true,
  "hasCredentials": false,
  "previousSecretExpiresAt": "2024-01-17T14:00:00.000Z",
  "signingSecret": "f6e5d4c3b2a1...  (64 hex chars — plaintext, shown only this once)"
}
```

### DELETE /webhook/:id

Delete a configured webhook endpoint.

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

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | URL Param | Required | Webhook endpoint ObjectId. |

#### Example Response 200

Response

```json
{
  "_id": "60f7b2a1c9e77c001a2b3c63",
  "groupId": "G1234567",
  "name": "Webhook Listener",
  "endpointType": "Global",
  "subscribedEvents": [
    "MESSAGE_RECEIVED",
    "MESSAGE_DELIVERED"
  ],
  "url": "https://your-server.com/api/webhooks/signalhouse",
  "authType": "NONE",
  "hasSigningSecret": true,
  "hasCredentials": false,
  "previousSecretExpiresAt": null,
  "createdAt": "2024-01-15T12:00:00.000Z",
  "updatedAt": "2024-01-15T12:00:00.000Z"
}
```

## Webhook Event Types

Below is the complete list of events you can subscribe to. Pass these values in the `subscribedEvents` array when creating or updating a webhook. You must list every event you want delivered: an empty or omitted array receives **no** events.

Click any event name to jump to its exact payload example below.

| Event | Description |
| --- | --- |
| Brand Events |
| [`BRAND_CREATION_SUCCESSFUL`](#event-BRAND_CREATION_SUCCESSFUL) | Brand was successfully created. A 10DLC brand was registered with TCR, and its metaData carries originalBrandId, as in the example. A Toll-Free brand's metaData carries a Toll-Free Message instead, with the carrier's own id for the brand; a Toll-Free brand whose tollFree.reviewsBusinessOnSubmit is true has no carrier brand, so its metaData is { Message: "Toll-Free brand created" } alone, and it already has the status its review gives it: DCA\_PENDING while the review is under way, DCA\_ACTIVE once its business has passed, or DCA\_REJECTED. |
| [`BRAND_CREATION_FAILED`](#event-BRAND_CREATION_FAILED) | Brand registration failed (e.g., invalid EIN or entity mismatch). |
| [`BRAND_UPDATE_SUCCESSFUL`](#event-BRAND_UPDATE_SUCCESSFUL) | Brand details were updated successfully. |
| [`BRAND_UPDATE_FAILED`](#event-BRAND_UPDATE_FAILED) | Brand update failed. |
| [`BRAND_DELETION_SUCCESSFUL`](#event-BRAND_DELETION_SUCCESSFUL) | Brand was deregistered and deleted. |
| [`BRAND_DELETION_FAILED`](#event-BRAND_DELETION_FAILED) | Brand deletion failed. |
| [`BRAND_REVET_SUCCESSFUL`](#event-BRAND_REVET_SUCCESSFUL) | Brand re-vetting completed successfully. |
| [`BRAND_REVET_FAILED`](#event-BRAND_REVET_FAILED) | Brand re-vetting failed. |
| [`BRAND_IDENTITY_STATUS_UPDATED`](#event-BRAND_IDENTITY_STATUS_UPDATED) | Brand identity/verification status changed (e.g., VERIFIED, UNVERIFIED, VETTED\_VERIFIED). |
| [`BRAND_VETTING_REQUEST_CREATED`](#event-BRAND_VETTING_REQUEST_CREATED) | External vetting request was submitted. |
| [`BRAND_VETTING_REQUEST_UPDATED`](#event-BRAND_VETTING_REQUEST_UPDATED) | External vetting result was updated (score received). |
| [`BRAND_VETTING_REQUEST_FAILED`](#event-BRAND_VETTING_REQUEST_FAILED) | External vetting request failed. |
| Campaign Events |
| [`CAMPAIGN_APPROVED_BY_SIGNAL_HOUSE`](#event-CAMPAIGN_APPROVED_BY_SIGNAL_HOUSE) | Campaign passed review and is now ACTIVE. |
| [`CAMPAIGN_REJECTED_BY_SIGNAL_HOUSE`](#event-CAMPAIGN_REJECTED_BY_SIGNAL_HOUSE) | Campaign was rejected during review. |
| [`CAMPAIGN_CREATION_FAILED`](#event-CAMPAIGN_CREATION_FAILED) | Campaign creation failed. |
| [`CAMPAIGN_UPDATE_SUCCESSFUL`](#event-CAMPAIGN_UPDATE_SUCCESSFUL) | Campaign was updated successfully. |
| [`CAMPAIGN_UPDATE_FAILED`](#event-CAMPAIGN_UPDATE_FAILED) | Campaign update failed. |
| [`CAMPAIGN_DELETION_SUCCESSFUL`](#event-CAMPAIGN_DELETION_SUCCESSFUL) | Campaign was deregistered and deleted. |
| [`CAMPAIGN_DELETION_FAILED`](#event-CAMPAIGN_DELETION_FAILED) | Campaign deletion failed. |
| [`CAMPAIGN_RENEWAL_SUCCESSFUL`](#event-CAMPAIGN_RENEWAL_SUCCESSFUL) | Campaign auto-renewal succeeded. |
| [`CAMPAIGN_RENEWAL_FAILED`](#event-CAMPAIGN_RENEWAL_FAILED) | Campaign auto-renewal failed (e.g., insufficient funds). |
| [`CAMPAIGN_DCA_APPEAL_SUBMITTED`](#event-CAMPAIGN_DCA_APPEAL_SUBMITTED) | A DCA rejection appeal was submitted and the campaign was resubmitted for review. |
| [`CAMPAIGN_OPT_OUT_RATE_EXCEEDED`](#event-CAMPAIGN_OPT_OUT_RATE_EXCEEDED) | One webhook per health score rollup (every 30 minutes) listing every ACTIVE campaign in the group whose 7-day opt-out rate went above 5% with at least 100 messages sent in the window. identifier is the groupId. A campaign is listed when a rollup moves it from 5% or below (or under 100 messages) to above 5% on at least 100 messages, and again only after it falls back and rises again, or after a week without sends empties its 7-day window and it resumes above 5%. A list longer than 250 campaigns is split across several webhooks. The rate is distinct opted-out recipients divided by outbound SMS and MMS, over 7 whole UTC days plus today, rounded to two decimals, the same figure as the cached campaign health. previousOptOutRate is the 7-day rate before this rollup, or null on the first reading and after a week without sends. A retried delivery repeats with the same X-SignalHouse-Delivery-Id. |
| [`CAMPAIGN_SUSPENDED`](#event-CAMPAIGN_SUSPENDED) | A carrier suspended the campaign on its network, or suspended the whole brand (brandLevel: true). The campaign stays ACTIVE on the other carriers. |
| [`CAMPAIGN_HEALTH_BELOW_THRESHOLD`](#event-CAMPAIGN_HEALTH_BELOW_THRESHOLD) | One webhook per health score rollup (every 30 minutes) listing every ACTIVE campaign in the group whose 7-day health score (1–10) crossed below the threshold set on this webhook endpoint (eventSettings.CAMPAIGN\_HEALTH\_BELOW\_THRESHOLD.threshold, default 6). identifier is the groupId. A campaign is listed when a rollup moves its score from the threshold or above to below it, and again only after the score recovers and drops again. Setting or raising the threshold does not alert on scores already below it. A list longer than 250 campaigns is split across several webhooks. previousScore is the last score before this rollup: the 7-day score, or the 30-day score after a week without sends, so resuming at the same low score does not alert again. It is null on the first reading. A retried delivery repeats with the same X-SignalHouse-Delivery-Id. score, rates and sub-scores are the same figures as GET /campaign/health. |
| [`CAMPAIGN_UNSUSPENDED`](#event-CAMPAIGN_UNSUSPENDED) | A carrier lifted a campaign or brand suspension on its network. |
| Number Events |
| [`NUMBER_PURCHASE_SUCCESSFUL`](#event-NUMBER_PURCHASE_SUCCESSFUL) | Phone number was successfully purchased and provisioned. |
| [`NUMBER_PURCHASE_FAILED`](#event-NUMBER_PURCHASE_FAILED) | Phone number purchase failed. |
| [`NUMBER_ASSIGNMENT_SUCCESSFUL`](#event-NUMBER_ASSIGNMENT_SUCCESSFUL) | Number was assigned to a campaign. |
| [`NUMBER_ASSIGNMENT_FAILED`](#event-NUMBER_ASSIGNMENT_FAILED) | Number assignment to campaign failed. |
| [`NUMBER_UNASSIGNMENT_SUCCESSFUL`](#event-NUMBER_UNASSIGNMENT_SUCCESSFUL) | Number was unassigned from its campaign. |
| [`NUMBER_UNASSIGNMENT_FAILED`](#event-NUMBER_UNASSIGNMENT_FAILED) | Number unassignment failed. |
| [`NUMBER_DELETION_SUCCESSFUL`](#event-NUMBER_DELETION_SUCCESSFUL) | Number was released back to the provider. |
| [`NUMBER_DELETION_FAILED`](#event-NUMBER_DELETION_FAILED) | Number release failed. |
| [`NUMBER_RENEWAL_SUCCESSFUL`](#event-NUMBER_RENEWAL_SUCCESSFUL) | Monthly number renewal succeeded. |
| [`NUMBER_RENEWAL_FAILED`](#event-NUMBER_RENEWAL_FAILED) | Monthly number renewal failed (e.g., insufficient funds). |
| [`NUMBER_MIGRATION_SUCCESSFUL`](#event-NUMBER_MIGRATION_SUCCESSFUL) | Number was successfully migrated from V1 to V2. |
| [`NUMBER_MIGRATION_FAILED`](#event-NUMBER_MIGRATION_FAILED) | Number migration from V1 to V2 failed. |
| [`NUMBER_UPDATED`](#event-NUMBER_UPDATED) | Number status transitioned (e.g., IN\_PROGRESS -> READY when DCA provisioning completes). |
| [`NUMBER_HEALTH_BELOW_THRESHOLD`](#event-NUMBER_HEALTH_BELOW_THRESHOLD) | One webhook per health score rollup (every 30 minutes) listing every phone number in the group whose 7-day health score (1–10) crossed below the threshold set on this webhook endpoint (eventSettings.NUMBER\_HEALTH\_BELOW\_THRESHOLD.threshold, default 6); released, pending-release and deactivated numbers are never listed. identifier is the groupId. A number is listed when a rollup moves its score from the threshold or above to below it, and again only after the score recovers and drops again. Setting or raising the threshold does not alert on scores already below it. A list longer than 250 numbers is split across several webhooks. previousScore is the last score before this rollup: the 7-day score, or the 30-day score after a week without sends, so resuming at the same low score does not alert again. It is null on the first reading. A retried delivery repeats with the same X-SignalHouse-Delivery-Id. score, rates and sub-scores are the same figures as GET /number/health. |
| Subscription Events |
| [`SUBSCRIPTION_RENEWAL_SUCCESSFUL`](#event-SUBSCRIPTION_RENEWAL_SUCCESSFUL) | Monthly subscription auto-renewal succeeded. The metaData contains the full renewed subscription object. |
| [`SUBSCRIPTION_RENEWAL_FAILED`](#event-SUBSCRIPTION_RENEWAL_FAILED) | Monthly subscription auto-renewal failed (e.g., insufficient funds). The metaData contains the subscription that failed to renew. |
| Billing Events |
| [`LOW_BALANCE_ALERT`](#event-LOW_BALANCE_ALERT) | Wallet available balance dropped below $100. Available balance is wallet balance minus reserved funds. A wallet receives at most five low-balance alerts until it recovers or funds are added. |
| [`AUTO_RECHARGE_SUCCESSFUL`](#event-AUTO_RECHARGE_SUCCESSFUL) | Auto-recharge triggered and successfully added funds to the wallet. |
| [`AUTO_RECHARGE_FAILED`](#event-AUTO_RECHARGE_FAILED) | Auto-recharge triggered but all available payment attempts failed. |
| Message Events |
| [`SMS_SENT`](#event-SMS_SENT) | Outbound SMS was accepted by the carrier. The metaData contains the carrier, carrier family, and regional carrier code when applicable, plus the subgroup, brand, and campaign IDs for downstream filtering. |
| [`SMS_FAILED`](#event-SMS_FAILED) | Outbound SMS failed to send. identifier is the failed message's ID, and metaData.Message gives the reason when there is one. The one exception: when a whole batch fails before it is sent, for example because the campaign is no longer active, a Global endpoint gets a single webhook whose identifier is the array of the batch's message IDs, as in the example, while a Number endpoint gets one webhook per message. Read identifier as either a string or an array. |
| [`MMS_SENT`](#event-MMS_SENT) | Outbound MMS was accepted by the carrier. The metaData contains the carrier, carrier family, and regional carrier code when applicable, plus the subgroup, brand, and campaign IDs for downstream filtering. |
| [`MMS_FAILED`](#event-MMS_FAILED) | Outbound MMS failed to send. identifier is the failed message's ID, and metaData.Message gives the reason when there is one. The one exception: when a whole batch fails before it is sent, for example because the campaign is no longer active or the toll-free number can't send MMS, a Global endpoint gets a single webhook whose identifier is the array of the batch's message IDs, as in the example, while a Number endpoint gets one webhook per message. Read identifier as either a string or an array. |
| [`MESSAGE_DELIVERED`](#event-MESSAGE_DELIVERED) | Carrier confirmed the message was delivered to the handset. Fires for both A2P (SMS/MMS) and P2P messages. Delivered via Global webhook endpoints for P2P, which has no dedicated sender number. The metaData contains the full Message document. For an RCS message, metaData is the shorter RCS shape shown on MESSAGE\_SENT. |
| [`MESSAGE_FAILED`](#event-MESSAGE_FAILED) | Carrier reported delivery failure. Fires for both A2P (SMS/MMS) and P2P messages. Delivered via Global webhook endpoints for P2P, which has no dedicated sender number. The metaData contains the full Message document (with status "FAILED"). For an RCS message, metaData is the shorter RCS shape shown on MESSAGE\_SENT. |
| [`MESSAGE_RECEIVED`](#event-MESSAGE_RECEIVED) | An inbound SMS or MMS was received on one of your numbers. The metaData wraps the full inbound Message document under a capital-M "Message" key. A picture sent to a toll-free number whose brand reports tollFree.supportsMms as false arrives as its text only: the message is an MMS with no media links, billed as an inbound MMS. An inbound message carries inReplyToMessageId, the message it answers. A reply chip or button names its message, so that link is exact; any other reply links to the newest message your number or agent sent that handset in the 7 days before it, while that message was sent, delivered or read and was not a STOP or HELP auto-reply. It is absent when there is no such message, on P2P replies, and on replies stored before the link was switched on. If that message has a parentMessageId, it was an RCS fallback, and the parent is the RCS message you sent. |
| [`MESSAGE_QUEUED`](#event-MESSAGE_QUEUED) | An RCS message was accepted and queued. |
| [`MESSAGE_SENT`](#event-MESSAGE_SENT) | The carrier partner accepted an RCS message. |
| [`MESSAGE_READ`](#event-MESSAGE_READ) | The recipient read an RCS message. MESSAGE\_DELIVERED fires first, unless the read report arrives first. |
| [`MESSAGE_EXPIRED`](#event-MESSAGE_EXPIRED) | An RCS message with no fallback expired before delivery. |
| [`MESSAGE_FAILED`](#event-MESSAGE_FAILED) | An RCS message failed with no fallback to run. reason says why, in words; a refusal by the carrier partner carries what it said. |
| [`MESSAGE_BLOCKED`](#event-MESSAGE_BLOCKED) | A recipient was blocked before reaching a carrier. blockReason says why: NOT\_TESTER, OPTED\_OUT, QUIET\_HOURS, VARIABLE\_MISSING, CONTENT\_INVALID or MODERATION, and reason says it in words. Nothing is charged and no fallback runs. |
| [`MESSAGE_FALLBACK_TRIGGERED`](#event-MESSAGE_FALLBACK_TRIGGERED) | An RCS message moved to its SMS or MMS fallback. fallbackReason says why: NOT\_CAPABLE, CARRIER\_NOT\_LAUNCHED, TTL\_EXPIRED, RCS\_ERROR, PROVIDER\_ERROR or SMS\_ONLY. |
| [`MESSAGE_FALLBACK_SENT`](#event-MESSAGE_FALLBACK_SENT) | The fallback leg was queued as an ordinary SMS or MMS. |
| [`MESSAGE_FALLBACK_DELIVERED`](#event-MESSAGE_FALLBACK_DELIVERED) | The fallback leg was delivered. metaData is the SMS or MMS message, with parentMessageId naming the RCS message. |
| [`SUGGESTION_RESPONSE`](#event-SUGGESTION_RESPONSE) | A recipient tapped a reply chip or an action button. suggestion.postbackData is the value you authored, with its variables filled in for this recipient. suggestion.buttonId is the button's position in the content this recipient got, {blockIndex}.{cardIndex|m}.{suggestionIndex}. A variable with missingPolicy drop can leave blocks out and change it, so match taps on postbackData. templateId and templateVersion are null on a direct send. |
| [`USER_UNSUBSCRIBED`](#event-USER_UNSUBSCRIBED) | A recipient opted out over RCS: by a keyword, including your linked campaign's registered opt-out words, or by tapping a suggestion whose label or postbackData is one. A postbackData matches only as a whole value, so use one you mean as an opt-out. The opt-out blocks that agent's PROMOTION traffic and its SMS fallback leg; other traffic types still go over RCS. Promotional sends from other agents on the same brand are blocked too. Every agent also answers BAJA, PARAR and ARRET as opt-out words. |
| [`USER_SUBSCRIBED`](#event-USER_SUBSCRIBED) | A recipient opted back in over RCS. The opt-in clears that agent and its linked campaign. |
| [`P2P_SENT`](#event-P2P_SENT) | Retired: P2P messaging is no longer available. This event no longer fires. It was sent when an outbound P2P SMS was accepted for delivery. This is acceptance, not delivery — subscribe to MESSAGE\_DELIVERED / MESSAGE\_FAILED for the carrier's terminal outcome. |
| [`P2P_FAILED`](#event-P2P_FAILED) | Retired: P2P messaging is no longer available. This event no longer fires. It was sent when an outbound P2P SMS failed. |
| [`P2P_INBOUND`](#event-P2P_INBOUND) | Retired: P2P messaging is no longer available. This event no longer fires. It was sent when an inbound P2P SMS was received. Delivered via Global webhook endpoints subscribed to P2P\_INBOUND. The P2P rail has no dedicated inbound number, so groupId and subgroupId are included in metaData to attribute the reply to the originating account. |
| [`TMOBILE_THROUGHPUT_75`](#event-TMOBILE_THROUGHPUT_75) | A brand has exceeded 75% of its daily T-Mobile segment throughput limit. This is a notification only — messages are not blocked. |
| [`TMOBILE_THROUGHPUT_90`](#event-TMOBILE_THROUGHPUT_90) | A brand has exceeded 90% of its daily T-Mobile segment throughput limit. This is a notification only — messages are not blocked. |
| [`TMOBILE_THROUGHPUT_100`](#event-TMOBILE_THROUGHPUT_100) | A brand has exceeded 100% of its daily T-Mobile segment throughput limit. T-Mobile will silently drop further segments for this brand today. This is a notification only — messages are not blocked by Signal House. |
| RCS Agent Events |
| [`RCS_AGENT_STATUS_UPDATED`](#event-RCS_AGENT_STATUS_UPDATED) | An RCS agent's public status changed: it moved through creation, review, launch, approval, rejection, suspension or archiving, or a renewal restored it. status and previousStatus are the status GET /rcs/agent/:agentId returns; displayStatus is its label. reason is why, when the change has one, and reasonCodes holds the code of each rejection reason, or an empty list. actingParty says who moved it: user, staff, system or provider, where provider means the carrier partner. Fires only when the public status changes. |
| [`RCS_AGENT_CARRIER_STATUS_UPDATED`](#event-RCS_AGENT_CARRIER_STATUS_UPDATED) | One carrier's launch status changed, one event per carrier: PENDING, IN\_PROGRESS, COMPLETED, REJECTED, NOT\_REQUESTED or NEW. previousStatus is null for a carrier's first status. A carrier that rejects a relaunch fires again with REJECTED in both. reason is the carrier's rejection text, or null, and reasonCodes holds the code of each rejection reason. The carrier partner's brand verification, AEGIS\_BRAND\_VERIFICATION, is reported as a carrier. |
| [`RCS_TESTER_STATUS_UPDATED`](#event-RCS_TESTER_STATUS_UPDATED) | A tester's invitation reached an outcome: APPROVED (accepted), EXPIRED (not accepted in time), UNSUPPORTED (the number cannot take RCS), FAILED (the invitation could not be sent) or REMOVED. An invitation still on its way does not fire this. previousStatus is null for a tester with no earlier status. |
| Compliance Events |
| [`COMPLIANCE_CASE_UPDATED`](#event-COMPLIANCE_CASE_UPDATED) | A compliance case you can see changed. change is opened, requirements\_sent, reminder, lift\_requested, lifted or closed. requirements lists the open requirements on requirements\_sent. Read the case with GET /compliance/cases/:caseId. |
| AI Agent Events |
| [`AI_AGENT_CONVERSATION_ENDED`](#event-AI_AGENT_CONVERSATION_ENDED) | An AI agent conversation ended, on any channel. It's sent once, after the end, with the whole conversation: use it to file a message, a callback request or a lead in your own system. status is completed, escalated (the agent handed off to a person) or abandoned (the caller never spoke). endReason says why it ended when known: idle\_timeout (an SMS conversation nobody texted in for 24 hours), opt\_out\_keyword, or the voice bridge's reason, such as caller\_hangup, agent\_ended or max\_duration; it is null otherwise. contactIdentifier is the caller's or texter's number (a webchat conversation carries its session id). agentNumber is the number they reached. transcript holds the contact's and the agent's turns in order, up to 500; transcriptTruncated is true past that. toolCalls lists the tools the agent called, with their inputs, where the conversation recorded them (SMS and webchat today). Only Global endpoints can subscribe to it; a Number or Agent endpoint is refused. Delivery is queued and retried with backoff for about an hour, and if queueing itself fails it is queued again within the hour. Every attempt for one conversation and endpoint carries the same X-SignalHouse-Delivery-Id, so drop a delivery id you have already handled. Subscribing a narrowed OAuth connector's endpoint to this event needs the messaging scope, because it carries message content. |

## Webhook Payload Reference

Every webhook delivered by Signal House follows a consistent envelope. Each event below includes the exact payload structure as sent from the API.

#### Standard Envelope

Webhook Payload Envelope

```
{
  "timestamp": "2024-01-15T14:30:00.000Z",  // ISO-8601 UTC timestamp
  "event": "EVENT_TYPE",                    // One of the event codes in the table above
  "identifier": "resource-id",              // brandId, campaignId, phoneNumber, or message _id
  "metaData": { ... }                       // Event-specific payload (carrier info on SMS_SENT / MMS_SENT; full message on delivery events)
}
```

Endpoints registered with `endpointType: "Number"` receive the same envelope with an additional `phoneNumber` field at the top level (matching the subscribed phone number). Endpoints registered with `endpointType: "Agent"` receive it with an additional `agentId` field instead.

**Delivery details:** All webhooks are delivered via HTTP `POST` with `Content-Type: application/json` and a 3-second timeout. Any 2xx response is treated as success. Failed deliveries are retried up to 3 times with exponential backoff and jitter starting at 500 ms — except a 4xx response other than 429, which is **not** retried, since the receiver rejected that specific request on its merits. A 429 **is** retried with backoff: it is an explicit back-off-and-retry signal, which is exactly what the backoff exists for. When delivery to an Agent endpoint's `url` fails, its `secondaryUrl` gets one try.

**Verifying a delivery:** every delivery to an endpoint with a signing secret carries `X-SignalHouse-Timestamp` (Unix ms), `X-SignalHouse-Signature` (hex HMAC-SHA256 of `${timestamp}.${rawRequestBody}`) and `X-SignalHouse-Signature-V1` (`t=<ms>,v1=<hex>[,v1=<hex>]`). Every delivery, signed or not, carries `X-SignalHouse-Delivery-Id`, reused across retries, for dedup. An endpoint reporting `hasSigningSecret: false` was created before signing existed and is sent **unsigned** until you call `POST /webhook/:id/rotate-secret` once. The [Webhook Signing](https://docs.signalhouse.io/webhook-signing) guide covers verification with `verifyWebhookSignature` from `@signalhouse-sms/sdk/webhooks`, verification in other languages, and rotation.

### Brand Events

#### `BRAND_CREATION_SUCCESSFUL`

Brand was successfully created. A 10DLC brand was registered with TCR, and its metaData carries originalBrandId, as in the example. A Toll-Free brand's metaData carries a Toll-Free Message instead, with the carrier's own id for the brand; a Toll-Free brand whose tollFree.reviewsBusinessOnSubmit is true has no carrier brand, so its metaData is { Message: "Toll-Free brand created" } alone, and it already has the status its review gives it: DCA\_PENDING while the review is under way, DCA\_ACTIVE once its business has passed, or DCA\_REJECTED.

BRAND\_CREATION\_SUCCESSFUL Payload

```json
{
  "timestamp": "2024-01-15T12:05:00.000Z",
  "event": "BRAND_CREATION_SUCCESSFUL",
  "identifier": "B1234567",
  "metaData": {
    "Message": "Brand created successfully",
    "originalBrandId": "B1234567"
  }
}
```

#### `BRAND_CREATION_FAILED`

Brand registration failed (e.g., invalid EIN or entity mismatch).

BRAND\_CREATION\_FAILED Payload

```json
{
  "timestamp": "2024-01-15T12:05:00.000Z",
  "event": "BRAND_CREATION_FAILED",
  "identifier": "B1234567",
  "metaData": {
    "Message": "Brand creation failed",
    "originalBrandId": "B1234567"
  }
}
```

#### `BRAND_UPDATE_SUCCESSFUL`

Brand details were updated successfully.

BRAND\_UPDATE\_SUCCESSFUL Payload

```json
{
  "timestamp": "2024-01-16T09:15:00.000Z",
  "event": "BRAND_UPDATE_SUCCESSFUL",
  "identifier": "B1234567",
  "metaData": {
    "Message": "Brand updated successfully"
  }
}
```

#### `BRAND_UPDATE_FAILED`

Brand update failed.

BRAND\_UPDATE\_FAILED Payload

```json
{
  "timestamp": "2024-01-16T09:15:00.000Z",
  "event": "BRAND_UPDATE_FAILED",
  "identifier": "B1234567",
  "metaData": {
    "Message": "Brand update failed"
  }
}
```

#### `BRAND_DELETION_SUCCESSFUL`

Brand was deregistered and deleted.

BRAND\_DELETION\_SUCCESSFUL Payload

```json
{
  "timestamp": "2024-01-17T11:00:00.000Z",
  "event": "BRAND_DELETION_SUCCESSFUL",
  "identifier": "B1234567",
  "metaData": {
    "Message": "Brand deleted successfully"
  }
}
```

#### `BRAND_DELETION_FAILED`

Brand deletion failed.

BRAND\_DELETION\_FAILED Payload

```json
{
  "timestamp": "2024-01-17T11:00:00.000Z",
  "event": "BRAND_DELETION_FAILED",
  "identifier": "B1234567",
  "metaData": {
    "Message": "Brand deletion failed"
  }
}
```

#### `BRAND_REVET_SUCCESSFUL`

Brand re-vetting completed successfully.

BRAND\_REVET\_SUCCESSFUL Payload

```json
{
  "timestamp": "2024-01-18T10:00:00.000Z",
  "event": "BRAND_REVET_SUCCESSFUL",
  "identifier": "B1234567",
  "metaData": {
    "Message": "Brand revet successful"
  }
}
```

#### `BRAND_REVET_FAILED`

Brand re-vetting failed.

BRAND\_REVET\_FAILED Payload

```json
{
  "timestamp": "2024-01-18T10:00:00.000Z",
  "event": "BRAND_REVET_FAILED",
  "identifier": "B1234567",
  "metaData": {
    "Message": "Brand revet failed"
  }
}
```

#### `BRAND_IDENTITY_STATUS_UPDATED`

Brand identity/verification status changed (e.g., VERIFIED, UNVERIFIED, VETTED\_VERIFIED).

BRAND\_IDENTITY\_STATUS\_UPDATED Payload

```json
{
  "timestamp": "2024-01-15T12:30:00.000Z",
  "event": "BRAND_IDENTITY_STATUS_UPDATED",
  "identifier": "B1234567",
  "metaData": {
    "status": "VERIFIED"
  }
}
```

#### `BRAND_VETTING_REQUEST_CREATED`

External vetting request was submitted.

BRAND\_VETTING\_REQUEST\_CREATED Payload

```json
{
  "timestamp": "2024-01-19T14:00:00.000Z",
  "event": "BRAND_VETTING_REQUEST_CREATED",
  "identifier": "B1234567",
  "metaData": {
    "Message": "Brand external vetting request succeeded"
  }
}
```

#### `BRAND_VETTING_REQUEST_UPDATED`

External vetting result was updated (score received).

BRAND\_VETTING\_REQUEST\_UPDATED Payload

```json
{
  "timestamp": "2024-01-19T16:30:00.000Z",
  "event": "BRAND_VETTING_REQUEST_UPDATED",
  "identifier": "B1234567",
  "metaData": {
    "Message": "Brand external vetting result updated",
    "newVettingStatus": "ACTIVE"
  }
}
```

#### `BRAND_VETTING_REQUEST_FAILED`

External vetting request failed.

BRAND\_VETTING\_REQUEST\_FAILED Payload

```json
{
  "timestamp": "2024-01-19T14:00:00.000Z",
  "event": "BRAND_VETTING_REQUEST_FAILED",
  "identifier": "B1234567",
  "metaData": {
    "Message": "Brand external vetting request failed"
  }
}
```

### Campaign Events

#### `CAMPAIGN_APPROVED_BY_SIGNAL_HOUSE`

Campaign passed review and is now ACTIVE.

CAMPAIGN\_APPROVED\_BY\_SIGNAL\_HOUSE Payload

```json
{
  "timestamp": "2024-01-16T10:00:00.000Z",
  "event": "CAMPAIGN_APPROVED_BY_SIGNAL_HOUSE",
  "identifier": "C1234567",
  "metaData": {
    "Message": "Campaign has been created and is now active",
    "originalCampaignId": "C1234567"
  }
}
```

#### `CAMPAIGN_REJECTED_BY_SIGNAL_HOUSE`

Campaign was rejected during review.

CAMPAIGN\_REJECTED\_BY\_SIGNAL\_HOUSE Payload

```json
{
  "timestamp": "2024-01-16T10:00:00.000Z",
  "event": "CAMPAIGN_REJECTED_BY_SIGNAL_HOUSE",
  "identifier": "C1234567",
  "metaData": {
    "Message": "Sample messages do not match the campaign use case"
  }
}
```

#### `CAMPAIGN_CREATION_FAILED`

Campaign creation failed.

CAMPAIGN\_CREATION\_FAILED Payload

```json
{
  "timestamp": "2024-01-16T10:05:00.000Z",
  "event": "CAMPAIGN_CREATION_FAILED",
  "identifier": "C1234567",
  "metaData": {
    "Message": "Campaign TCR registration failed"
  }
}
```

#### `CAMPAIGN_UPDATE_SUCCESSFUL`

Campaign was updated successfully.

CAMPAIGN\_UPDATE\_SUCCESSFUL Payload

```json
{
  "timestamp": "2024-01-20T09:00:00.000Z",
  "event": "CAMPAIGN_UPDATE_SUCCESSFUL",
  "identifier": "C1234567",
  "metaData": {
    "Message": "Campaign C1234567 has been updated to ACTIVE status"
  }
}
```

#### `CAMPAIGN_UPDATE_FAILED`

Campaign update failed.

CAMPAIGN\_UPDATE\_FAILED Payload

```json
{
  "timestamp": "2024-01-20T09:00:00.000Z",
  "event": "CAMPAIGN_UPDATE_FAILED",
  "identifier": "C1234567",
  "metaData": {
    "Message": "Campaign update reverted for C1234567 -- TCR sync failed"
  }
}
```

#### `CAMPAIGN_DELETION_SUCCESSFUL`

Campaign was deregistered and deleted.

CAMPAIGN\_DELETION\_SUCCESSFUL Payload

```json
{
  "timestamp": "2024-01-21T08:00:00.000Z",
  "event": "CAMPAIGN_DELETION_SUCCESSFUL",
  "identifier": "C1234567",
  "metaData": {
    "Message": "Campaign has been successfully deleted"
  }
}
```

#### `CAMPAIGN_DELETION_FAILED`

Campaign deletion failed.

CAMPAIGN\_DELETION\_FAILED Payload

```json
{
  "timestamp": "2024-01-21T08:00:00.000Z",
  "event": "CAMPAIGN_DELETION_FAILED",
  "identifier": "C1234567",
  "metaData": {
    "Message": "Campaign deletion failed due to DCA error."
  }
}
```

#### `CAMPAIGN_RENEWAL_SUCCESSFUL`

Campaign auto-renewal succeeded.

CAMPAIGN\_RENEWAL\_SUCCESSFUL Payload

```json
{
  "timestamp": "2024-02-15T00:05:00.000Z",
  "event": "CAMPAIGN_RENEWAL_SUCCESSFUL",
  "identifier": "C1234567",
  "metaData": {
    "Message": "Campaign has been successfully renewed",
    "subgroupId": "S0000001",
    "brandId": "B1234567"
  }
}
```

#### `CAMPAIGN_RENEWAL_FAILED`

Campaign auto-renewal failed (e.g., insufficient funds).

CAMPAIGN\_RENEWAL\_FAILED Payload

```json
{
  "timestamp": "2024-02-15T00:05:00.000Z",
  "event": "CAMPAIGN_RENEWAL_FAILED",
  "identifier": "C1234567",
  "metaData": {
    "Message": "Campaign renewal failed due to insufficient funds.",
    "subgroupId": "S0000001",
    "brandId": "B1234567"
  }
}
```

#### `CAMPAIGN_DCA_APPEAL_SUBMITTED`

A DCA rejection appeal was submitted and the campaign was resubmitted for review.

CAMPAIGN\_DCA\_APPEAL\_SUBMITTED Payload

```json
{
  "timestamp": "2024-01-22T13:30:00.000Z",
  "event": "CAMPAIGN_DCA_APPEAL_SUBMITTED",
  "identifier": "C1234567",
  "metaData": {
    "Message": "Campaign DCA rejection appeal has been submitted"
  }
}
```

#### `CAMPAIGN_OPT_OUT_RATE_EXCEEDED`

One webhook per health score rollup (every 30 minutes) listing every ACTIVE campaign in the group whose 7-day opt-out rate went above 5% with at least 100 messages sent in the window. identifier is the groupId. A campaign is listed when a rollup moves it from 5% or below (or under 100 messages) to above 5% on at least 100 messages, and again only after it falls back and rises again, or after a week without sends empties its 7-day window and it resumes above 5%. A list longer than 250 campaigns is split across several webhooks. The rate is distinct opted-out recipients divided by outbound SMS and MMS, over 7 whole UTC days plus today, rounded to two decimals, the same figure as the cached campaign health. previousOptOutRate is the 7-day rate before this rollup, or null on the first reading and after a week without sends. A retried delivery repeats with the same X-SignalHouse-Delivery-Id.

CAMPAIGN\_OPT\_OUT\_RATE\_EXCEEDED Payload

```json
{
  "timestamp": "2024-01-22T14:05:00.000Z",
  "event": "CAMPAIGN_OPT_OUT_RATE_EXCEEDED",
  "identifier": "G0000001",
  "metaData": {
    "threshold": 5,
    "scoreUpdatedAt": "2024-01-22T14:00:12.000Z",
    "windowStart": "2024-01-15T00:00:00.000Z",
    "windowEnd": "2024-01-22T14:00:12.000Z",
    "campaigns": [
      {
        "campaignId": "C1234567",
        "brandId": "B1234567",
        "optOutRate": 6.25,
        "previousOptOutRate": 4.8,
        "optOuts": 25,
        "messagesSent": 400
      }
    ]
  }
}
```

#### `CAMPAIGN_SUSPENDED`

A carrier suspended the campaign on its network, or suspended the whole brand (brandLevel: true). The campaign stays ACTIVE on the other carriers.

CAMPAIGN\_SUSPENDED Payload

```json
{
  "timestamp": "2026-11-04T15:20:00.000Z",
  "event": "CAMPAIGN_SUSPENDED",
  "identifier": "C1234567",
  "metaData": {
    "Message": "Campaign C1234567 has been suspended on Verizon Wireless",
    "campaignId": "C1234567",
    "brandId": "B1234567",
    "carrier": "Verizon Wireless",
    "mnoId": "10038",
    "suspensionCategory": "SPAM",
    "reason": "Campaign C1234567 suspended on Verizon Wireless network. Suspension Category: SPAM. Details: High Customer Complaints (16%)",
    "brandLevel": false,
    "suspendedAt": "2026-11-04T15:20:00.000Z"
  }
}
```

#### `CAMPAIGN_HEALTH_BELOW_THRESHOLD`

One webhook per health score rollup (every 30 minutes) listing every ACTIVE campaign in the group whose 7-day health score (1–10) crossed below the threshold set on this webhook endpoint (eventSettings.CAMPAIGN\_HEALTH\_BELOW\_THRESHOLD.threshold, default 6). identifier is the groupId. A campaign is listed when a rollup moves its score from the threshold or above to below it, and again only after the score recovers and drops again. Setting or raising the threshold does not alert on scores already below it. A list longer than 250 campaigns is split across several webhooks. previousScore is the last score before this rollup: the 7-day score, or the 30-day score after a week without sends, so resuming at the same low score does not alert again. It is null on the first reading. A retried delivery repeats with the same X-SignalHouse-Delivery-Id. score, rates and sub-scores are the same figures as GET /campaign/health.

CAMPAIGN\_HEALTH\_BELOW\_THRESHOLD Payload

```json
{
  "timestamp": "2024-01-22T14:05:00.000Z",
  "event": "CAMPAIGN_HEALTH_BELOW_THRESHOLD",
  "identifier": "G0000001",
  "metaData": {
    "threshold": 6,
    "scoreUpdatedAt": "2024-01-22T14:00:12.000Z",
    "windowStart": "2024-01-15T00:00:00.000Z",
    "windowEnd": "2024-01-22T14:00:12.000Z",
    "campaigns": [
      {
        "campaignId": "C1234567",
        "brandId": "B1234567",
        "score": 5.5,
        "previousScore": 7,
        "deliveryRate": 78.4,
        "optOutRate": 2.75,
        "deliveryScore": 7,
        "optOutScore": 4,
        "messagesSent": 1240,
        "optOuts": 34
      }
    ]
  }
}
```

#### `CAMPAIGN_UNSUSPENDED`

A carrier lifted a campaign or brand suspension on its network.

CAMPAIGN\_UNSUSPENDED Payload

```json
{
  "timestamp": "2026-11-06T09:00:00.000Z",
  "event": "CAMPAIGN_UNSUSPENDED",
  "identifier": "C1234567",
  "metaData": {
    "Message": "Campaign C1234567 suspension on Verizon Wireless has been lifted",
    "campaignId": "C1234567",
    "brandId": "B1234567",
    "carrier": "Verizon Wireless",
    "mnoId": "10038",
    "suspensionCategory": "SPAM",
    "reason": "Campaign C1234567 suspended on Verizon Wireless network. Suspension Category: SPAM. Details: High Customer Complaints (16%)",
    "brandLevel": false,
    "liftedAt": "2026-11-06T09:00:00.000Z"
  }
}
```

### Number Events

#### `NUMBER_PURCHASE_SUCCESSFUL`

Phone number was successfully purchased and provisioned.

NUMBER\_PURCHASE\_SUCCESSFUL Payload

```json
{
  "timestamp": "2024-01-15T12:10:00.000Z",
  "event": "NUMBER_PURCHASE_SUCCESSFUL",
  "identifier": "12246431042",
  "metaData": {
    "Message": "Number 12246431042 has been successfully purchased"
  }
}
```

#### `NUMBER_PURCHASE_FAILED`

Phone number purchase failed.

NUMBER\_PURCHASE\_FAILED Payload

```json
{
  "timestamp": "2024-01-15T12:10:00.000Z",
  "event": "NUMBER_PURCHASE_FAILED",
  "identifier": "12246431042",
  "metaData": {
    "Message": "Failed to purchase number 12246431042: insufficient funds."
  }
}
```

#### `NUMBER_ASSIGNMENT_SUCCESSFUL`

Number was assigned to a campaign.

NUMBER\_ASSIGNMENT\_SUCCESSFUL Payload

```json
{
  "timestamp": "2024-01-16T11:00:00.000Z",
  "event": "NUMBER_ASSIGNMENT_SUCCESSFUL",
  "identifier": "12246431042",
  "metaData": {
    "Message": "Number 12246431042 has been successfully assigned to campaign C1234567",
    "campaignId": "C1234567"
  }
}
```

#### `NUMBER_ASSIGNMENT_FAILED`

Number assignment to campaign failed.

NUMBER\_ASSIGNMENT\_FAILED Payload

```json
{
  "timestamp": "2024-01-16T11:00:00.000Z",
  "event": "NUMBER_ASSIGNMENT_FAILED",
  "identifier": "12246431042",
  "metaData": {
    "Message": "Cannot assign number '12246431042' to campaign 'C1234567' because the campaign is in a terminal state 'EXPIRED'"
  }
}
```

#### `NUMBER_UNASSIGNMENT_SUCCESSFUL`

Number was unassigned from its campaign.

NUMBER\_UNASSIGNMENT\_SUCCESSFUL Payload

```json
{
  "timestamp": "2024-01-18T15:00:00.000Z",
  "event": "NUMBER_UNASSIGNMENT_SUCCESSFUL",
  "identifier": "12246431042",
  "metaData": {
    "Message": "Number 12246431042 has been successfully unassigned from campaign C1234567",
    "campaignId": "C1234567"
  }
}
```

#### `NUMBER_UNASSIGNMENT_FAILED`

Number unassignment failed.

NUMBER\_UNASSIGNMENT\_FAILED Payload

```json
{
  "timestamp": "2024-01-18T15:00:00.000Z",
  "event": "NUMBER_UNASSIGNMENT_FAILED",
  "identifier": "12246431042",
  "metaData": {
    "Message": "Failed to unassign number 12246431042 from campaign C1234567 due to DCA error.",
    "campaignId": "C1234567"
  }
}
```

#### `NUMBER_DELETION_SUCCESSFUL`

Number was released back to the provider.

NUMBER\_DELETION\_SUCCESSFUL Payload

```json
{
  "timestamp": "2024-01-25T10:00:00.000Z",
  "event": "NUMBER_DELETION_SUCCESSFUL",
  "identifier": "12246431042",
  "metaData": {
    "Message": "Number has been successfully deleted."
  }
}
```

#### `NUMBER_DELETION_FAILED`

Number release failed.

NUMBER\_DELETION\_FAILED Payload

```json
{
  "timestamp": "2024-01-25T10:00:00.000Z",
  "event": "NUMBER_DELETION_FAILED",
  "identifier": "12246431042",
  "metaData": {
    "Message": "Number deletion failed due to DCA error."
  }
}
```

#### `NUMBER_RENEWAL_SUCCESSFUL`

Monthly number renewal succeeded.

NUMBER\_RENEWAL\_SUCCESSFUL Payload

```json
{
  "timestamp": "2024-02-15T00:05:00.000Z",
  "event": "NUMBER_RENEWAL_SUCCESSFUL",
  "identifier": "12246431042",
  "metaData": {
    "Message": "Number 12246431042 has been successfully renewed",
    "subgroupId": "S0000001",
    "brandId": "B1234567",
    "campaignId": "C1234567"
  }
}
```

#### `NUMBER_RENEWAL_FAILED`

Monthly number renewal failed (e.g., insufficient funds).

NUMBER\_RENEWAL\_FAILED Payload

```json
{
  "timestamp": "2024-02-15T00:05:00.000Z",
  "event": "NUMBER_RENEWAL_FAILED",
  "identifier": "12246431042",
  "metaData": {
    "Message": "Number renewal failed due to insufficient funds.",
    "subgroupId": "S0000001",
    "brandId": "B1234567",
    "campaignId": "C1234567"
  }
}
```

#### `NUMBER_MIGRATION_SUCCESSFUL`

Number was successfully migrated from V1 to V2.

NUMBER\_MIGRATION\_SUCCESSFUL Payload

```json
{
  "timestamp": "2024-01-10T08:00:00.000Z",
  "event": "NUMBER_MIGRATION_SUCCESSFUL",
  "identifier": "12246431042",
  "metaData": {
    "Message": "Number 12246431042 has been successfully migrated to v2"
  }
}
```

#### `NUMBER_MIGRATION_FAILED`

Number migration from V1 to V2 failed.

NUMBER\_MIGRATION\_FAILED Payload

```json
{
  "timestamp": "2024-01-10T08:00:00.000Z",
  "event": "NUMBER_MIGRATION_FAILED",
  "identifier": "12246431042",
  "metaData": {
    "Message": "Number migration to v2 failed for 12246431042"
  }
}
```

#### `NUMBER_UPDATED`

Number status transitioned (e.g., IN\_PROGRESS -> READY when DCA provisioning completes).

NUMBER\_UPDATED Payload

```json
{
  "timestamp": "2024-01-16T11:05:00.000Z",
  "event": "NUMBER_UPDATED",
  "identifier": "12246431042",
  "metaData": {
    "Message": "Number 12246431042 is now ready to be used for sending messages in campaign C1234567",
    "oldStatus": "IN_PROGRESS",
    "newStatus": "READY"
  }
}
```

#### `NUMBER_HEALTH_BELOW_THRESHOLD`

One webhook per health score rollup (every 30 minutes) listing every phone number in the group whose 7-day health score (1–10) crossed below the threshold set on this webhook endpoint (eventSettings.NUMBER\_HEALTH\_BELOW\_THRESHOLD.threshold, default 6); released, pending-release and deactivated numbers are never listed. identifier is the groupId. A number is listed when a rollup moves its score from the threshold or above to below it, and again only after the score recovers and drops again. Setting or raising the threshold does not alert on scores already below it. A list longer than 250 numbers is split across several webhooks. previousScore is the last score before this rollup: the 7-day score, or the 30-day score after a week without sends, so resuming at the same low score does not alert again. It is null on the first reading. A retried delivery repeats with the same X-SignalHouse-Delivery-Id. score, rates and sub-scores are the same figures as GET /number/health.

NUMBER\_HEALTH\_BELOW\_THRESHOLD Payload

```json
{
  "timestamp": "2024-01-22T14:05:00.000Z",
  "event": "NUMBER_HEALTH_BELOW_THRESHOLD",
  "identifier": "G0000001",
  "metaData": {
    "threshold": 6,
    "scoreUpdatedAt": "2024-01-22T14:00:12.000Z",
    "windowStart": "2024-01-15T00:00:00.000Z",
    "windowEnd": "2024-01-22T14:00:12.000Z",
    "numbers": [
      {
        "phoneNumber": "12246431042",
        "campaignId": "C1234567",
        "brandId": "B1234567",
        "score": 5,
        "previousScore": 6.5,
        "deliveryRate": 71.2,
        "optOutRate": 3.1,
        "deliveryScore": 5,
        "optOutScore": 5,
        "messagesSent": 310,
        "optOuts": 9
      }
    ]
  }
}
```

### Subscription Events

#### `SUBSCRIPTION_RENEWAL_SUCCESSFUL`

Monthly subscription auto-renewal succeeded. The metaData contains the full renewed subscription object.

SUBSCRIPTION\_RENEWAL\_SUCCESSFUL Payload

```json
{
  "timestamp": "2024-02-15T00:05:00.000Z",
  "event": "SUBSCRIPTION_RENEWAL_SUCCESSFUL",
  "identifier": "G0000001",
  "metaData": {
    "renewalStatus": "succeeded",
    "userSubscription": {
      "_id": "507f1f77bcf86cd799439011",
      "groupId": "G0000001",
      "templateId": "507f191e810c19729de860ea",
      "name": "Pro Plan",
      "description": "Professional messaging plan",
      "monthlyFee": 5000000,
      "monthlyPlanSmsSegments": 10000,
      "accumulatedSmsSegments": 10700,
      "usedSmsSegments": 0,
      "monthlyPlanMmsSegments": 1000,
      "accumulatedMmsSegments": 1080,
      "usedMmsSegments": 0,
      "planDetails": [
        "10,000 SMS segments/mo",
        "1,000 MMS segments/mo"
      ],
      "status": "ACTIVE",
      "periodStart": "2024-02-15T00:05:00.000Z",
      "periodEnd": "2024-03-14T23:59:59.999Z",
      "nextTemplateId": null,
      "smsInbound": 0,
      "smsOutbound": 20000,
      "smsCarrierInboundDefault": 4000,
      "smsCarrierOutboundDefault": 4000,
      "smsCarrierInboundTMobile": 2500,
      "smsCarrierOutboundTMobile": 4500,
      "smsCarrierInboundATT": 3500,
      "smsCarrierOutboundATT": 3500,
      "smsCarrierInboundVerizon": 0,
      "smsCarrierOutboundVerizon": 5000,
      "smsCarrierInboundUSCellular": 2500,
      "smsCarrierOutboundUSCellular": 4500,
      "smsCarrierInboundGoogleVoice": 3500,
      "smsCarrierOutboundGoogleVoice": 3500,
      "smsCarrierInboundClearSky": 5000,
      "smsCarrierOutboundClearSky": 5000,
      "smsCarrierInboundInterop": 4500,
      "smsCarrierOutboundInterop": 4500,
      "mmsInbound": 0,
      "mmsOutbound": 22000,
      "mmsCarrierInboundDefault": 10000,
      "mmsCarrierOutboundDefault": 10000,
      "mmsCarrierInboundTMobile": 2500,
      "mmsCarrierOutboundTMobile": 4500,
      "mmsCarrierInboundATT": 3500,
      "mmsCarrierOutboundATT": 3500,
      "mmsCarrierInboundVerizon": 0,
      "mmsCarrierOutboundVerizon": 7000,
      "mmsCarrierInboundUSCellular": 2500,
      "mmsCarrierOutboundUSCellular": 4500,
      "mmsCarrierInboundGoogleVoice": 3500,
      "mmsCarrierOutboundGoogleVoice": 3500,
      "mmsCarrierInboundClearSky": 4000,
      "mmsCarrierOutboundClearSky": 4000,
      "mmsCarrierInboundInterop": 3500,
      "mmsCarrierOutboundInterop": 3500,
      "numberTollFree": 10000000,
      "numberLocal": 1000000,
      "numberLocalRenew": 1000000,
      "numberLookup": 500,
      "numberValidation": 5000,
      "carrierIdLookup": 3000,
      "simSwapCheck": 10000,
      "numberVerifyCheck": 10000,
      "campaign2FA": 10000000,
      "campaignAccountNotification": 10000000,
      "campaignAgentsFranchises": 30000000,
      "campaignCarrierExempt": 10000000,
      "campaignCharity": 3000000,
      "campaignCustomerCare": 10000000,
      "campaignDeliveryNotification": 10000000,
      "campaignEmergency": 5000000,
      "campaignFraudAlert": 10000000,
      "campaignHigherEducation": 10000000,
      "campaignK12Education": 10000000,
      "campaignLowVolume": 1500000,
      "campaignM2M": 10000000,
      "campaignMarketing": 10000000,
      "campaignMixed": 10000000,
      "campaignPolitical": 10000000,
      "campaignPollingVoting": 10000000,
      "campaignProxy": 10000000,
      "campaignPublicServiceAnnouncement": 10000000,
      "campaignSecurityAlert": 10000000,
      "campaignSocial": 10000000,
      "campaignSoleProprietor": 2000000,
      "campaignSweepstake": 10000000,
      "campaignTrial": 10000000,
      "campaignUCAASHigh": 10000000,
      "campaignUCAASLow": 1500000,
      "campaignResubmit": 15000000,
      "campaignCreate": 15000000,
      "brandCreate": 4500000,
      "brandUpdate": 1000000,
      "brandVettingStandardAegis": 41500000,
      "brandVettingStandardWmc": 41500000,
      "brandVettingEnhancedAegis": 101500000,
      "brandVettingAuthplusAegis": 12500000,
      "brandVettingRcsAegis": 75000000,
      "rcsVetting": 100000000,
      "rcsVetRenewal": 50000000,
      "rcsAgentVerificationRenewal": 10000000,
      "rcsLogoVetRenewal": 20000000,
      "rcsBannerVetRenewal": 20000000,
      "rcsAgentMonthly": 100000000,
      "rcsLogoVet": 20000000,
      "rcsBannerVet": 20000000,
      "rcsAgentToken": 10000000,
      "rcsCampaignVerify": 10000000,
      "rcsCarrierActivationTMobile": 500000000,
      "rcsRichOutbound": 6500,
      "rcsRichMediaOutbound": 16000,
      "rcsRichInbound": 5000,
      "rcsRichMediaInbound": 5000,
      "rcsActionClick": 1000,
      "rcsMediaSurchargeTMobile": 1000,
      "rcsCarrierOutboundATT": 4500,
      "rcsCarrierOutboundTMobile": 6200,
      "rcsCarrierOutboundVerizon": 5000,
      "rcsCarrierOutboundUSCellular": 6200,
      "rcsCarrierOutboundClearSky": 4000,
      "rcsCarrierOutboundInterop": 3000,
      "rcsCarrierOutboundSpectrum": 4000,
      "rcsCarrierOutboundXfinity": 4000,
      "rcsCarrierOutboundDefault": 6200,
      "rcsCarrierRichMediaOutboundATT": 10000,
      "rcsCarrierRichMediaOutboundTMobile": 12500,
      "rcsCarrierRichMediaOutboundVerizon": 7000,
      "rcsCarrierRichMediaOutboundUSCellular": 12500,
      "rcsCarrierRichMediaOutboundClearSky": 10000,
      "rcsCarrierRichMediaOutboundInterop": 5000,
      "rcsCarrierRichMediaOutboundSpectrum": 6000,
      "rcsCarrierRichMediaOutboundXfinity": 8000,
      "rcsCarrierRichMediaOutboundDefault": 12500,
      "rcsCarrierInboundATT": 4500,
      "rcsCarrierInboundTMobile": 2500,
      "rcsCarrierInboundVerizon": 0,
      "rcsCarrierInboundUSCellular": 2500,
      "rcsCarrierInboundClearSky": 4000,
      "rcsCarrierInboundInterop": 0,
      "rcsCarrierInboundSpectrum": 4000,
      "rcsCarrierInboundXfinity": 0,
      "rcsCarrierInboundDefault": 4500,
      "rcsCarrierRichMediaInboundATT": 10000,
      "rcsCarrierRichMediaInboundTMobile": 12500,
      "rcsCarrierRichMediaInboundVerizon": 0,
      "rcsCarrierRichMediaInboundUSCellular": 12500,
      "rcsCarrierRichMediaInboundClearSky": 10000,
      "rcsCarrierRichMediaInboundInterop": 0,
      "rcsCarrierRichMediaInboundSpectrum": 6000,
      "rcsCarrierRichMediaInboundXfinity": 0,
      "rcsCarrierRichMediaInboundDefault": 12500,
      "rcsSession": 55000,
      "rcsCarrierSessionA2PATT": 30000,
      "rcsCarrierSessionA2PTMobile": 60000,
      "rcsCarrierSessionA2PVerizon": 9000,
      "rcsCarrierSessionA2PSpectrum": 9000,
      "rcsCarrierSessionA2PDish": 9000,
      "rcsCarrierSessionA2PClearSky": 30000,
      "rcsCarrierSessionA2PXfinity": 10000,
      "rcsCarrierSessionA2PDefault": 60000,
      "rcsCarrierSessionP2AATT": 30000,
      "rcsCarrierSessionP2ATMobile": 60000,
      "rcsCarrierSessionP2AVerizon": 9000,
      "rcsCarrierSessionP2ASpectrum": 9000,
      "rcsCarrierSessionP2ADish": 9000,
      "rcsCarrierSessionP2AClearSky": 30000,
      "rcsCarrierSessionP2AXfinity": 0,
      "rcsCarrierSessionP2ADefault": 60000,
      "brandRevet": 4500000,
      "createdAt": "2024-02-15T00:05:00.000Z",
      "updatedAt": "2024-02-15T00:05:00.000Z"
    }
  }
}
```

#### `SUBSCRIPTION_RENEWAL_FAILED`

Monthly subscription auto-renewal failed (e.g., insufficient funds). The metaData contains the subscription that failed to renew.

SUBSCRIPTION\_RENEWAL\_FAILED Payload

```json
{
  "timestamp": "2024-02-15T00:05:00.000Z",
  "event": "SUBSCRIPTION_RENEWAL_FAILED",
  "identifier": "G0000001",
  "metaData": {
    "renewalStatus": "failed",
    "userSubscription": {
      "_id": "507f1f77bcf86cd799439011",
      "groupId": "G0000001",
      "templateId": "507f191e810c19729de860ea",
      "name": "Pro Plan",
      "description": "Professional messaging plan",
      "monthlyFee": 5000000,
      "monthlyPlanSmsSegments": 10000,
      "accumulatedSmsSegments": 10000,
      "usedSmsSegments": 3500,
      "monthlyPlanMmsSegments": 1000,
      "accumulatedMmsSegments": 1000,
      "usedMmsSegments": 200,
      "planDetails": [
        "10,000 SMS segments/mo",
        "1,000 MMS segments/mo"
      ],
      "status": "ACTIVE",
      "periodStart": "2024-01-15T00:05:00.000Z",
      "periodEnd": "2024-02-14T23:59:59.999Z",
      "nextTemplateId": null,
      "smsInbound": 0,
      "smsOutbound": 20000,
      "smsCarrierInboundDefault": 4000,
      "smsCarrierOutboundDefault": 4000,
      "smsCarrierInboundTMobile": 2500,
      "smsCarrierOutboundTMobile": 4500,
      "smsCarrierInboundATT": 3500,
      "smsCarrierOutboundATT": 3500,
      "smsCarrierInboundVerizon": 0,
      "smsCarrierOutboundVerizon": 5000,
      "smsCarrierInboundUSCellular": 2500,
      "smsCarrierOutboundUSCellular": 4500,
      "smsCarrierInboundGoogleVoice": 3500,
      "smsCarrierOutboundGoogleVoice": 3500,
      "smsCarrierInboundClearSky": 5000,
      "smsCarrierOutboundClearSky": 5000,
      "smsCarrierInboundInterop": 4500,
      "smsCarrierOutboundInterop": 4500,
      "mmsInbound": 0,
      "mmsOutbound": 22000,
      "mmsCarrierInboundDefault": 10000,
      "mmsCarrierOutboundDefault": 10000,
      "mmsCarrierInboundTMobile": 2500,
      "mmsCarrierOutboundTMobile": 4500,
      "mmsCarrierInboundATT": 3500,
      "mmsCarrierOutboundATT": 3500,
      "mmsCarrierInboundVerizon": 0,
      "mmsCarrierOutboundVerizon": 7000,
      "mmsCarrierInboundUSCellular": 2500,
      "mmsCarrierOutboundUSCellular": 4500,
      "mmsCarrierInboundGoogleVoice": 3500,
      "mmsCarrierOutboundGoogleVoice": 3500,
      "mmsCarrierInboundClearSky": 4000,
      "mmsCarrierOutboundClearSky": 4000,
      "mmsCarrierInboundInterop": 3500,
      "mmsCarrierOutboundInterop": 3500,
      "numberTollFree": 10000000,
      "numberLocal": 1000000,
      "numberLocalRenew": 1000000,
      "numberLookup": 500,
      "numberValidation": 5000,
      "carrierIdLookup": 3000,
      "simSwapCheck": 10000,
      "numberVerifyCheck": 10000,
      "campaign2FA": 10000000,
      "campaignAccountNotification": 10000000,
      "campaignAgentsFranchises": 30000000,
      "campaignCarrierExempt": 10000000,
      "campaignCharity": 3000000,
      "campaignCustomerCare": 10000000,
      "campaignDeliveryNotification": 10000000,
      "campaignEmergency": 5000000,
      "campaignFraudAlert": 10000000,
      "campaignHigherEducation": 10000000,
      "campaignK12Education": 10000000,
      "campaignLowVolume": 1500000,
      "campaignM2M": 10000000,
      "campaignMarketing": 10000000,
      "campaignMixed": 10000000,
      "campaignPolitical": 10000000,
      "campaignPollingVoting": 10000000,
      "campaignProxy": 10000000,
      "campaignPublicServiceAnnouncement": 10000000,
      "campaignSecurityAlert": 10000000,
      "campaignSocial": 10000000,
      "campaignSoleProprietor": 2000000,
      "campaignSweepstake": 10000000,
      "campaignTrial": 10000000,
      "campaignUCAASHigh": 10000000,
      "campaignUCAASLow": 1500000,
      "campaignResubmit": 15000000,
      "campaignCreate": 15000000,
      "brandCreate": 4500000,
      "brandUpdate": 1000000,
      "brandVettingStandardAegis": 41500000,
      "brandVettingStandardWmc": 41500000,
      "brandVettingEnhancedAegis": 101500000,
      "brandVettingAuthplusAegis": 12500000,
      "brandVettingRcsAegis": 75000000,
      "rcsVetting": 100000000,
      "rcsVetRenewal": 50000000,
      "rcsAgentMonthly": 100000000,
      "rcsLogoVet": 20000000,
      "rcsBannerVet": 20000000,
      "rcsAgentToken": 10000000,
      "rcsCampaignVerify": 10000000,
      "rcsCarrierActivationTMobile": 500000000,
      "rcsRichOutbound": 6500,
      "rcsRichMediaOutbound": 16000,
      "rcsRichInbound": 5000,
      "rcsRichMediaInbound": 5000,
      "rcsActionClick": 1000,
      "rcsMediaSurchargeTMobile": 1000,
      "rcsCarrierOutboundATT": 4500,
      "rcsCarrierOutboundTMobile": 6200,
      "rcsCarrierOutboundVerizon": 5000,
      "rcsCarrierOutboundUSCellular": 6200,
      "rcsCarrierOutboundClearSky": 4000,
      "rcsCarrierOutboundInterop": 3000,
      "rcsCarrierOutboundSpectrum": 4000,
      "rcsCarrierOutboundXfinity": 4000,
      "rcsCarrierOutboundDefault": 6200,
      "rcsCarrierRichMediaOutboundATT": 10000,
      "rcsCarrierRichMediaOutboundTMobile": 12500,
      "rcsCarrierRichMediaOutboundVerizon": 7000,
      "rcsCarrierRichMediaOutboundUSCellular": 12500,
      "rcsCarrierRichMediaOutboundClearSky": 10000,
      "rcsCarrierRichMediaOutboundInterop": 5000,
      "rcsCarrierRichMediaOutboundSpectrum": 6000,
      "rcsCarrierRichMediaOutboundXfinity": 8000,
      "rcsCarrierRichMediaOutboundDefault": 12500,
      "rcsCarrierInboundATT": 4500,
      "rcsCarrierInboundTMobile": 2500,
      "rcsCarrierInboundVerizon": 0,
      "rcsCarrierInboundUSCellular": 2500,
      "rcsCarrierInboundClearSky": 4000,
      "rcsCarrierInboundInterop": 0,
      "rcsCarrierInboundSpectrum": 4000,
      "rcsCarrierInboundXfinity": 0,
      "rcsCarrierInboundDefault": 4500,
      "rcsCarrierRichMediaInboundATT": 10000,
      "rcsCarrierRichMediaInboundTMobile": 12500,
      "rcsCarrierRichMediaInboundVerizon": 0,
      "rcsCarrierRichMediaInboundUSCellular": 12500,
      "rcsCarrierRichMediaInboundClearSky": 10000,
      "rcsCarrierRichMediaInboundInterop": 0,
      "rcsCarrierRichMediaInboundSpectrum": 6000,
      "rcsCarrierRichMediaInboundXfinity": 0,
      "rcsCarrierRichMediaInboundDefault": 12500,
      "rcsSession": 55000,
      "rcsCarrierSessionA2PATT": 30000,
      "rcsCarrierSessionA2PTMobile": 60000,
      "rcsCarrierSessionA2PVerizon": 9000,
      "rcsCarrierSessionA2PSpectrum": 9000,
      "rcsCarrierSessionA2PDish": 9000,
      "rcsCarrierSessionA2PClearSky": 30000,
      "rcsCarrierSessionA2PXfinity": 10000,
      "rcsCarrierSessionA2PDefault": 60000,
      "rcsCarrierSessionP2AATT": 30000,
      "rcsCarrierSessionP2ATMobile": 60000,
      "rcsCarrierSessionP2AVerizon": 9000,
      "rcsCarrierSessionP2ASpectrum": 9000,
      "rcsCarrierSessionP2ADish": 9000,
      "rcsCarrierSessionP2AClearSky": 30000,
      "rcsCarrierSessionP2AXfinity": 0,
      "rcsCarrierSessionP2ADefault": 60000,
      "brandRevet": 4500000,
      "createdAt": "2024-01-15T00:05:00.000Z",
      "updatedAt": "2024-02-14T12:00:00.000Z"
    }
  }
}
```

### Billing Events

#### `LOW_BALANCE_ALERT`

Wallet available balance dropped below $100. Available balance is wallet balance minus reserved funds. A wallet receives at most five low-balance alerts until it recovers or funds are added.

LOW\_BALANCE\_ALERT Payload

```json
{
  "timestamp": "2024-02-15T12:00:00.000Z",
  "event": "LOW_BALANCE_ALERT",
  "identifier": "G0000001",
  "metaData": {
    "availableBalance": 85000000,
    "alertCount": 1
  }
}
```

#### `AUTO_RECHARGE_SUCCESSFUL`

Auto-recharge triggered and successfully added funds to the wallet.

AUTO\_RECHARGE\_SUCCESSFUL Payload

```json
{
  "timestamp": "2024-02-15T12:01:00.000Z",
  "event": "AUTO_RECHARGE_SUCCESSFUL",
  "identifier": "G0000001",
  "metaData": {
    "originalAvailableBalance": 85000000,
    "newAvailableBalance": 135000000,
    "failedAutoRechargeAttempts": 0
  }
}
```

#### `AUTO_RECHARGE_FAILED`

Auto-recharge triggered but all available payment attempts failed.

AUTO\_RECHARGE\_FAILED Payload

```json
{
  "timestamp": "2024-02-15T12:01:00.000Z",
  "event": "AUTO_RECHARGE_FAILED",
  "identifier": "G0000001",
  "metaData": {
    "originalAvailableBalance": 85000000,
    "newAvailableBalance": 85000000,
    "failedAutoRechargeAttempts": 1
  }
}
```

### Message Events

#### `SMS_SENT`

Outbound SMS was accepted by the carrier. The metaData contains the carrier, carrier family, and regional carrier code when applicable, plus the subgroup, brand, and campaign IDs for downstream filtering.

SMS\_SENT Payload

```json
{
  "timestamp": "2024-01-15T14:30:02.000Z",
  "event": "SMS_SENT",
  "identifier": "60f7b2a1c9e77c001a2b3c58",
  "metaData": {
    "carrier": "T-Mobile",
    "carrierFamily": "TMobile",
    "carrierRegion": null,
    "subgroupId": "S1234567",
    "brandId": "B1234567",
    "campaignId": "C1234567"
  }
}
```

#### `SMS_FAILED`

Outbound SMS failed to send. identifier is the failed message's ID, and metaData.Message gives the reason when there is one. The one exception: when a whole batch fails before it is sent, for example because the campaign is no longer active, a Global endpoint gets a single webhook whose identifier is the array of the batch's message IDs, as in the example, while a Number endpoint gets one webhook per message. Read identifier as either a string or an array.

SMS\_FAILED Payload

```json
{
  "timestamp": "2024-01-15T14:30:02.000Z",
  "event": "SMS_FAILED",
  "identifier": [
    "60f7b2a1c9e77c001a2b3c58"
  ],
  "metaData": {
    "Message": "Failed to send SMS message because the campaign is not active",
    "campaignId": "C1234567"
  }
}
```

#### `MMS_SENT`

Outbound MMS was accepted by the carrier. The metaData contains the carrier, carrier family, and regional carrier code when applicable, plus the subgroup, brand, and campaign IDs for downstream filtering.

MMS\_SENT Payload

```json
{
  "timestamp": "2024-01-15T14:32:10.000Z",
  "event": "MMS_SENT",
  "identifier": "60f7b2a1c9e77c001a2b3c58",
  "metaData": {
    "carrier": "T-Mobile",
    "carrierFamily": "TMobile",
    "carrierRegion": null,
    "subgroupId": "S1234567",
    "brandId": "B1234567",
    "campaignId": "C1234567"
  }
}
```

#### `MMS_FAILED`

Outbound MMS failed to send. identifier is the failed message's ID, and metaData.Message gives the reason when there is one. The one exception: when a whole batch fails before it is sent, for example because the campaign is no longer active or the toll-free number can't send MMS, a Global endpoint gets a single webhook whose identifier is the array of the batch's message IDs, as in the example, while a Number endpoint gets one webhook per message. Read identifier as either a string or an array.

MMS\_FAILED Payload

```json
{
  "timestamp": "2024-01-15T14:32:10.000Z",
  "event": "MMS_FAILED",
  "identifier": [
    "60f7b2a1c9e77c001a2b3c58"
  ],
  "metaData": {
    "Message": "Failed to send MMS message because the campaign is not active",
    "campaignId": "C1234567"
  }
}
```

#### `MESSAGE_DELIVERED`

Carrier confirmed the message was delivered to the handset. Fires for both A2P (SMS/MMS) and P2P messages. Delivered via Global webhook endpoints for P2P, which has no dedicated sender number. The metaData contains the full Message document. For an RCS message, metaData is the shorter RCS shape shown on MESSAGE\_SENT.

MESSAGE\_DELIVERED Payload

```json
{
  "timestamp": "2024-01-15T14:30:05.000Z",
  "event": "MESSAGE_DELIVERED",
  "identifier": "60f7b2a1c9e77c001a2b3c58",
  "metaData": {
    "_id": "60f7b2a1c9e77c001a2b3c58",
    "groupId": "G1234567",
    "subgroupId": "S1234567",
    "brandId": "B1234567",
    "campaignId": "C1234567",
    "phoneNumber": "12246431042",
    "carrier": "T-Mobile",
    "carrierFamily": "TMobile",
    "carrierRegion": null,
    "plmn": "310260",
    "messageType": "SMS",
    "direction": "OUTBOUND",
    "recipientPhoneNumber": "14175551234",
    "messageBody": "Hello from Signal House!",
    "segmentCount": 1,
    "statusCallbackUrl": null,
    "status": "DELIVERED",
    "statusHistory": [
      {
        "timestamp": "2024-01-15T14:30:00.000Z",
        "status": "ENQUEUED"
      },
      {
        "timestamp": "2024-01-15T14:30:01.000Z",
        "status": "DEQUEUED"
      },
      {
        "timestamp": "2024-01-15T14:30:02.000Z",
        "status": "SENT"
      },
      {
        "timestamp": "2024-01-15T14:30:05.000Z",
        "status": "DELIVERED"
      }
    ],
    "dcaBulkId": "dca-bulk-abc123",
    "externalMediaUrls": [],
    "uploadedFileReferences": [],
    "isGroupMessage": false,
    "enableCompression": false,
    "successOrFailureReason": "Delivered to handset",
    "enableShortlink": false,
    "shortlinkCount": 0,
    "createdAt": "2024-01-15T14:30:00.000Z",
    "updatedAt": "2024-01-15T14:30:05.000Z"
  }
}
```

#### `MESSAGE_FAILED`

Carrier reported delivery failure. Fires for both A2P (SMS/MMS) and P2P messages. Delivered via Global webhook endpoints for P2P, which has no dedicated sender number. The metaData contains the full Message document (with status "FAILED"). For an RCS message, metaData is the shorter RCS shape shown on MESSAGE\_SENT.

MESSAGE\_FAILED Payload

```json
{
  "timestamp": "2024-01-15T14:30:05.000Z",
  "event": "MESSAGE_FAILED",
  "identifier": "60f7b2a1c9e77c001a2b3c58",
  "metaData": {
    "_id": "60f7b2a1c9e77c001a2b3c58",
    "groupId": "G1234567",
    "subgroupId": "S1234567",
    "brandId": "B1234567",
    "campaignId": "C1234567",
    "phoneNumber": "12246431042",
    "carrier": "T-Mobile",
    "carrierFamily": "TMobile",
    "carrierRegion": null,
    "plmn": "310260",
    "messageType": "SMS",
    "direction": "OUTBOUND",
    "recipientPhoneNumber": "14175551234",
    "messageBody": "Hello from Signal House!",
    "segmentCount": 1,
    "statusCallbackUrl": null,
    "status": "FAILED",
    "statusHistory": [
      {
        "timestamp": "2024-01-15T14:30:00.000Z",
        "status": "ENQUEUED"
      },
      {
        "timestamp": "2024-01-15T14:30:01.000Z",
        "status": "DEQUEUED"
      },
      {
        "timestamp": "2024-01-15T14:30:02.000Z",
        "status": "SENT"
      },
      {
        "timestamp": "2024-01-15T14:30:05.000Z",
        "status": "FAILED"
      }
    ],
    "dcaBulkId": "dca-bulk-abc123",
    "externalMediaUrls": [],
    "uploadedFileReferences": [],
    "isGroupMessage": false,
    "enableCompression": false,
    "successOrFailureReason": "Unknown subscriber",
    "enableShortlink": false,
    "shortlinkCount": 0,
    "createdAt": "2024-01-15T14:30:00.000Z",
    "updatedAt": "2024-01-15T14:30:05.000Z"
  }
}
```

#### `MESSAGE_RECEIVED`

An inbound SMS or MMS was received on one of your numbers. The metaData wraps the full inbound Message document under a capital-M "Message" key. A picture sent to a toll-free number whose brand reports tollFree.supportsMms as false arrives as its text only: the message is an MMS with no media links, billed as an inbound MMS. An inbound message carries inReplyToMessageId, the message it answers. A reply chip or button names its message, so that link is exact; any other reply links to the newest message your number or agent sent that handset in the 7 days before it, while that message was sent, delivered or read and was not a STOP or HELP auto-reply. It is absent when there is no such message, on P2P replies, and on replies stored before the link was switched on. If that message has a parentMessageId, it was an RCS fallback, and the parent is the RCS message you sent.

MESSAGE\_RECEIVED Payload

```json
{
  "timestamp": "2024-01-15T15:00:00.000Z",
  "event": "MESSAGE_RECEIVED",
  "identifier": "60f7b2a1c9e77c001a2b3c59",
  "metaData": {
    "Message": {
      "_id": "60f7b2a1c9e77c001a2b3c59",
      "groupId": "G1234567",
      "subgroupId": "S1234567",
      "brandId": "B1234567",
      "campaignId": "C1234567",
      "phoneNumber": "12246431042",
      "carrier": "T-Mobile",
      "carrierFamily": "TMobile",
      "carrierRegion": null,
      "plmn": "310260",
      "messageType": "SMS",
      "direction": "INBOUND",
      "senderPhoneNumber": "14175551234",
      "recipientPhoneNumber": "12246431042",
      "messageBody": "Yes, I'd like to opt in!",
      "inReplyToMessageId": "60f7b2a1c9e77c001a2b3c58",
      "segmentCount": 1,
      "statusCallbackUrl": null,
      "status": "DELIVERED",
      "statusHistory": [
        {
          "timestamp": "2024-01-15T15:00:00.000Z",
          "status": "DELIVERED"
        }
      ],
      "dcaBulkId": "dca-bulk-xyz789",
      "externalMediaUrls": [],
      "uploadedFileReferences": [],
      "isGroupMessage": false,
      "enableCompression": false,
      "successOrFailureReason": null,
      "enableShortlink": false,
      "shortlinkCount": 0,
      "createdAt": "2024-01-15T15:00:00.000Z",
      "updatedAt": "2024-01-15T15:00:00.000Z"
    }
  }
}
```

#### `MESSAGE_QUEUED`

An RCS message was accepted and queued.

MESSAGE\_QUEUED Payload

```json
{
  "timestamp": "2026-11-10T15:00:03.300Z",
  "event": "MESSAGE_QUEUED",
  "identifier": "6912f0a1c4e8a73d9b2e4f10",
  "metaData": {
    "agentId": "RCSA7K2M1QZ8RP",
    "messageId": "6912f0a1c4e8a73d9b2e4f10",
    "clientMessageId": "ord-48213",
    "status": "ENQUEUED",
    "deliveredChannel": null,
    "templateId": null,
    "templateVersion": null,
    "recipientPhoneNumber": "12025550187",
    "carrier": "T-Mobile",
    "billingClass": "RICH",
    "trafficType": "TRANSACTION",
    "isTest": false,
    "fallbackReason": null,
    "fallbackMessageId": null,
    "blockReason": null,
    "reason": null,
    "metadata": {
      "orderId": "A-48213"
    }
  }
}
```

#### `MESSAGE_SENT`

The carrier partner accepted an RCS message.

MESSAGE\_SENT Payload

```json
{
  "timestamp": "2026-11-10T15:00:03.300Z",
  "event": "MESSAGE_SENT",
  "identifier": "6912f0a1c4e8a73d9b2e4f10",
  "metaData": {
    "agentId": "RCSA7K2M1QZ8RP",
    "messageId": "6912f0a1c4e8a73d9b2e4f10",
    "clientMessageId": "ord-48213",
    "status": "SENT",
    "deliveredChannel": null,
    "templateId": null,
    "templateVersion": null,
    "recipientPhoneNumber": "12025550187",
    "carrier": "T-Mobile",
    "billingClass": "RICH",
    "trafficType": "TRANSACTION",
    "isTest": false,
    "fallbackReason": null,
    "fallbackMessageId": null,
    "blockReason": null,
    "reason": null,
    "metadata": {
      "orderId": "A-48213"
    }
  }
}
```

#### `MESSAGE_READ`

The recipient read an RCS message. MESSAGE\_DELIVERED fires first, unless the read report arrives first.

MESSAGE\_READ Payload

```json
{
  "timestamp": "2026-11-10T15:00:03.300Z",
  "event": "MESSAGE_READ",
  "identifier": "6912f0a1c4e8a73d9b2e4f10",
  "metaData": {
    "agentId": "RCSA7K2M1QZ8RP",
    "messageId": "6912f0a1c4e8a73d9b2e4f10",
    "clientMessageId": "ord-48213",
    "status": "READ",
    "deliveredChannel": "rcs",
    "templateId": null,
    "templateVersion": null,
    "recipientPhoneNumber": "12025550187",
    "carrier": "T-Mobile",
    "billingClass": "RICH",
    "trafficType": "TRANSACTION",
    "isTest": false,
    "fallbackReason": null,
    "fallbackMessageId": null,
    "blockReason": null,
    "reason": null,
    "metadata": {
      "orderId": "A-48213"
    }
  }
}
```

#### `MESSAGE_EXPIRED`

An RCS message with no fallback expired before delivery.

MESSAGE\_EXPIRED Payload

```json
{
  "timestamp": "2026-11-10T15:00:03.300Z",
  "event": "MESSAGE_EXPIRED",
  "identifier": "6912f0a1c4e8a73d9b2e4f10",
  "metaData": {
    "agentId": "RCSA7K2M1QZ8RP",
    "messageId": "6912f0a1c4e8a73d9b2e4f10",
    "clientMessageId": "ord-48213",
    "status": "EXPIRED",
    "deliveredChannel": null,
    "templateId": null,
    "templateVersion": null,
    "recipientPhoneNumber": "12025550187",
    "carrier": "T-Mobile",
    "billingClass": "RICH",
    "trafficType": "TRANSACTION",
    "isTest": false,
    "fallbackReason": "TTL_EXPIRED",
    "fallbackMessageId": null,
    "blockReason": null,
    "reason": null,
    "metadata": {
      "orderId": "A-48213"
    }
  }
}
```

#### `MESSAGE_FAILED`

An RCS message failed with no fallback to run. reason says why, in words; a refusal by the carrier partner carries what it said.

MESSAGE\_FAILED Payload

```json
{
  "timestamp": "2026-11-10T15:00:03.300Z",
  "event": "MESSAGE_FAILED",
  "identifier": "6912f0a1c4e8a73d9b2e4f10",
  "metaData": {
    "agentId": "RCSA7K2M1QZ8RP",
    "messageId": "6912f0a1c4e8a73d9b2e4f10",
    "clientMessageId": "ord-48213",
    "status": "FAILED",
    "deliveredChannel": null,
    "templateId": null,
    "templateVersion": null,
    "recipientPhoneNumber": "12025550187",
    "carrier": "T-Mobile",
    "billingClass": "RICH",
    "trafficType": "TRANSACTION",
    "isTest": false,
    "fallbackReason": "RCS_ERROR",
    "fallbackMessageId": null,
    "blockReason": null,
    "reason": "The carrier partner refused this message",
    "metadata": {
      "orderId": "A-48213"
    }
  }
}
```

#### `MESSAGE_BLOCKED`

A recipient was blocked before reaching a carrier. blockReason says why: NOT\_TESTER, OPTED\_OUT, QUIET\_HOURS, VARIABLE\_MISSING, CONTENT\_INVALID or MODERATION, and reason says it in words. Nothing is charged and no fallback runs.

MESSAGE\_BLOCKED Payload

```json
{
  "timestamp": "2026-11-10T15:00:03.300Z",
  "event": "MESSAGE_BLOCKED",
  "identifier": "6912f0a1c4e8a73d9b2e4f10",
  "metaData": {
    "agentId": "RCSA7K2M1QZ8RP",
    "messageId": "6912f0a1c4e8a73d9b2e4f10",
    "clientMessageId": "ord-48213",
    "status": "BLOCKED",
    "deliveredChannel": null,
    "templateId": null,
    "templateVersion": null,
    "recipientPhoneNumber": "12025550187",
    "carrier": "T-Mobile",
    "billingClass": "RICH",
    "trafficType": "TRANSACTION",
    "isTest": false,
    "fallbackReason": null,
    "fallbackMessageId": null,
    "blockReason": "OPTED_OUT",
    "reason": "The recipient has opted out",
    "metadata": {
      "orderId": "A-48213"
    }
  }
}
```

#### `MESSAGE_FALLBACK_TRIGGERED`

An RCS message moved to its SMS or MMS fallback. fallbackReason says why: NOT\_CAPABLE, CARRIER\_NOT\_LAUNCHED, TTL\_EXPIRED, RCS\_ERROR, PROVIDER\_ERROR or SMS\_ONLY.

MESSAGE\_FALLBACK\_TRIGGERED Payload

```json
{
  "timestamp": "2026-11-10T15:00:03.300Z",
  "event": "MESSAGE_FALLBACK_TRIGGERED",
  "identifier": "6912f0a1c4e8a73d9b2e4f10",
  "metaData": {
    "agentId": "RCSA7K2M1QZ8RP",
    "messageId": "6912f0a1c4e8a73d9b2e4f10",
    "clientMessageId": "ord-48213",
    "status": "FALLBACK",
    "deliveredChannel": "sms",
    "templateId": null,
    "templateVersion": null,
    "recipientPhoneNumber": "12025550187",
    "carrier": "T-Mobile",
    "billingClass": "RICH",
    "trafficType": "TRANSACTION",
    "isTest": false,
    "fallbackReason": "NOT_CAPABLE",
    "fallbackMessageId": "6912f0a2c4e8a73d9b2e4f55",
    "blockReason": null,
    "reason": null,
    "metadata": {
      "orderId": "A-48213"
    }
  }
}
```

#### `MESSAGE_FALLBACK_SENT`

The fallback leg was queued as an ordinary SMS or MMS.

MESSAGE\_FALLBACK\_SENT Payload

```json
{
  "timestamp": "2026-11-10T15:00:03.300Z",
  "event": "MESSAGE_FALLBACK_SENT",
  "identifier": "6912f0a1c4e8a73d9b2e4f10",
  "metaData": {
    "agentId": "RCSA7K2M1QZ8RP",
    "messageId": "6912f0a1c4e8a73d9b2e4f10",
    "clientMessageId": "ord-48213",
    "status": "FALLBACK",
    "deliveredChannel": "sms",
    "templateId": null,
    "templateVersion": null,
    "recipientPhoneNumber": "12025550187",
    "carrier": "T-Mobile",
    "billingClass": "RICH",
    "trafficType": "TRANSACTION",
    "isTest": false,
    "fallbackReason": "NOT_CAPABLE",
    "fallbackMessageId": "6912f0a2c4e8a73d9b2e4f55",
    "blockReason": null,
    "reason": null,
    "metadata": {
      "orderId": "A-48213"
    }
  }
}
```

#### `MESSAGE_FALLBACK_DELIVERED`

The fallback leg was delivered. metaData is the SMS or MMS message, with parentMessageId naming the RCS message.

MESSAGE\_FALLBACK\_DELIVERED Payload

```json
{
  "timestamp": "2026-11-10T15:00:09.000Z",
  "event": "MESSAGE_FALLBACK_DELIVERED",
  "identifier": "6912f0a1c4e8a73d9b2e4f10",
  "metaData": {
    "_id": "6912f0a2c4e8a73d9b2e4f55",
    "parentMessageId": "6912f0a1c4e8a73d9b2e4f10",
    "messageType": "SMS",
    "status": "DELIVERED",
    "fallbackReason": "NOT_CAPABLE"
  }
}
```

#### `SUGGESTION_RESPONSE`

A recipient tapped a reply chip or an action button. suggestion.postbackData is the value you authored, with its variables filled in for this recipient. suggestion.buttonId is the button's position in the content this recipient got, {blockIndex}.{cardIndex|m}.{suggestionIndex}. A variable with missingPolicy drop can leave blocks out and change it, so match taps on postbackData. templateId and templateVersion are null on a direct send.

SUGGESTION\_RESPONSE Payload

```json
{
  "timestamp": "2026-11-10T15:03:05.400Z",
  "event": "SUGGESTION_RESPONSE",
  "identifier": "6912f0a1c4e8a73d9b2e4f10",
  "metaData": {
    "agentId": "RCSA7K2M1QZ8RP",
    "messageId": "6912f0a1c4e8a73d9b2e4f10",
    "clientMessageId": "ord-48213",
    "templateId": "TPL0000123",
    "templateVersion": 3,
    "recipientPhoneNumber": "12025550187",
    "suggestion": {
      "actionType": "OPEN_URL",
      "buttonId": "1.m.1",
      "label": "Track package",
      "postbackData": "track_pkg"
    },
    "metadata": {
      "orderId": "A-48213"
    },
    "occurredAt": "2026-11-10T15:03:05.000Z"
  }
}
```

#### `USER_UNSUBSCRIBED`

A recipient opted out over RCS: by a keyword, including your linked campaign's registered opt-out words, or by tapping a suggestion whose label or postbackData is one. A postbackData matches only as a whole value, so use one you mean as an opt-out. The opt-out blocks that agent's PROMOTION traffic and its SMS fallback leg; other traffic types still go over RCS. Promotional sends from other agents on the same brand are blocked too. Every agent also answers BAJA, PARAR and ARRET as opt-out words.

USER\_UNSUBSCRIBED Payload

```json
{
  "timestamp": "2026-11-10T15:04:00.400Z",
  "event": "USER_UNSUBSCRIBED",
  "identifier": "6912f1b0c4e8a73d9b2e4f88",
  "metaData": {
    "agentId": "RCSA7K2M1QZ8RP",
    "recipientPhoneNumber": "12025550187",
    "keyword": "stop",
    "clientMessageId": "ord-48213",
    "metadata": {
      "campaign": "fall"
    }
  }
}
```

#### `USER_SUBSCRIBED`

A recipient opted back in over RCS. The opt-in clears that agent and its linked campaign.

USER\_SUBSCRIBED Payload

```json
{
  "timestamp": "2026-11-10T15:05:00.400Z",
  "event": "USER_SUBSCRIBED",
  "identifier": "6912f1b0c4e8a73d9b2e4f99",
  "metaData": {
    "agentId": "RCSA7K2M1QZ8RP",
    "recipientPhoneNumber": "12025550187",
    "keyword": "start",
    "clientMessageId": null,
    "metadata": null
  }
}
```

#### `P2P_SENT`

Retired: P2P messaging is no longer available. This event no longer fires. It was sent when an outbound P2P SMS was accepted for delivery. This is acceptance, not delivery — subscribe to MESSAGE\_DELIVERED / MESSAGE\_FAILED for the carrier's terminal outcome.

P2P\_SENT Payload

```json
{
  "timestamp": "2024-01-15T14:30:02.000Z",
  "event": "P2P_SENT",
  "identifier": "60f7b2a1c9e77c001a2b3c58",
  "metaData": {}
}
```

#### `P2P_FAILED`

Retired: P2P messaging is no longer available. This event no longer fires. It was sent when an outbound P2P SMS failed.

P2P\_FAILED Payload

```json
{
  "timestamp": "2024-01-15T14:30:02.000Z",
  "event": "P2P_FAILED",
  "identifier": "60f7b2a1c9e77c001a2b3c58",
  "metaData": {}
}
```

#### `P2P_INBOUND`

Retired: P2P messaging is no longer available. This event no longer fires. It was sent when an inbound P2P SMS was received. Delivered via Global webhook endpoints subscribed to P2P\_INBOUND. The P2P rail has no dedicated inbound number, so groupId and subgroupId are included in metaData to attribute the reply to the originating account.

P2P\_INBOUND Payload

```json
{
  "timestamp": "2024-01-15T15:00:00.000Z",
  "event": "P2P_INBOUND",
  "identifier": "60f7b2a1c9e77c001a2b3c59",
  "metaData": {
    "groupId": "G1234567",
    "subgroupId": "S1234567",
    "senderPhoneNumber": "14175551234",
    "recipientPhoneNumber": "12246431042",
    "messageBody": "Yes, I'd like to opt in!"
  }
}
```

#### `TMOBILE_THROUGHPUT_75`

A brand has exceeded 75% of its daily T-Mobile segment throughput limit. This is a notification only — messages are not blocked.

TMOBILE\_THROUGHPUT\_75 Payload

```json
{
  "timestamp": "2024-01-15T14:30:00.000Z",
  "event": "TMOBILE_THROUGHPUT_75",
  "identifier": "B000001",
  "metaData": {
    "brandId": "B000001",
    "brandName": "Acme Corp",
    "ein": "123456789",
    "threshold": "75%",
    "currentSegments": 1500,
    "dailyLimit": 2000,
    "message": "Brand Acme Corp (B000001) has exceeded 75% of its daily T-Mobile throughput"
  }
}
```

#### `TMOBILE_THROUGHPUT_90`

A brand has exceeded 90% of its daily T-Mobile segment throughput limit. This is a notification only — messages are not blocked.

TMOBILE\_THROUGHPUT\_90 Payload

```json
{
  "timestamp": "2024-01-15T14:30:00.000Z",
  "event": "TMOBILE_THROUGHPUT_90",
  "identifier": "B000001",
  "metaData": {
    "brandId": "B000001",
    "brandName": "Acme Corp",
    "ein": "123456789",
    "threshold": "90%",
    "currentSegments": 1800,
    "dailyLimit": 2000,
    "message": "Brand Acme Corp (B000001) has exceeded 90% of its daily T-Mobile throughput"
  }
}
```

#### `TMOBILE_THROUGHPUT_100`

A brand has exceeded 100% of its daily T-Mobile segment throughput limit. T-Mobile will silently drop further segments for this brand today. This is a notification only — messages are not blocked by Signal House.

TMOBILE\_THROUGHPUT\_100 Payload

```json
{
  "timestamp": "2024-01-15T14:30:00.000Z",
  "event": "TMOBILE_THROUGHPUT_100",
  "identifier": "B000001",
  "metaData": {
    "brandId": "B000001",
    "brandName": "Acme Corp",
    "ein": "123456789",
    "threshold": "100%",
    "currentSegments": 2000,
    "dailyLimit": 2000,
    "message": "Brand Acme Corp (B000001) has exceeded 100% of its daily T-Mobile throughput"
  }
}
```

### RCS Agent Events

#### `RCS_AGENT_STATUS_UPDATED`

An RCS agent's public status changed: it moved through creation, review, launch, approval, rejection, suspension or archiving, or a renewal restored it. status and previousStatus are the status GET /rcs/agent/:agentId returns; displayStatus is its label. reason is why, when the change has one, and reasonCodes holds the code of each rejection reason, or an empty list. actingParty says who moved it: user, staff, system or provider, where provider means the carrier partner. Fires only when the public status changes.

RCS\_AGENT\_STATUS\_UPDATED Payload

```json
{
  "timestamp": "2026-11-02T14:30:00.000Z",
  "event": "RCS_AGENT_STATUS_UPDATED",
  "identifier": "RCSA7K2M1QZ8RP",
  "metaData": {
    "agentId": "RCSA7K2M1QZ8RP",
    "previousStatus": "LAUNCH_SUBMITTED",
    "status": "PARTIALLY_LAUNCHED",
    "displayStatus": "Partially Launched",
    "reason": "A carrier launched the agent",
    "reasonCodes": [],
    "actingParty": "provider"
  }
}
```

#### `RCS_AGENT_CARRIER_STATUS_UPDATED`

One carrier's launch status changed, one event per carrier: PENDING, IN\_PROGRESS, COMPLETED, REJECTED, NOT\_REQUESTED or NEW. previousStatus is null for a carrier's first status. A carrier that rejects a relaunch fires again with REJECTED in both. reason is the carrier's rejection text, or null, and reasonCodes holds the code of each rejection reason. The carrier partner's brand verification, AEGIS\_BRAND\_VERIFICATION, is reported as a carrier.

RCS\_AGENT\_CARRIER\_STATUS\_UPDATED Payload

```json
{
  "timestamp": "2026-11-02T14:30:00.000Z",
  "event": "RCS_AGENT_CARRIER_STATUS_UPDATED",
  "identifier": "RCSA7K2M1QZ8RP",
  "metaData": {
    "agentId": "RCSA7K2M1QZ8RP",
    "previousStatus": "IN_PROGRESS",
    "status": "REJECTED",
    "carrier": "ATT",
    "reason": "Opt-in not shown in the video",
    "reasonCodes": [
      "CARRIER_COMMENT"
    ],
    "actingParty": "provider"
  }
}
```

#### `RCS_TESTER_STATUS_UPDATED`

A tester's invitation reached an outcome: APPROVED (accepted), EXPIRED (not accepted in time), UNSUPPORTED (the number cannot take RCS), FAILED (the invitation could not be sent) or REMOVED. An invitation still on its way does not fire this. previousStatus is null for a tester with no earlier status.

RCS\_TESTER\_STATUS\_UPDATED Payload

```json
{
  "timestamp": "2026-11-02T14:30:00.000Z",
  "event": "RCS_TESTER_STATUS_UPDATED",
  "identifier": "RCSA7K2M1QZ8RP",
  "metaData": {
    "agentId": "RCSA7K2M1QZ8RP",
    "phoneNumber": "15125559876",
    "previousStatus": "WAITING_FOR_TESTER_ACCEPTANCE",
    "status": "APPROVED"
  }
}
```

### Compliance Events

#### `COMPLIANCE_CASE_UPDATED`

A compliance case you can see changed. change is opened, requirements\_sent, reminder, lift\_requested, lifted or closed. requirements lists the open requirements on requirements\_sent. Read the case with GET /compliance/cases/:caseId.

COMPLIANCE\_CASE\_UPDATED Payload

```json
{
  "timestamp": "2026-11-09T15:10:01.000Z",
  "event": "COMPLIANCE_CASE_UPDATED",
  "identifier": "CASE-150",
  "metaData": {
    "Message": "2 items need your attention on campaign C3PW9NE",
    "change": "requirements_sent",
    "caseId": "CASE-150",
    "objectType": "CAMPAIGN",
    "objectId": "C3PW9NE",
    "blocks": [
      {
        "subject": {
          "kind": "CAMPAIGN",
          "id": "C3PW9NE"
        },
        "by": "T-Mobile"
      }
    ],
    "reason": "Opt-out and complaint volume",
    "fixBy": "2026-11-14T15:10:00.000Z",
    "requirements": [
      {
        "requirementId": "CASE-150-1",
        "kind": "RECORDS",
        "text": "Upload opt-in records for the contacts you added recently"
      },
      {
        "requirementId": "CASE-150-2",
        "kind": "CONFIRM",
        "text": "Remove contacts you can't show consent for"
      }
    ]
  }
}
```

### AI Agent Events

#### `AI_AGENT_CONVERSATION_ENDED`

An AI agent conversation ended, on any channel. It's sent once, after the end, with the whole conversation: use it to file a message, a callback request or a lead in your own system. status is completed, escalated (the agent handed off to a person) or abandoned (the caller never spoke). endReason says why it ended when known: idle\_timeout (an SMS conversation nobody texted in for 24 hours), opt\_out\_keyword, or the voice bridge's reason, such as caller\_hangup, agent\_ended or max\_duration; it is null otherwise. contactIdentifier is the caller's or texter's number (a webchat conversation carries its session id). agentNumber is the number they reached. transcript holds the contact's and the agent's turns in order, up to 500; transcriptTruncated is true past that. toolCalls lists the tools the agent called, with their inputs, where the conversation recorded them (SMS and webchat today). Only Global endpoints can subscribe to it; a Number or Agent endpoint is refused. Delivery is queued and retried with backoff for about an hour, and if queueing itself fails it is queued again within the hour. Every attempt for one conversation and endpoint carries the same X-SignalHouse-Delivery-Id, so drop a delivery id you have already handled. Subscribing a narrowed OAuth connector's endpoint to this event needs the messaging scope, because it carries message content.

AI\_AGENT\_CONVERSATION\_ENDED Payload

```json
{
  "timestamp": "2026-11-27T15:04:31.000Z",
  "event": "AI_AGENT_CONVERSATION_ENDED",
  "identifier": "CNV0000123",
  "metaData": {
    "conversationId": "CNV0000123",
    "agentProfileId": "AGP0000001",
    "agentName": "Front desk",
    "groupId": "G0000001",
    "subgroupId": null,
    "channel": "voice",
    "status": "completed",
    "endReason": "caller_hangup",
    "contactIdentifier": "+15125550123",
    "agentNumber": "+15125550100",
    "callId": "c0a8012e-6f1b-4c1e-9b7a-2d4f5e6a7b8c",
    "startedAt": "2026-11-27T15:02:10.000Z",
    "endedAt": "2026-11-27T15:04:30.000Z",
    "durationSeconds": 140,
    "transcript": [
      {
        "role": "assistant",
        "content": "Thanks for calling Elm Street Dental. How can I help?",
        "at": "2026-11-27T15:02:11.000Z"
      },
      {
        "role": "user",
        "content": "Hi, I need to move my cleaning on Friday. This is Dana Lee.",
        "at": "2026-11-27T15:02:18.000Z"
      },
      {
        "role": "assistant",
        "content": "Of course, Dana. I'll pass that to the team and they'll call you back today to find a new time.",
        "at": "2026-11-27T15:02:25.000Z"
      }
    ],
    "transcriptTruncated": false,
    "toolCalls": []
  }
}
```

## Polling for Async Operations

Several operations in Signal House are asynchronous -- the request is acknowledged immediately and completes in the background. Brand creation and number purchase return `202 Accepted`; campaign creation returns `201 Created` with the campaign entity in `PENDING_REVIEW`. You have two options for tracking completion:

1. **Webhooks (recommended)** -- Subscribe to the relevant event and get notified automatically.
2. **Polling** -- Periodically query the resource status until it reaches a terminal state.

#### Async Operations and Terminal States

| Operation | Poll Endpoint | Success State | Failure State | Typical Wait |
| --- | --- | --- | --- | --- |
| Brand Creation | `GET /brand?id=BRAND_ID` | `VERIFIED` | `UNVERIFIED` | 1-5 min |
| Brand Deletion | `GET /brand?id=BRAND_ID` | `(deleted / not found)` | `FAILED` | < 1 min |
| Campaign Creation | `GET /campaign?id=CAMPAIGN_ID` | `ACTIVE` | `REJECTED` | Minutes to days |
| Campaign Deletion | `GET /campaign?id=CAMPAIGN_ID` | `(deleted / not found)` | `FAILED` | < 1 min |
| Number Purchase | `GET /number?phoneNumber=NUMBER` | `UNASSIGNED` | `(not found)` | < 1 min |
| Number Release | `GET /number?phoneNumber=NUMBER` | `(not found)` | `FAILED` | < 1 min |

#### Polling Example -- Brand Verification

JavaScript Polling

```
// Poll brand status every 10 seconds, up to 5 minutes
async function waitForBrandVerification(brandId, maxWaitMs = 300000) {
  const interval = 10000; // 10 seconds
  const start = Date.now();

  while (Date.now() - start < maxWaitMs) {
    const response = await signalHouse.brands.getBrands({ id: brandId });

    if (!response.success || !response.data?.length) {
      throw new Error("Brand not found");
    }

    const brand = response.data[0];
    const status = brand.status;

    if (status === "VERIFIED" || status === "VETTED_VERIFIED") {
      return brand; // Success!
    }
    if (status === "UNVERIFIED") {
      throw new Error("Brand verification failed -- check company name and EIN");
    }

    // Still pending, wait and retry
    await new Promise(resolve => setTimeout(resolve, interval));
  }

  throw new Error("Brand verification timed out");
}
```

curl Polling

```
# Check brand status
curl -X GET "https://v2.signalhouse.io/brand?id=B1234567" \
  -H "Authorization: Bearer your-api-token"

# Response when still pending:
# { "success": true, "data": [{ "status": "PENDING_CREATION", ... }] }

# Response when verified:
# { "success": true, "data": [{ "status": "VERIFIED", ... }] }

# Response when failed:
# { "success": true, "data": [{ "status": "UNVERIFIED", ... }] }
```

**Recommendation:** Use webhooks instead of polling whenever possible. Webhooks deliver instant notifications, reduce API calls, and are more reliable for operations like campaign approval that can take hours or days.

## Webhook Best Practices

1. **Return 200 quickly, process asynchronously:** Signal House expects a timely response from your endpoint. Acknowledge the webhook immediately and handle business logic in a background job or async function.
2. **Implement idempotency:** Webhooks may be delivered more than once. Each delivered payload is `{ timestamp, event, identifier, metaData }`; use the combination of `identifier` and `event` as an idempotency key to avoid processing the same event twice.
3. **Verify the webhook source:** Use the `API_KEY` or `BASIC` auth type so you can verify that incoming requests are genuinely from Signal House. Reject requests that lack valid credentials.
4. **Use Global type for broad monitoring, Number type for specific flows:** A single Global webhook is simpler to manage when you want visibility across your entire account. Use Number webhooks when different numbers need different handling (e.g., a support line vs. a marketing sender).
5. **Handle retries gracefully:** If your endpoint returns a non-`2xx` status code, Signal House may retry delivery. Ensure your processing logic is safe to run multiple times for the same event.
6. **Log webhook payloads:** Store raw webhook payloads for debugging and auditing. This helps when troubleshooting delivery issues or verifying event sequences.
7. **Use HTTPS endpoints:** Always use HTTPS for your webhook URLs to protect event data in transit.
