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

Create Call

POST
https://api.hamkaran.cloud/api/hamkaran/v1/create_call
This API allows users to initiate a new call, enabling features like Click to Call. By sending a request to this endpoint, the system will establish the desired call and start the connection. This functionality is part of Hamkaran Cloud's advanced cloud telephony solutions, helping organizations manage their communications more efficiently and effectively, thereby increasing employee productivity.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.hamkaran.cloud/api/hamkaran/v1/create_call' \
--header 'key: {{Hamkaran Webservice key}}' \
--form 'src="903"' \
--form 'dst="9197511420"' \
--form 'opt_name="Asiatech"' \
--form 'pstn_id="0"'
Response Response Example
{
  "msg": "Originate successfully queued",
  "code": "1",
  "data": {
    "status": "OK",
    "status_text": "OK (13ms)",
    "company": "شرکت طرح و توسعه پردازش همکاران",
    "tenant": 100,
    "ext": "902"
  }
}

Request

Header Params
key
string 
required
Example:
{{Hamkaran Webservice key}}
Body Params multipart/form-data
src
string 
required
Example:
903
dst
string 
required
Example:
9197511420
opt_name
string 
optional
Example:
Asiatech
pstn_id
string 
optional
Example:
0

Responses

🟢200Response
text/html
Body
object {0}
Modified at 2025-02-10 17:16:04
Previous
Get Call Recording by UID
Next
HangUp Call
Built with