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

Home › Panel Login & Account

Login — FarazSMS SMS web service

POST https://api.iranpayamak.com/ws/v1/auth/login

Purpose: Logs a user into the panel (not API access). Use the Api-Key for API calls, not this.

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

  • username (string) — required
  • password (string) — required
  • method (string) — optional

Notes for this endpoint

  • ⚠️ This is for panel sign-in, not web-service calls.
  • For API calls use the static API Key (Api-Key header), not the expiring token.

Example body

{
  "username": "<YOUR_USERNAME>",
  "password": "<YOUR_PASSWORD>",
  "method": null
}

Responses

  • 200 — Success

Related endpoints in Panel Login & Account

All FarazSMS web services · llms.txt · OpenAPI