---
title: "Verify"
description: "Phone number verification with one-time codes sent by SMS.\n\nCreate a verification to send a code to a number, then check the code the user enters. Codes\nexpire after a set time and can be cancelled, by ID or for every pending verification to a\nnumber. You control the code length, expiry and message template.\n\nVerification doesn't limit how many times a code can be checked, so add your own limit on\nattempts. These endpoints are under `/v3`. See [Verify](/guides/verify/).\n"
version: "v2"
---

> Documentation Index
> Fetch the complete documentation index at: https://dev.messageport.com.au/llms.txt
> Use this file to discover all available pages before exploring further.

Path: MessagePort API

Phone number verification with one-time codes sent by SMS.

Create a verification to send a code to a number, then check the code the user enters. Codes
expire after a set time and can be cancelled, by ID or for every pending verification to a
number. You control the code length, expiry and message template.

Verification doesn't limit how many times a code can be checked, so add your own limit on
attempts. These endpoints are under `/v3`. See [Verify](/guides/verify/).

## Operations

- [Create a verification](/api/verify/create/)
- [Check a code](/api/verify/check/)
- [Check a code by destination](/api/verify/check-by-destination/)
- [Cancel a verification](/api/verify/cancel/)
- [Cancel verifications by destination](/api/verify/cancel-by-destination/)


Source: https://dev.messageport.com.au/api/tags/verify/index.md
