voiceData
Adds multiple voice records.
Send metadata, source transcription and voice records to the archive with an option of transcription being generated by Global Relay
post/v2/voicedata
Request
- Base URLhttps://developers.globalrelay.com
- Authnone declared. Required headers: X-SubType
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-SubTypestring required
Request body
Example request
{
"requestInfo": {
"requestId": "6124FC40-CA47-1000-B311-00DD010662DA"
},
"callOverview": {
"callId": "123456789",
"owner": {
"name": "Adam Smith",
"company": "Wavelength Securities",
"detail": "Business Analyst",
"phone": "555 012 2345",
"email": "adam.smith@wavelength.com",
"joinTimeMS": 1621851918000,
"leaveTimeMS": 1621851918000,
"identityType": "internal"
},
"callType": "intercom",
"direction": "inbound",
"stopReason": "owner_hangup",
"deviceName": "Office phone",
"isExternal": true,
"subjectOverride": "New Subject for email",
"callProperties": [
{
"name": "Call Quality",
"value": "5.0",
"hidden": true
}
]
},
"voiceRecords": [
{
"startTime": 1621851918000,
"stopTime": 1621851918000,
"timeZone": "EST",
"participants": [
{
"name": "Adam Smith",
"company": "Wavelength Securities",
"detail": "Business Analyst",
"phone": "555 012 2345",
"email": "adam.smith@wavelength.com",
"joinTimeMS": 1621851918000,
"leaveTimeMS": 1621851918000,
"identityType": "internal"
}
],
"recordingFile": {
"filename": "call1234.mp4",
"description": "Morning call",
"fileKey": "morningcalls/call1234.mp4"
}
}
],
"extraFiles": [
{
"filename": "attachment3.doc",
"fileKey": "attachments/attachment3.doc",
"fileHref": "https://www.globalrelay.com/?",
"description": "List of callers"
}
]
}Response
OK
Example response
{
"reconciliationId": "60128f870f0d6e0d7a9ce772"
}Changes
No recorded changes to this operation across all 1 revision of this API.