فراز اس ام اس مستندات توسعه‌دهندگان

Home › Send SMS

Send Voice Message — FarazSMS SMS web service

POST https://api.iranpayamak.com/ws/v1/sms/voice/send

Purpose: Send a voice call (recorded message) to recipients; the audio must be uploaded first.

Send a Voice message toward many recipients. You must use at least one of the attrebute {recipients} or {selectedPhoneBooks}.

Auth: header Api-Key (key from the panel, case-sensitive).

Request fields

  • file_id (integer) — required
  • recipients (array) — optional
  • selectedPhoneBooks (array) — optional
  • schedule (string) — optional

Example body

{
  "file_id": 1,
  "recipients": [
    "09120000000"
  ],
  "selectedPhoneBooks": [
    {
      "id": 1,
      "offset": 0,
      "limit": 10
    }
  ],
  "schedule": "2025-08-20 15:30:00"
}

All FarazSMS web services · llms.txt · OpenAPI