Play File

The play action will play the audio file to the caller, by greeting the caller with specific pre-recorded music or playing the music while the caller is on hold. PIOPIY supports both mp3 and wav file formats.

Prerequisites

  1. Sign up for a free PIOPIY demo account.

  2. Create your endpoint and add capacity.

  3. Buy PIOPIY phone number.

  4. Setup your webserver and map your POST method URL in answer URL.

Play action JSON

[
{
"action": "play",
"file_name": "welcome_11112.mp3"
}
]

Properties

PropertyTypeDescription
*file_namestringThe Name of the file to play from TeleCMI cloud CDN.
*file_urlstringThe URL of the file to play from your own cloud CDN.

Note:

  • The * marked property is mandatory.