GET /call_recording_rules/new

Authorization Required
https://[your-subdomain].trackdrive.com/api/v1/call_recording_rules/new

Build Call Recording Retention with defaults.

Builds a Call Recording Retention rule with default attributes without saving it.

Params

Param name Description
description
Optional Blank value allowed

Description

  • Must be a String

recording_type
Optional Blank value allowed

This type of recording will be deleted once the retention period has passed.

  • Must be one of: call, consumer_and_agent, consumer_and_buyer.

retention_seconds
Optional Blank value allowed

If a recording is older than this many seconds, it will be deleted.

  • Must be a decimal number.

offer_id
Optional Blank value allowed

Only recordings matching this offer will be deleted after the retention period.

schedule_id
Optional Blank value allowed

Only recordings matching this Schedule will be deleted after the retention period.

buyer_id
Optional Blank value allowed

Only recordings matching this Buyer will be deleted after the retention period.

traffic_source_id
Optional Blank value allowed

Only recordings matching this Traffic Source will be deleted after the retention period.