PUT /api/v2/call/{id}
Update the details for a single call.
Query String Parameters
callerphonenumber optional | The caller phone number. |
---|---|
callername optional | The caller name. |
destinationphonenumber optional | The destination phone number. |
destinationname optional | The destination name. |
subject optional | The subject. |
rating optional | The call rating. Valid values are 0 to 5. |
Result Code
200 | OK |
---|---|
401 | Unauthorized |
404 | Call not found |
406 | SSL must be used |
500 | Server Error |
Example request
Example;- PUT
https://api.calln.com/api/v2/call/4277?notes=test&rating=4 Result;- 200 (OK)
Using Curl
curl "https://api.calln.com/api/v2/call/{callid}?notes=test&rating=4" -H "Authorization: Basic username:password | base64" -X PUT