TrackDrive API

Every resource below is available over HTTPS with your company's access token.

Getting started

TrackDrive allows using both basic and token authentication to secure API requests.

Company Access Tokens use basic authorization, which requires users or applications to provide a valid set of credentials, including a public and private key combination that is included in the Authorization header of an API request. They provide granular permissions for each keypair, allowing for more fine-grained control over API access.

Developer Access Tokens use token authorization, which requires users or applications to provide a valid auth_token in the Authorization header of an API request. They grant access based on the user's existing permissions, including access to companies the user has permission to access. Basic authorization includes a base64-encoded public and private key combination would look like this:

curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" https://subdomain.trackdrive.com/api/v1/resource

Replace BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY with the base64 encoded string of your public key and private key separated by a colon. For example, if your public key is user and private key is pass, you can use the following command to generate the encoded string:

echo -n 'tdpub1234:tdprv1234' | base64

This will output the encoded string dXNlcjpwYXNz. So the final curl command will look like this:

curl -H "Authorization: Basic dXNlcjpwYXNz" https://subdomain.trackdrive.com/api/v1/resource

Note that the -n option is used with echo to remove the trailing newline character from the output. Manage Access Tokens

Calls

Call Records

The phone calls that have been made to and from your account.

Recording Retention

Rules that automatically delete call recordings after a set retention period, scoped to an offer, schedule, buyer, or traffic source.

Leads

Lead By Third-Party

Submit and manage the leads in your Trackdrive account from anywhere with CORS fully whitelisted. These endpoints allow you to submit or opt-out leads using AJAX on behalf of a user visiting your website.

Offers

Call Flow: Answer Groups

Groups of keypress choices offered to callers during an IVR menu, with shared response-collection settings.

Key Press Flow Groups

Groups the individual key press actions a caller can use during a call into one reusable set.

Ping/Post

Buyers

Suppression Lists

Do-not-call lists of phone numbers that block matching contacts from being sent to associated offers, schedules, or buyers.

Traffic Sources

Traffic Source Rate Limiters

Manage reusable rate limit configurations for traffic sources.

Traffic Source Rate Limits

Manage per-traffic-source rate limit entries.

Numbers

Number Order Prefixes

Phone number area codes or prefixes requested within a number order, with how many numbers to buy for each.

Mitigation Numbers

Manage spam-tag mitigation and branded caller ID for your phone numbers. Enabling a number registers it with the mobile carriers to remove "Spam Likely" labels; setting a branded name displays your business name as the caller ID on outbound calls. A one-time business compliance profile must be completed before numbers can be enabled; carriers approve the business in 1-3 business days, then approve each submitted number in about 2-3 weeks.

Schedules

Action Groups

A named, reusable bundle of call actions, such as transferring, hanging up, or sending an SMS, that run together when triggered by an agent status change or a matched transcription.

Distributions

Route incoming leads to different schedules based on predefined filters. Configure filters using attributes such as geographic location, interest, lead score, or custom fields. When a new lead is received, the API evaluates these filters to automatically assign the lead to the appropriate schedule. This feature streamlines the lead distribution process, enabling quicker response times and more targeted engagement.

Number Pools

Assign multiple number pools to a schedule with filters. When placing outbound calls, the system evaluates filters in sort order and uses the first matching number pool. When no filters match, the last number pool in the list is used as the fallback.

Agents

SMS

Transcription

API Audio Transcriptions

Speech-to-text transcripts generated from an audio file you submit directly, independent of any call or lead.

Transcription Flow Groups

A named group for organizing related transcription flow configurations.

Transcription Flows

Configures which calls get automatically transcribed, based on the recording type (the full call, the consumer-agent leg, or the consumer-buyer leg) and an optional filter, such as call direction or the caller's location.

Transcription Keyword Groups

A named group of keywords that Trackdrive spots within call transcriptions to flag calls automatically.

Transcription Keyword

Defines keywords or phrases to detect in call transcripts, and which audio channel to scan.

Tokens

Routing Rules

Contacts & Blacklist

Webhooks

Webhook Subscriptions

Subscribe to events and then wait for Trackdrive to deliver the payload when things happen. The gist is: you POST a subscription to /api/v1/subscription/ requesting to receive hooks at some target URL. Every time the event happens, Trackdrive pings you at the target URL with the payload.

Integrations

Playlists

Reports & Exports

Account