{% method %}
Bandwidth API sends this message to the application when audio file playback is started or done playing.
Property | Description |
---|---|
eventType | The event type, value is playback . |
status | Values are started or done . |
callId | The call id associated with the event. |
callUri | The full URL of the call resource for this event. |
tag | String provided when playback started. |
time | Date when the event occurred. Timestamp follows the ISO8601 format (UTC). |
{% common %}
{
"eventType": "string",
"callId": "string",
"callUri": "string",
"status": "string",
"time": "date",
"tag": "string"
}
POST http://[External server URL]
{
"eventType":"playback",
"callId":"{callId}",
"callUri": "https://api.catapult.inetwork.com/v1/users/{userId}/calls/{callId}",
"status":"started",
"time":"2012-11-14T15:56:05.896Z"
}
POST http://[External server URL]
{
"eventType":"playback",
"callId":"{callId}",
"callUri": "https://api.catapult.inetwork.com/v1/users/{userId}/calls/{callId}",
"status":"started",
"time":"2012-11-14T15:56:05.896Z"
}
{% endmethod %}