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

Home › Send SMS

Upload Voice Message File — FarazSMS SMS web service

POST https://api.iranpayamak.com/ws/v1/sms/voice/upload-file

Purpose: Upload a voice file and get a `file_id` — the prerequisite of a voice send.

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.

Notes for this endpoint

  • Upload the audio file here to get a file_id.
  • That file_id is the input to Send Voice Message.

Responses

  • 201 — SMS request is enqueued successfully.

Related endpoints in Send SMS

All FarazSMS web services · llms.txt · OpenAPI