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). 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 walks through both checks.

Number Verify statuses

StatusBilledMeaning
PENDINGNoThe check was started and the end user's phone has not finished it. It stays PENDING for 10 minutes.
VERIFIEDYesThe carrier confirmed the phone that opened the link is on phoneNumber. devicePhoneNumberVerified is true.
NOT_VERIFIEDYesThe carrier answered, and the phone that opened the link is not on phoneNumber. devicePhoneNumberVerified is false.
FAILEDNoThe 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).
EXPIREDNoThe 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

FieldTypeRequiredDescription
phoneNumberBody ParamRequiredThe number to check, in international format with its country code, e.g. +12025550123.
maxAgeBody ParamOptionalHow 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.
includeSwapDateBody ParamOptionaltrue also returns latestSimChange, the time the SIM last changed. Default false. No extra charge: the check's one fee covers the date.

Errors

StatusErrorWhen
400ValidationErrorphoneNumber is missing or not a valid international number, maxAge is outside 1–2400, or the body has an unknown field.
402InsufficientFundsErrorYour wallet cannot cover the check. Nothing was run.
403AuthorizationErrorYour role may not run checks.
403GroupRejectedErrorYour group is rejected.
422VerifyCheckUnavailableErrorThe check is not available for this number or its carrier. You were not charged.
502 / 504ExternalServiceErrorThe verification provider failed or timed out. You were not charged.

Example Request

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

Example Response 200

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

SDK Example

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

FieldTypeRequiredDescription
phoneNumberBody ParamRequiredThe number to check, in international format with its country code, e.g. +12025550123.
devicePhoneNumberBody ParamOptionalThe end user's own number, when you have it, in international format. It is passed to the carrier as a login hint.
redirectUrlBody ParamOptionalAn 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

StatusErrorWhen
400ValidationErrorphoneNumber or devicePhoneNumber is not a valid international number, redirectUrl is not an https URL, or the body has an unknown field.
402InsufficientFundsErrorYour wallet cannot cover one check. Nothing is held: the check is charged only when it answers.
403AuthorizationErrorYour role may not run checks.
403GroupRejectedErrorYour group is rejected.
503ExternalServiceErrorNumber Verify is not available in this environment.

Example Request

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

Example Response 201

Response
{
  "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"
}

SDK Example

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

FieldTypeRequiredDescription
checkIdPath ParamRequiredThe checkId POST /verify/number returned (NVC + 10 characters).

Errors

StatusErrorWhen
400ValidationErrorcheckId is not a Number Verify check id.
403AuthorizationErrorYour role may not read checks.
404NumberVerificationNotFoundErrorNo check has this id in a group you can view.

Example Response 200

Response
{
  "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
}

SDK Example