Vai al contenuto

rejectCall

Richiesta

Reject a call as if it was rejected by the system

Sicurezza
ApiKeyAuth
Corpoapplication/json
idstring, (uuid)obbligatorio

The id of the call to reject

notestring

The note to add to the call

curl -i -X PATCH \
  https://liveid.test.namirialtsp.com/api/v2/rejectCall \
  -H 'Content-Type: application/json' \
  -H 'apikey: YOUR_API_KEY_HERE' \
  -d '{
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "note": "string"
  }'

Risposte

Success

Corpoapplication/json
servicestring

Service endpoint

successboolean

Success result

Predefinito:true
callUpdatedboolean

If the call was updated

Risposta
{ "service": "string", "success": true, "callUpdated": true }