Hamkaran.cloud
  1. Hamkaran Cloud Phone
Hamkaran.cloud
  • Hamkaran Cloud Phone
    • Get Call Center Reports
      GET
    • Get Extension Status
      GET
    • Get Call Recording by UID
      POST
    • Create Call
      POST
    • HangUp Call
      POST
    • Send a pre-recorded call
      POST
    • Get a pre-recorded call Details
      POST
  1. Hamkaran Cloud Phone

Send a pre-recorded call

POST
https://api.hamkaran.cloud/api/hamkaran/v1/send-pre-recorded
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.
Request Request Example
Shell
JavaScript
Java
Swift
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

Header Params
key
string 
required
Example:
{{Hamkaran Webservice key}}
Body Params multipart/form-data
dest
string 
required
src
string 
required
audio
string 
required
Example:
844-001

Responses

🟢200Response
text/html
Body
object {0}
Modified at 2024-10-13 15:10:16
Previous
HangUp Call
Next
Get a pre-recorded call Details
Built with