Sent a ping to inform that user is active on pimenta.live

It’s important to send this ping on every 10 or 5 seconds.

URL Requires Auth HTTP Method
/api/v1/voice.call.ping yes POST


Argument Example Required Description
callId tpxGjMs3taDcJzaCf Required A call ID received on voice.call endpoint

Example Call

curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
     -H "X-User-Id: aobEdbYhXfu5hkeqG" \
     -H "Content-type:application/json" \
     http://localhost:3000/api/v1/voice.call.ping \
     -d '{"callId": "tpxGjMs3taDcJzaCf"}'

Example Result

    "success": true