Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 2.89 KB

File metadata and controls

46 lines (37 loc) · 2.89 KB

RecordWebhook

The RecordUtterance command has completed and its actionUrl is being invoked.

Properties

Name Type Description Notes
request_type str The context or reason why this request is being made. Will be record - The RecordUtterance command has completed and its actionUrl is being invoked. [optional]
account_id str Account ID associated with your account. [optional]
call_id str Unique identifier for this Call, generated by FreeClimb [optional]
var_from str Phone number of the party that initiated the Call (in E.164 format). [optional]
to str Phone number provisioned to the customer and to which this Call is directed (in E.164 format). [optional]
call_status CallStatus [optional]
direction CallDirection [optional]
conference_id str This is only populated if request pertains to a conference. Otherwise, it is set to null. [optional]
queue_id str This is only populated if the request pertains to a queue. Otherwise, it is set to null. [optional]
recording_id str ID of the recording. [optional]
recording_url str URL of the recorded audio file. This URL can be used as is in a Play command to play the recording (no authentication needed). It can also be used to download a recording file via the REST API. [optional]
recording_size str Size of the recording in bytes [optional]
recording_format str File type of the recording (audio/wav) [optional]
recording_duration_sec int Duration of the recorded audio rounded up to the nearest second (in seconds) [optional]
term_reason RecordUtteranceTermReason [optional]
parent_call_id str ID of Call that created this leg (child call). [optional]
privacy_mode bool If true then it indicates the recording will only be available for download for two minutes prior to it being deleted. This is to minimize risk of anyone else getting access to the url and attempting to access it. [optional]

Example

from freeclimb.models.record_webhook import RecordWebhook

# TODO update the JSON string below
json = "{}"
# create an instance of RecordWebhook from a JSON string
record_webhook_instance = RecordWebhook.from_json(json)
# print the JSON string representation of the object
print(RecordWebhook.to_json())

# convert the object into a dict
record_webhook_dict = record_webhook_instance.to_dict()
# create an instance of RecordWebhook from a dict
record_webhook_from_dict = RecordWebhook.from_dict(record_webhook_dict)

[Back to Model list] [Back to API list] [Back to README]