Verify a PIN

Verify OTP to confirm successful phone number verification. pinId is received in the response after sending the OTP message.

Please log in to see full path URL. Learn why.
post
/2fa/2/pin/{pinId}/verify
path Parameters
pinId
required
string
Example: 0933F3BC087D2A617AC6DCB2EF5B8A61

ID of the pin code that has to be verified.

Request Body schema:
collapse all -
pin
required
string

The PIN code to verify.

Responses

default

successful response

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

4XX

Error responses

500

Internal Server Error

5XX

Error responses

Request samples

Content type
Copy
Collapse all
{
  • "pin": "1598"
}

Response samples

Content type
Copy
Collapse all
{
  • "pinId": "9C817C6F8AF3D48F9FE553282AFA2B67",
  • "msisdn": "41793026727",
  • "verified": true,
  • "attemptsRemaining": 0
}

Encountering issues

Contact our support

What's new? Check out

Release Notes

Unsure about a term? See

Glossary

Research panel

Help shape the future of our products
Learn more
Service status

Copyright @ 2006-2025 Infobip ltd.