This API allows users to initiate a call from a specified source to a destination and play a pre-recorded audio message. By sending a request to this endpoint, the system will dial the destination number and play the specified audio file, ensuring the message is delivered accurately. This functionality is part of Hamkaran Cloud's advanced cloud telephony solutions, empowering organizations to streamline their communication processes and automate important announcements. It's particularly useful for scenarios such as delivering automated reminders, notifications, or welcome messages.
curl --location --request POST 'https://api.hamkaran.cloud/api/hamkaran/v1/send-pre-recorded' \
--header 'key: {{Hamkaran Webservice key}}' \
--form 'dest=""' \
--form 'src=""' \
--form 'audio="844-001"'
Response Response Example
{
"msg": "Originate successfully queued",
"code": "1",
"actionIDUuid": "26bb94f1-ed45-4ebb-99d7-765b85ce2dda"
}
Request
Body Params multipart/form-data
Modified at 2025-06-10 03:27:27