فراز اس ام اس مستندات وب‌سرویس

Home › Panel Login & Account

Verify 2fa — FarazSMS SMS web service

POST https://api.iranpayamak.com/ws/v1/auth/verify-2fa

Purpose: Verifies the two-factor code during panel login.

Authentication

This endpoint requires the Api-Key header — get the key from the FarazSMS panel. The header name is case-sensitive and the key must never travel in a query string.

Request fields

  • token (string) — required
  • code (string) — required
  • method (string) — optional

Notes for this endpoint

  • Two-factor code verification during panel login.

Example body

{
  "token": "<TOKEN_FROM_LOGIN_RESPONSE>",
  "code": "264135",
  "method": "sms"
}

Responses

  • 200 — Success

Related endpoints in Panel Login & Account

All FarazSMS web services · llms.txt · OpenAPI