Record

The record action will record the conversation of the call. Both incoming call and outgoing call conversation can be recorded. By recording the conversation it will be useful in monitoring the users and the single caller recording can be used for voicemail system also.

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.

Record action JSON

[
{
"action": "record"
}
]

Properties

PropertyTypeDescription
*actionstringThe PCMO action to control the flow of the call.
Note
The * marked property is mandatory.

Sample JSON Response

Your web server will get a sample response from PIOPIY Platform as given below for incoming call.

{
action: 'inbound',
from: '19170000001',
to: '19170000000',
time: 1670568234000,
cmiuuid: '28b9fc5f-b147-47e1-80a4-1edf1339efe1'
}

Properties

These are the list of properties and its description

PropertyTypeDescription
actionstringDirection of this call
fromnumberThe number who made a call
tostringYour PIOPIY phone number
timestringTimestamp of this call
cmiuuidstringA unique identifier of this call