# Verify | Signal House API Docs

> Check a phone number with its mobile network through the Signal House API: SIM Swap and Number Verify.

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

---

## Verify

## Two checks on a phone number

Verify asks the mobile network about a phone number, so you can tell whether it is safe to trust before a login, a payout or an account change. There are two checks.

- **SIM Swap** (`POST /verify/sim-swap`) answers at once whether the number's SIM card changed within the last `maxAge` hours, and optionally when it last changed. A recent swap is a common sign of account takeover. Your server makes the call; the end user does nothing.
- **Number Verify** (`POST /verify/number`) confirms that the phone in the end user's hand is on the number they gave you, with no code to type. You start a check and get an `authorizationUrl`; the end user's phone opens it, the carrier recognizes the phone from its mobile data connection, and you read the result with `GET /verify/number/:checkId`.

**Number Verify needs mobile data.** The phone must open `authorizationUrl` on a US carrier's mobile data, with Wi-Fi off, within 10 minutes of the check's start. On Wi-Fi the carrier cannot see the phone and the check ends `FAILED` with `NOT_COMPLETED`. When it finishes, the phone is sent to your `redirectUrl` with `?checkId=NVC…` added, or shown a Signal House result page when you gave none. The redirect carries only the check id, never the result: always read the result from the API.

**What a check costs.** You pay only for an answer, from your wallet, at your group's `simSwapCheck` and `numberVerifyCheck` fees (see [GET /billing/fees/:groupId](https://docs.signalhouse.io/billing)). A SIM Swap check is billed once when it answers, whether or not you ask for the swap date. A Number Verify check is billed only when it ends `VERIFIED` or `NOT_VERIFIED`. A number the check is not available for, a carrier error, a provider failure or an expired check costs nothing. Each response reports its `cost` in microdollars.

New to Verify? The [Verify Quickstart](https://docs.signalhouse.io/verify-quickstart) walks through both checks.

## Number Verify statuses

| Status | Billed | Meaning |
| --- | --- | --- |
| `PENDING` | No | The check was started and the end user's phone has not finished it. It stays PENDING for 10 minutes. |
| `VERIFIED` | Yes | The carrier confirmed the phone that opened the link is on phoneNumber. devicePhoneNumberVerified is true. |
| `NOT_VERIFIED` | Yes | The carrier answered, and the phone that opened the link is not on phoneNumber. devicePhoneNumberVerified is false. |
| `FAILED` | No | The check could not finish. failureReason says why: NOT\_COMPLETED (the carrier returned an error, usually because the phone was not on mobile data), NOT\_APPLICABLE (the number or its carrier does not support the check) or PROVIDER\_ERROR (the verification provider failed). |
| `EXPIRED` | No | The phone did not finish the check within 10 minutes of its start. Start a new check. |

### /verify

### POST /verify/sim-swap

Check whether a phone number's SIM changed within maxAge hours, and optionally when it last changed. Answers at once. swapped is true when the SIM changed within the period. latestSimChange is present only when includeSwapDate is true, and is null when the network reports no change or the date could not be read. cost is what this check charged, in microdollars: one simSwapCheck fee, with or without the date.

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

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `phoneNumber` | Body Param | Required | The number to check, in international format with its country code, e.g. +12025550123. |
| `maxAge` | Body Param | Optional | How many hours back to look for a SIM change: an integer from 1 to 2400 (100 days). Omitted, the provider's default period applies and maxAge is null in the response. |
| `includeSwapDate` | Body Param | Optional | true also returns latestSimChange, the time the SIM last changed. Default false. No extra charge: the check's one fee covers the date. |

#### Errors

| Status | Error | When |
| --- | --- | --- |
| 400 | `ValidationError` | phoneNumber is missing or not a valid international number, maxAge is outside 1–2400, or the body has an unknown field. |
| 402 | `InsufficientFundsError` | Your wallet cannot cover the check. Nothing was run. |
| 403 | `AuthorizationError` | Your role may not run checks. |
| 403 | `GroupRejectedError` | Your group is rejected. |
| 422 | `VerifyCheckUnavailableError` | The check is not available for this number or its carrier. You were not charged. |
| 502 / 504 | `ExternalServiceError` | The verification provider failed or timed out. You were not charged. |

#### Example Request

Request

```json
{
  "phoneNumber": "+12025550123",
  "maxAge": 240,
  "includeSwapDate": true
}
```

#### Example Response 200

Response

```json
{
  "checkId": "SSC7K2M1QZ8RP",
  "phoneNumber": "+12025550123",
  "swapped": false,
  "maxAge": 240,
  "latestSimChange": "2026-03-02T09:14:00.000Z",
  "cost": 10000
}
```

### POST /verify/number

Start a Number Verify check. Returns a PENDING check and the authorizationUrl the end user's phone must open on a US carrier's mobile data, with Wi-Fi off, before expiresAt (10 minutes). Treat authorizationUrl as opaque and open it unchanged; it works once. Nothing is charged now: the check is billed numberVerifyCheck when it ends VERIFIED or NOT\_VERIFIED. Read the result with GET /verify/number/:checkId.

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

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `phoneNumber` | Body Param | Required | The number to check, in international format with its country code, e.g. +12025550123. |
| `devicePhoneNumber` | Body Param | Optional | The end user's own number, when you have it, in international format. It is passed to the carrier as a login hint. |
| `redirectUrl` | Body Param | Optional | An https URL, up to 2,048 characters, the phone is sent to when the check finishes, with ?checkId=NVC… added. Omitted, the phone is shown a Signal House result page instead. |

#### Errors

| Status | Error | When |
| --- | --- | --- |
| 400 | `ValidationError` | phoneNumber or devicePhoneNumber is not a valid international number, redirectUrl is not an https URL, or the body has an unknown field. |
| 402 | `InsufficientFundsError` | Your wallet cannot cover one check. Nothing is held: the check is charged only when it answers. |
| 403 | `AuthorizationError` | Your role may not run checks. |
| 403 | `GroupRejectedError` | Your group is rejected. |
| 503 | `ExternalServiceError` | Number Verify is not available in this environment. |

#### Example Request

Request

```json
{
  "phoneNumber": "+12025550123",
  "redirectUrl": "https://www.acme.example/verify/done"
}
```

#### Example Response 201

Response

```json
{
  "checkId": "NVC4H9XW2B6TJ",
  "phoneNumber": "+12025550123",
  "status": "PENDING",
  "authorizationUrl": "https://api.infobip.com/camara/number-verification/v0/authorize?clientId=...&redirectUrl=...&state=...",
  "expiresAt": "2026-11-10T15:10:00.000Z"
}
```

### GET /verify/number/:checkId

Read a Number Verify check's status and result. status is PENDING, VERIFIED, NOT\_VERIFIED, FAILED or EXPIRED (see Number Verify statuses). devicePhoneNumberVerified is the carrier's answer, true or false, and null until it answers. failureReason is set only on a FAILED check: NOT\_COMPLETED, NOT\_APPLICABLE or PROVIDER\_ERROR. completedAt is null until the check finishes. cost is the fee charged, in microdollars, and 0 unless the status is VERIFIED or NOT\_VERIFIED. Poll until the status is no longer PENDING, or read it once your redirectUrl is called.

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

#### Request Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `checkId` | Path Param | Required | The checkId POST /verify/number returned (NVC + 10 characters). |

#### Errors

| Status | Error | When |
| --- | --- | --- |
| 400 | `ValidationError` | checkId is not a Number Verify check id. |
| 403 | `AuthorizationError` | Your role may not read checks. |
| 404 | `NumberVerificationNotFoundError` | No check has this id in a group you can view. |

#### Example Response 200

Response

```json
{
  "checkId": "NVC4H9XW2B6TJ",
  "phoneNumber": "+12025550123",
  "status": "VERIFIED",
  "devicePhoneNumberVerified": true,
  "failureReason": null,
  "createdAt": "2026-11-10T15:00:00.000Z",
  "expiresAt": "2026-11-10T15:10:00.000Z",
  "completedAt": "2026-11-10T15:00:42.000Z",
  "cost": 10000
}
```
