Numbers

GET/number

Retrieve owned phone numbers with optional filtering. Customer roles must supply at least one filter parameter (phoneNumber, campaignId, brandId, subgroupId, or groupId). An unfiltered call is restricted to Signal House internal roles and will return 403 for all other roles.

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

Request Body

FieldTypeRequiredDescription
phoneNumberQuery ParamOptionalFilter by specific phone number.
subgroupIdQuery ParamOptionalFilter by Subgroup ID.
groupIdQuery ParamOptionalFilter by Group ID.
brandIdQuery ParamOptionalFilter by Brand ID.
campaignIdQuery ParamOptionalFilter by Campaign ID.
registrationIdQuery ParamOptionalOnly numbers provisioned under this registration.
currentTollFreeCarrierQuery ParamOptionalWith groupId or subgroupId: when true, return only toll-free numbers that a new toll-free campaign in that group can use (those on the group's current toll-free carrier).
releasedQuery ParamOptionalWith subgroupId or groupId: when true, return only its released numbers (status RELEASED) instead of its active ones. Without it, group and subgroup lists leave released numbers out. Ignored on every other read.
searchQuery ParamOptionalWith campaignId, brandId, subgroupId or groupId: free text finds part of the phone number or its friendly name. A term made of digits and phone punctuation matches the number's digits, so `(512) 555` finds 15125550100. `field:` names phoneNumber or friendlyName. Repeat the param to send several values; every value must match. Each value is free text, or `field:term` to search one field. Each term is 3 to 100 characters, with at most 5 values; a shorter term returns 400. Works with the scoping filters above.
pageQuery ParamOptionalPage number for pagination.
limitQuery ParamOptionalResults per page.

About the billing and lease fields

nextBillingDate is when the number's next monthly renewal is charged; it is null on numbers that carry no recurring charge (externally leased Short Codes, where the customer pays the Registry directly) and on released numbers. The remaining three fields apply only to SHORT_CODE numbers and are null otherwise: leaseTermMonths (3, 6, or 12) and shortCodeLeaseType (RANDOM or VANITY) describe a Signal House-leased code, and leaseEndDate is the fixed, non-renewable Registry lease end on every issued Short Code. Lease renewals stop once that date is reached; see POST /number/short-code.

About the registration fields

registrationId is set on a number provisioned under a registration (see Registrations), for example a UK Virtual Long Code, and never changes; it is null on every purchased number. registrationStatus mirrors that registration's current status for display and follows it as it changes; it is null when registrationId is. It is not an eligibility flag: a registration still filling its order (PENDING_PROVIDER, NEEDS_INFORMATION, PAYMENT_REQUIRED, RECONCILIATION_REQUIRED) keeps the numbers it already allocated sending, and whether a number may send is always decided from the registration itself. Read GET /registration/:registrationId for the authoritative state.

About the status field

One of PENDING, IN_PROGRESS, READY, DEACTIVATED, PENDING_RELEASE, or RELEASED. READY is the only status that can send/receive messages. PENDING_RELEASE is transient — the number was just requested for deletion and is being released; it resolves to RELEASED shortly after, without further action from the caller.

About the sentiment field

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

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

About the health field

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

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

Example Response 200

Response
[
  {
    "_id": "60f7b2a1c9e77c001a2b3c5c",
    "groupId": "G1234567",
    "subgroupId": "S1234567",
    "brandId": "B1234567",
    "campaignId": "C1234567",
    "registrationId": null,
    "registrationStatus": null,
    "phoneNumber": "14175551234",
    "friendlyName": "Customer Support Line",
    "country": "US",
    "type": "VIRTUAL_LONG_NUMBER",
    "capabilities": [
      "SMS",
      "MMS"
    ],
    "shared": false,
    "status": "READY",
    "nextBillingDate": "2024-02-15T12:00:00.000Z",
    "leaseTermMonths": null,
    "shortCodeLeaseType": null,
    "leaseEndDate": null,
    "sentiment": {
      "sevenDay": {
        "score": 42,
        "label": "positive",
        "scoredCount": 128,
        "positive": 96,
        "neutral": 20,
        "negative": 12
      },
      "thirtyDay": {
        "score": 18,
        "label": "neutral",
        "scoredCount": 512,
        "positive": 300,
        "neutral": 150,
        "negative": 62
      },
      "updatedAt": "2024-01-16T09:50:00.000Z"
    },
    "health": {
      "sevenDay": {
        "score": 9.5,
        "deliveryRate": 94.2,
        "optOutRate": 1.1,
        "deliveryScore": 10,
        "optOutScore": 9,
        "messagesSent": 1240,
        "messagesDelivered": 1168,
        "messagesFailed": 31,
        "optOuts": 14
      },
      "thirtyDay": {
        "score": 9,
        "deliveryRate": 91.8,
        "optOutRate": 1.6,
        "deliveryScore": 9,
        "optOutScore": 8,
        "messagesSent": 5310,
        "messagesDelivered": 4875,
        "messagesFailed": 210,
        "optOuts": 85
      },
      "updatedAt": "2024-01-16T09:50:00.000Z"
    },
    "createdAt": "2024-01-15T12:00:00.000Z",
    "updatedAt": "2024-01-15T12:00:00.000Z"
  }
]

SDK Example

GET/number/health

Return the portal-parity phone number health score (1–10) for an owned number. The score is the average of delivery-rate and opt-out-rate sub-scores, computed from message analytics over rolling 7-day and 30-day windows — the same values shown in the portal Numbers table. Requires message traffic in each window; when no messages were sent, score is null and hasData is false.

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

Request Body

FieldTypeRequiredDescription
phoneNumberQuery ParamRequiredOwned phone number to score (11 digits, no + prefix).

How the score is calculated

Health uses the same formula as portal Number Health: weighted SMS+MMS delivery rate and opt-out rate are each mapped to a 1–10 sub-score, then averaged. Use sevenDay or thirtyDay for rotation thresholds (e.g. replace a number when thirtyDay.score drops below 5).

Example Request

Request
GET /number/health?phoneNumber=14175551234
Authorization: Bearer your-api-token

Example Response 200

Response
{
  "phoneNumber": "14175551234",
  "groupId": "G1234567",
  "sevenDay": {
    "score": 8.5,
    "deliveryRate": 91.2,
    "optOutRate": 1.1,
    "deliveryScore": 9,
    "optOutScore": 8,
    "hasData": true
  },
  "thirtyDay": {
    "score": 7.5,
    "deliveryRate": 85,
    "optOutRate": 2.2,
    "deliveryScore": 8,
    "optOutScore": 7,
    "hasData": true
  }
}

SDK Example

GET/number/available

Search available US 10DLC numbers. Every US and Canadian number offered can take voice calls, whatever capability filters are sent: a number that can't is never offered and can't be bought. City filters are applied before the result limit using the group's selected provider. Filtered catalog discovery has a 20-second deadline and returns HTTP 503 when incomplete. Narrow the location, area code or NXX, or retry later. Infobip samples may be cached for 15 seconds. numberCount is optional and omitted when the total is unknown, including these filtered searches; the page length is not the total.

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

Request Body

FieldTypeRequiredDescription
smsEnabledBooleanOptionalFilter by SMS capability.
mmsEnabledBooleanOptionalFilter by MMS capability.
voiceEnabledBooleanOptionalFilter by voice capability. US and Canadian numbers are always voice-capable, so it only narrows other countries.
countryStringOptional2-letter country code.
stateStringOptional2-letter state or province code.
cityStringOptionalCase-insensitive city prefix (1–100 characters). Requires country US and state.
npaStringOptional3-digit area code.
nxxStringOptional3-digit central office code.
phoneNumberStringOptionalSearch by phone number pattern.
limitNumberOptionalMax results to return.
pageNumberOptionalPage number for pagination.

Example Response 200

Response
{
  "numbers": [
    {
      "number": "14175559876",
      "country": "US",
      "type": "LONG_CODE",
      "capabilities": [
        "SMS",
        "VOICE",
        "MMS"
      ],
      "npa": "417",
      "nxx": "555"
    }
  ]
}

SDK Example

GET/number/lookup

Search NPA/NXX lookup data to find available area codes and central office codes. At least one of country, state, city, npa, or nxx is required. Results are limited to 1,000 for country-only queries. Response shape depends on query params: (1) Location queries (country/state/city without npa/nxx) return { uniqueNPA: string[], uniqueNXX: string[]|null } — uniqueNXX is only populated when city is provided. (2) NPA/NXX queries return an array of { npa, nxx, city, state, country } objects. Country may scope NPA/NXX queries (for example, country=US&npa=512); state and city cannot be combined with NPA/NXX.

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

Request Body

FieldTypeRequiredDescription
countryQuery ParamOptional2-letter country code (e.g., US). At least one of country, state, city, npa, or nxx must be provided.
stateQuery ParamOptional2-letter state code.
cityQuery ParamOptionalCity name (prefix match, case-insensitive). When city is provided, both country and state are required or the request will be rejected with a 400 error.
npaQuery ParamOptional1-3 digit area code. Returns an array of NPA/NXX objects. May include country, but not state or city.
nxxQuery ParamOptional1-3 digit central office code. Returns an array of NPA/NXX objects. May include country, but not state or city.

Example Response 200

Response
{
  "uniqueNPA": [
    "417",
    "816"
  ],
  "uniqueNXX": null
}

SDK Example

POST/number/lookup/location

Batch lookup location data for NPA/NXX pairs.

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

Request Body

FieldTypeRequiredDescription
entriesArray[Object]RequiredArray of NPA/NXX pairs to look up.
entries[].npaStringRequired1-3 digit area code.
entries[].nxxStringRequired1-3 digit central office code.

Example Request

Request
{
  "entries": [
    {
      "npa": "417",
      "nxx": "555"
    }
  ]
}

Example Response 200

Response
[
  {
    "npa": "417",
    "nxx": "555",
    "city": "Springfield",
    "state": "MO"
  }
]

SDK Example

POST/number

Purchase one or more available numbers and assign them to a subgroup. Each number is queued and processed independently; per-number success or failure is delivered via NUMBER_PURCHASE_SUCCESSFUL or NUMBER_PURCHASE_FAILED webhooks. Every US and Canadian number must be able to take voice calls: before anything is reserved or charged, each number is checked with the connectivity provider, and one that can't take voice, or is no longer offered, fails with NUMBER_PURCHASE_FAILED and is not charged. Include 1 followed by the 10-digit number (e.g. 14175551234); a bare 10-digit number can pass validation but is not normalized and can fail during fulfillment. There is no mock or test flag for number purchase - every purchase is billed, including numbers bought under a mock brand. For an OAuth connector token, or a request with the X-SignalHouse-Origin: mcp header, at most 1 new number may be purchased per day per connection, Short Code, Toll-Free and long-code purchases together (port-ins excluded). A breach is refused with 429 and details.code CONNECTOR_CAP_EXCEEDED, nothing is queued or charged, and a Retry-After header says when the window resets. See Error Handling.

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

Request Body

FieldTypeRequiredDescription
countryStringOptionalISO-2 country; US (default).
phoneNumbersArray[String]RequiredNumbers to purchase. A leading + is accepted and stripped; spaces and dashes are not. Include the country code (e.g. 14175551234): bare 10-digit values are not normalized and can fail during fulfillment.
subgroupIdStringRequiredThe subgroup ID to assign ownership.

Example Request

Request
{
  "phoneNumbers": [
    "14175551234"
  ],
  "subgroupId": "S1234567"
}

Example Response 202

Response
{
  "message": "Number purchase request has been queued successfully"
}

SDK Example

POST/number/toll-free

Purchase one or more Toll-Free numbers and assign them to a subgroup. Numbers are provisioned asynchronously via the connectivity provider's resource-request flow; per-number success or failure is delivered via NUMBER_PURCHASE_SUCCESSFUL or NUMBER_PURCHASE_FAILED webhooks. Toll-Free numbers cannot be hand-picked — request a quantity instead. They are ordered with SMS and voice, and each number's capabilities are recorded as the provider reports them. Requires the tollFreeEnabled feature flag on the group. For an OAuth connector token, or a request with the X-SignalHouse-Origin: mcp header, at most 1 new number may be purchased per day per connection, Short Code, Toll-Free and long-code purchases together (port-ins excluded). A breach is refused with 429 and details.code CONNECTOR_CAP_EXCEEDED, nothing is queued or charged, and a Retry-After header says when the window resets. See Error Handling.

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

Request Body

FieldTypeRequiredDescription
countryStringOptionalISO-2 country; US (default). Sending requires an approved brand and campaign.
quantityNumberRequiredNumber of Toll-Free numbers to purchase (1-10).
subgroupIdStringRequiredThe subgroup ID to assign ownership.

Example Request

Request
{
  "quantity": 2,
  "subgroupId": "S1234567"
}

Example Response 202

Response
{
  "message": "Toll-free number purchase request has been queued successfully",
  "orderId": "TFNO7K3M9QXR2V"
}

SDK Example

POST/number/short-code

Request a Short Code for an existing Short Code campaign. Send the complete JSON request payload in the acquisitionData multipart field. Requires the shortCodeEnabled feature flag and a matching subgroup, brand, and campaign. RANDOM and VANITY create a pending acquisition request for Signal House staff fulfillment and reserve the group's shortCodeActivation plus shortCodeMmsEnablement fees on the wallet (the request fails with 402 when the available balance cannot cover them); the total is returned as reservedAmount and released (and any charged fees refunded) if the campaign is cancelled first. A placeholder number (phoneNumber 'SC-PENDING-<requestId>', status PENDING, type SHORT_CODE) is created immediately and appears in GET /number until staff issue the code, when the same record takes the real code. At issue the fees are charged first as separate 'Short Code Activation' and 'Short Code MMS Enablement' transactions (referenceId <campaignId>:<requestId>:activation and :mms, never charged twice), then the number is issued with a nextBillingDate; it is charged shortCodeLeaseMonthly (RANDOM) or shortCodeVanityLeaseMonthly (VANITY) each month until its lease end date, and messaging is suspended (never released) if renewals repeatedly fail. NUMBER_PURCHASE_SUCCESSFUL / NUMBER_PURCHASE_FAILED webhooks fire like other number purchases. EXTERNAL_LEASE requires a private receipt, charges the same activation and MMS enablement fees immediately, then creates and assigns the customer-owned Short Code number in PENDING status and links its receipt artifact (a failure after the charge refunds it); it becomes READY when the campaign becomes ACTIVE and is never charged a monthly lease. All issued Short Codes have an immutable, non-renewable lease end date and are deactivated when that lease ends. For an OAuth connector token, or a request with the X-SignalHouse-Origin: mcp header, a Short Code request counts as 1 new number against the per-connection limit of 1 per day, shared with Toll-Free and long-code purchases. A breach is refused with 429 and details.code CONNECTOR_CAP_EXCEEDED, nothing is stored or reserved, and a Retry-After header says when the window resets. See Error Handling.

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

Request Body

FieldTypeRequiredDescription
acquisitionDataJSON StringRequiredThe complete JSON acquisition payload in a multipart field named acquisitionData. The nested fields below belong in this JSON value.
acquisitionData.subgroupIdStringRequiredOwning subgroup ID; must match the brand and campaign.
acquisitionData.brandIdStringRequiredExisting Short Code brand ID; must match the campaign.
acquisitionData.campaignIdStringRequiredExisting Short Code campaign ID.
acquisitionData.requestTypeStringRequiredRANDOM, VANITY, or EXTERNAL_LEASE.
acquisitionData.leaseTermMonthsNumberOptionalRequired for RANDOM and VANITY: 3, 6, or 12. Not used for EXTERNAL_LEASE.
acquisitionData.requestedVanityCodeStringOptionalRequired only for VANITY: desired five- or six-digit code.
acquisitionData.actualCodeStringOptionalRequired for EXTERNAL_LEASE: customer-owned five- or six-digit Short Code.
acquisitionData.orderIdStringOptionalRequired for EXTERNAL_LEASE: Registry order ID.
acquisitionData.leaseEndDateStringOptionalRequired for EXTERNAL_LEASE: future ISO 8601 lease end date. A date-only value (YYYY-MM-DD) expires at 23:59:59 UTC on that date.
leaseReceiptFileOptionalRequired for EXTERNAL_LEASE: PNG, JPEG, or PDF receipt; maximum 10MB.

Example Request

Request
{
  "subgroupId": "S1234567",
  "brandId": "B1234567",
  "campaignId": "C1234567",
  "requestType": "VANITY",
  "requestedVanityCode": "54321",
  "leaseTermMonths": 12
}

Example Response 202

Response
{
  "requestId": "SCAR123456",
  "status": "PENDING",
  "requestType": "VANITY",
  "leaseTermMonths": 12,
  "reservedAmount": 1500000000,
  "reservedActivationAmount": 1000000000,
  "reservedMmsEnablementAmount": 500000000,
  "chargedAmount": null,
  "lastError": null
}

SDK Example

GET/number/toll-free/order/:orderId

Report the outcome of a Toll-Free number purchase by the orderId returned from POST /number/toll-free. Each requested number is reported as ready, provisioning, or failed (with a reason), so a client can poll until the order is fully settled. The provisioned phone numbers for the order are returned in numbers (empty until each number is provisioned, filling in as the order completes), so a client can act on exactly that order's numbers. An orderId polled before the order's records exist returns all-zero counts (still provisioning).

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

Request Body

FieldTypeRequiredDescription
orderIdURL ParamRequiredThe order id returned by POST /number/toll-free.

Example Response 200

Response
{
  "orderId": "TFNO7K3M9QXR2V",
  "counts": {
    "ready": 1,
    "provisioning": 0,
    "failed": 1
  },
  "failures": [
    {
      "reason": "Number not eligible for the requested use case."
    }
  ],
  "numbers": [
    "18005551234"
  ]
}

SDK Example

POST/number/assign/:campaignId

Assign numbers to an active campaign. Numbers that are not found, already RELEASED, already assigned to a different campaign, on a mismatched DCA, or on an Infobip Toll-Free campaign that is not yet ACTIVE are skipped individually rather than failing the whole request. A 10DLC campaign without a number pool is also limited to 49 assigned numbers; if the remaining (valid) numbers would exceed that limit, numbers are queued only up to the remaining capacity and the rest are skipped too. Toll-Free and Short Code campaigns, and 10DLC campaigns with a number pool, are not subject to the 49-number limit. A Toll-Free campaign whose brand reports tollFree.maxNumbersPerCampaign as 1 holds one number: a request that would give it a second is refused with a 400, nothing is queued and no webhook fires. Every skipped number fires a NUMBER_ASSIGNMENT_FAILED webhook with the specific reason. A request in which none of the numbers match a stored number record is refused with a 400 before the campaign is checked, and no webhook fires. If every number that was found is still skipped — whether from the checks above or because none fit the campaign's remaining 49-number capacity — the request is also refused with a 400 instead of returning 202 with an empty queued array, so a caller can't mistake an all-skipped request for success; the error response's details carries the same { queued: [], skipped } breakdown a partial success would have returned, and each skipped number still fires its NUMBER_ASSIGNMENT_FAILED webhook with its specific reason before the request fails. For an Infobip Toll-Free campaign that is not yet ACTIVE (and not PENDING_DELETE or EXPIRED, which refuse the whole request with a 400 before any number is checked), every number not already skipped for another reason is skipped for this one, with one NUMBER_ASSIGNMENT_FAILED event listing only those numbers in identifier (numbers skipped for other reasons get a separate event per reason) and the reason campaign {campaignId} is an Infobip Toll-Free campaign that is not yet ACTIVE (status: {status}). This reason counts toward the all-skipped check above: if every eligible number in the request is skipped for it — the common case, since a request is normally sent to one specific not-yet-active Toll-Free campaign — the request is refused with a 400 and { queued: [], skipped }, the same as any other all-skipped request, not 202. The check runs again when a number that did queue (because another number in the same request was valid, or the campaign was still ACTIVE at enqueue time) actually executes: if the campaign has stopped being ACTIVE by then, the numbers that were returned in queued are not assigned, and one NUMBER_ASSIGNMENT_FAILED event lists them with the reason campaign is an Infobip Toll-Free campaign that is not yet ACTIVE (status: {status}). If the campaign has reached PENDING_DELETE or EXPIRED by then, the failure reason is the campaign's terminal state instead.

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

Request Body

FieldTypeRequiredDescription
campaignIdURL ParamRequiredCampaign ID to attach to.
phoneNumbersArray[String]RequiredArray of numbers to attach (max 5000).

Example Response 202

Response
{
  "Message": "19 number(s) queued for assignment to campaign C1234567. 11 number(s) skipped.",
  "queued": [
    "12345678901"
  ],
  "skipped": [
    "12345678999"
  ]
}

SDK Example

POST/number/unassign

Unassign numbers from their active campaigns.

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

Request Body

FieldTypeRequiredDescription
phoneNumbersArray[String]RequiredArray of numbers to unassign.

Example Response 202

Response
{
  "Message": "Number unassignment from campaigns has been queued successfully."
}

SDK Example

POST/number/transfer

Transfer an unassigned phone number to a new subgroup. Some groups verify each subgroup's business separately: a platform whose subgroups are separate businesses, set up by Signal House. In those groups a toll-free number held in its subgroup's own carrier account can't move to another subgroup: the request is refused with a 400 that names the number, and no number is moved.

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

Request Body

FieldTypeRequiredDescription
phoneNumbersArray[String]RequiredArray of numbers to transfer.
newSubgroupIdStringRequiredThe new subgroup ID to assign ownership.

Example Response 200

Response
[
  {
    "_id": "60f7b2a1c9e77c001a2b3c66",
    "groupId": "G1234567",
    "subgroupId": "S7654321",
    "brandId": null,
    "campaignId": null,
    "phoneNumber": "14175551234",
    "friendlyName": "Customer Support Line",
    "country": "US",
    "type": "VIRTUAL_LONG_NUMBER",
    "capabilities": [
      "SMS",
      "MMS",
      "VOICE"
    ],
    "shared": false,
    "status": "READY",
    "createdAt": "2024-01-15T12:00:00.000Z",
    "updatedAt": "2024-01-16T14:00:00.000Z"
  }
]

SDK Example

PUT/number/:phoneNumber

Update details for a specific phone number. An OAuth connector token granted specific scopes also needs the messaging scope to set primaryInboundWebhookUrl or secondaryInboundWebhookUrl, and gets a 403 without it; clearing them needs only numbers.

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

Request Body

FieldTypeRequiredDescription
phoneNumberURL ParamRequiredThe phone number to update.
friendlyNameStringOptionalA friendly name for the number.
primaryInboundWebhookUrlStringOptionalPrimary inbound SMS/MMS webhook URL for this number — receives MESSAGE_RECEIVED payloads for inbound texts. Must be an http/https URL. Pass null or empty string to clear. (This is a messaging webhook and is unrelated to voice/programmable call control, which is configured on a Programmable Voice Profile.)
secondaryInboundWebhookUrlStringOptionalSecondary inbound SMS/MMS webhook URL for this number — also receives MESSAGE_RECEIVED payloads. Must be an http/https URL. Pass null or empty string to clear.

Example Request

Request
{
  "friendlyName": "Customer Support Line"
}

Example Response 200

Response
{
  "_id": "60f7b2a1c9e77c001a2b3c5c",
  "phoneNumber": "14175551234",
  "friendlyName": "Customer Support Line",
  "status": "READY",
  "updatedAt": "2024-01-16T14:00:00.000Z"
}

SDK Example

GET/number/:phoneNumber/cnam

Read a number's outbound caller name (CNAM): the name US carriers show for calls from it. Returns the name, whether it was set on the number (MANUAL), comes from the brand's caller name (BRAND, see PUT /brand/cnam/:brandId) or from the subgroup's auto-apply (AUTO), the brand it comes from, and whether the number can have one. Caller names are available for US and Canadian local numbers.

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

Request Body

FieldTypeRequiredDescription
phoneNumberURL ParamRequiredThe phone number (E.164, leading + optional).

Example Response 200

Response
{
  "phoneNumber": "14175551234",
  "cnam": {
    "name": "Signal House",
    "source": "AUTO",
    "brandId": "B1A2C3D",
    "brandFrom": "CAMPAIGN",
    "status": "ACTIVE",
    "reason": null,
    "updatedAt": "2026-10-21T18:00:00.000Z"
  },
  "autoApply": true,
  "eligible": true,
  "ineligibleReason": null
}

SDK Example

PUT/number/:phoneNumber/cnam

Set a number's caller name. The name must come from the registered name of the number's brand, with characters only removed (“Signal House, LLC” can become “Signal House” or “Sig Hou”, not “Signal House Team”). The brand is the number's campaign brand; for a number with no campaign, pass brandId (a verified brand in the number's subgroup) or the subgroup's default caller-ID brand is used. A name set here overrides the brand's caller name and auto-apply. Carriers can take a few days to start showing a new name. Returns 400 if the name or brand isn't allowed or the number can't have a caller name.

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

Request Body

FieldTypeRequiredDescription
phoneNumberURL ParamRequiredThe phone number (E.164, leading + optional).
nameStringRequired1-15 characters: letters, digits, spaces, - and _, with at least one letter.
brandIdStringOptionalThe verified brand the name comes from. Only for numbers with no campaign; a number on a campaign always uses its campaign's brand.

Example Request

Request
{
  "name": "Signal House"
}

Example Response 200

Response
{
  "phoneNumber": "14175551234",
  "cnam": {
    "name": "Signal House",
    "source": "MANUAL",
    "brandId": "B1A2C3D",
    "brandFrom": "CAMPAIGN",
    "status": "ACTIVE",
    "reason": null,
    "updatedAt": "2026-10-21T18:00:00.000Z"
  },
  "autoApply": false,
  "eligible": true,
  "ineligibleReason": null
}

SDK Example

DELETE/number/:phoneNumber/cnam

Remove a number's own caller name. The number goes back to its brand's caller name if the brand has one, else to the automatic name if its subgroup has caller name auto-apply on; otherwise it has no caller name.

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

Request Body

FieldTypeRequiredDescription
phoneNumberURL ParamRequiredThe phone number (E.164, leading + optional).

Example Response 200

Response
{
  "phoneNumber": "14175551234",
  "cnam": null,
  "autoApply": false,
  "eligible": true,
  "ineligibleReason": null
}

SDK Example

POST/number/deactivate

Deactivate one or more phone numbers. Numbers must be in READY status. Deactivated numbers cannot send or receive messages but remain assigned to their subgroup and campaign.

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

Request Body

FieldTypeRequiredDescription
phoneNumbersArray[String]RequiredArray of phone numbers to deactivate (min 1).

Example Request

Request
{
  "phoneNumbers": [
    "14175551234"
  ]
}

Example Response 200

Response
[
  {
    "phoneNumber": "14175551234",
    "status": "DEACTIVATED",
    "friendlyName": "Main Line",
    "groupId": "G1234567",
    "subgroupId": "S1234567"
  }
]

SDK Example

POST/number/reactivate

Reactivate one or more previously deactivated phone numbers. Numbers must be in DEACTIVATED status. Reactivated numbers return to PENDING or IN_PROGRESS status depending on their campaign assignment.

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

Request Body

FieldTypeRequiredDescription
phoneNumbersArray[String]RequiredArray of phone numbers to reactivate (min 1).

Example Request

Request
{
  "phoneNumbers": [
    "14175551234"
  ]
}

Example Response 200

Response
[
  {
    "phoneNumber": "14175551234",
    "status": "PENDING",
    "friendlyName": "Main Line",
    "groupId": "G1234567",
    "subgroupId": "S1234567"
  }
]

SDK Example

DELETE/number

Release purchased numbers back to the provider. A UK Virtual Long Code number also moves from its registration's data.phoneNumbers to data.releasedNumbers, and keeps its registrationId.

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

Request Body

FieldTypeRequiredDescription
phoneNumbersArray[String]RequiredArray of numbers to delete.

Example Response 202

Response
{
  "message": "Number deletion has been queued successfully."
}

SDK Example

POST/number/migrate

Migrate a phone number (or all numbers in a campaign/group) from v1 to v2. This is a permanent, irreversible operation that updates the Infobip configuration so inbound SMS/MMS webhooks are routed to v2. Priority: phoneNumber > campaignId > groupId. Some toll-free numbers were never on v1, so they have nothing to migrate: one sent as phoneNumber is refused with a 400 and nothing is queued, and a campaign or group migration leaves them out.

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

Request Body

FieldTypeRequiredDescription
phoneNumberStringOptionalThe phone number to migrate. If provided, campaignId and groupId are ignored. A toll-free number from a carrier that v1 never used is refused with a 400.
campaignIdStringOptionalCampaign ID. If phoneNumber is not provided, all non-released numbers assigned to this campaign will be migrated, leaving out toll-free numbers from a carrier that v1 never used.
groupIdStringOptionalThe group ID. If phoneNumber and campaignId are not provided, all non-released numbers in this group will be migrated, leaving out toll-free numbers from a carrier that v1 never used.

Example Request

Request
{
  "phoneNumber": "14175551234"
}

Example Response 202

Response
{
  "message": "1 number(s) queued for migration to v2"
}

SDK Example

POST/number/portin

Submit a port-in request for one or more phone numbers from another provider. This creates a port-in request record that is processed manually by Signal House staff.

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

Request Body

FieldTypeRequiredDescription
portingRequestTypeStringRequired"Business" or "Personal".
businessNameStringOptionalRequired when portingRequestType is "Business".
portingServiceStringRequired"Messaging Service" or "Entire Service".
ownersNameStringRequiredName as it appears on the bill.
ownersEmailStringRequiredOwner's email address.
authorizedPersonsNameStringRequiredAuthorized person's name.
phoneNumberStringOptionalContact phone number if different than owner.
ownersStreetAddressStringRequiredOwner's street address.
ownersExtendedAddressStringOptionalAddress line 2.
ownersCountryStringRequiredOwner's country.
ownersStateStringRequiredOwner's state.
ownersCityStringRequiredOwner's city.
ownersPostalCodeStringRequiredOwner's postal code.
serviceAddressStringRequiredService address.
serviceExtendedAddressStringOptionalService address line 2.
serviceCountryStringRequiredService country.
serviceStateStringRequiredService state.
serviceCityStringRequiredService city.
servicePostalCodeStringRequiredService postal code.
phoneNumberToBePortedArray[String]RequiredArray of phone numbers to port, in E.164 format with the country code (for example +14155551234). The leading + is optional and a bare 10-digit number is read as US/Canada. Each number is stored and returned as E.164 digits without the + (14155551234), and duplicates are removed. A value that is not a valid phone number is refused with a 400. Numbers from a country that requires a sender registration (for example the UK) cannot be ported in and are refused with a 400; obtain them through a registration instead.
cellNumberOrLandlineStringRequired"Cell" or "Landline/VOIP".
accountNumberStringOptionalRequired when cellNumberOrLandline is "Cell".
pinOrPasscodeStringOptionalRequired when portingService is "Entire Service".
billingUrlStringOptionalBase64 data URL of the billing statement PDF. Required when portingService is "Entire Service". Maximum 5 MB raw file size.
groupIdStringRequiredGroup ID.
subGroupIdStringOptionalSubgroup ID.
brandIdStringOptionalBrand ID.
campaignIdStringOptionalCampaign ID.
commentsStringOptionalAdditional comments.
signatureUrlStringRequiredBase64 data URL of signature image.

Example Request

Request
{
  "portingRequestType": "Business",
  "businessName": "Acme Corp",
  "portingService": "Messaging Service",
  "ownersName": "John Doe",
  "ownersEmail": "john@acme.com",
  "authorizedPersonsName": "John Doe",
  "ownersStreetAddress": "123 Main St",
  "ownersCountry": "US",
  "ownersState": "CA",
  "ownersCity": "San Francisco",
  "ownersPostalCode": "94105",
  "serviceAddress": "123 Main St",
  "serviceCountry": "US",
  "serviceState": "CA",
  "serviceCity": "San Francisco",
  "servicePostalCode": "94105",
  "phoneNumberToBePorted": [
    "14155551234"
  ],
  "cellNumberOrLandline": "Landline/VOIP",
  "groupId": "G1234567",
  "signatureUrl": "data:image/png;base64,..."
}

Example Response 201

Response
{
  "_id": "60f7b2a1c9e77c001a2b3c5d",
  "groupId": "G1234567",
  "userId": "60f7b2a1c9e77c001a2b3c61",
  "portingRequestType": "Business",
  "businessName": "Acme Corporation LLC",
  "portingService": "Entire Service",
  "ownersName": "John Doe",
  "ownersEmail": "john@acme.com",
  "authorizedPersonsName": "John Doe",
  "phoneNumberToBePorted": [
    "14155551234"
  ],
  "cellNumberOrLandline": "Landline/VOIP",
  "status": "PENDING",
  "statusHistory": [
    {
      "status": "PENDING",
      "description": "Initial status",
      "date": "2024-01-15T12:00:00.000Z"
    }
  ],
  "createdAt": "2024-01-15T12:00:00.000Z",
  "updatedAt": "2024-01-15T12:00:00.000Z"
}

SDK Example

GET/number/portin

Retrieve port-in requests. Signal House staff can view all requests; regular users see only their group's requests. Supports filtering by groupId, phoneNumber, and status.

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

Request Body

FieldTypeRequiredDescription
groupIdQuery ParamOptionalFilter by group ID.
phoneNumberQuery ParamOptionalFilter by phone number.
statusQuery ParamOptionalFilter by status: PENDING, IN_PROGRESS, ON_HOLD, REJECTED, SUCCESS. When ON_HOLD, the response includes an onHoldReason field (e.g. DOCUMENTATION_MISMATCH, ACCOUNT_INFO_INCORRECT, CARRIER_REJECTED, PENDING_CUSTOMER_ACTION, OTHER) set by Signal House staff — Infobip exposes no porting-status API or webhook, so this is never synced automatically.
pageQuery ParamOptionalPage number (default: 1).
limitQuery ParamOptionalItems per page (default: 20, max: 1000).
excludeDocumentsQuery ParamOptionalSet to true to leave signatureUrl and billingUrl out of each request. They hold the inline LOA signature and billing statement, which can be several MB each; fetch one request with GET /number/portin/:id when you need them. Default: false.

Example Response 200

Response
{
  "data": [
    {
      "_id": "60f7b2a1c9e77c001a2b3c5d",
      "groupId": "G1234567",
      "portingRequestType": "Business",
      "businessName": "Acme Corp",
      "ownersName": "John Doe",
      "phoneNumberToBePorted": [
        "14155551234"
      ],
      "status": "PENDING",
      "createdAt": "2024-01-15T12:00:00.000Z",
      "updatedAt": "2024-01-15T12:00:00.000Z"
    }
  ],
  "total": 1,
  "page": 1,
  "limit": 20,
  "totalPages": 1
}

SDK Example

GET/number/portin/:id

Retrieve a single port-in request by its ID. Signal House staff can view any request; regular users can only view requests belonging to their group.

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

Request Body

FieldTypeRequiredDescription
idURL ParamRequiredThe _id of the port-in request.

Example Response 200

Response
{
  "_id": "60f7b2a1c9e77c001a2b3c5d",
  "groupId": "G1234567",
  "portingRequestType": "Business",
  "businessName": "Acme Corp",
  "ownersName": "John Doe",
  "ownersEmail": "john@acme.com",
  "phoneNumberToBePorted": [
    "14155551234"
  ],
  "cellNumberOrLandline": "Landline/VOIP",
  "status": "PENDING",
  "statusHistory": [
    {
      "status": "PENDING",
      "description": "Initial status",
      "date": "2024-01-15T12:00:00.000Z"
    }
  ],
  "createdAt": "2024-01-15T12:00:00.000Z",
  "updatedAt": "2024-01-15T12:00:00.000Z"
}

SDK Example