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) — requiredpassword(string) — requiredmethod(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