Create Call
POST
https://api.hamkaran.cloud/api/hamkaran/v1/create_call
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
Modified at 2025-02-10 17:16:04