---
title: "Validate phone number (EnvoiSMS Lookup Engine)"
method: POST
path: "/verify/lookup"
tags: ["Phone Verification (OTP)"]
---

# Validate phone number (EnvoiSMS Lookup Engine)

`POST /verify/lookup`

## Request

- Base URL: `https://api.envoisms.ma/v1`
- URL: `https://api.envoisms.ma/v1/verify/lookup`
- Auth: HTTP bearer

Validates phone number format, carrier, and location using the operator database.

## Request body

- object
  - `number` string, required: Phone number to validate (E.164 or local format)
  - `country_code` string: Optional ISO 2-letter country code

## Response `200`

Phone validation information

- object
  - `valid` boolean
  - `number` string
  - `local_format` string
  - `international_format` string
  - `country_prefix` string
  - `country_code` string
  - `country_name` string
  - `location` string
  - `carrier` string
  - `line_type` string

## Other responses

- `400`: Missing or invalid parameters

---

[API](https://skmtc.dev/envoisms/apis/envoisms-ma-api.md) · [All operations](https://skmtc.dev/envoisms/apis/envoisms-ma-api/llms.txt) · [OpenAPI document](https://skmtc.dev/envoisms/apis/envoisms-ma-api/revisions/662db074bd86?raw)
