Billing The billing records in your account.

Resource Description
GET /api/v1/billings Get billing records.
GET /api/v1/billings/stats Get statistical data on billing records grouped by criteria.

Buyer Groups The buyer groups in your account.

Resource Description
GET /api/v1/buyer_groups Get buyer groups.
GET /api/v1/buyer_groups/:id Get an individual buyer group by id
POST /api/v1/buyer_groups/:id Update an individual buyer group
PUT /api/v1/buyer_groups/:id Update an individual buyer group
DELETE /api/v1/buyer_groups/:id Destroy an individual buyer group.

Buyers The buyers in your account.

Resource Description
GET /api/v1/buyers Get buyers.
GET /api/v1/buyers/:id Get an individual buyer by id
PUT /api/v1/buyers/:id Update an individual buyer
POST /api/v1/buyers Create a buyer.
DELETE /api/v1/buyers/:id Destroy an individual buyer.

Buyers: Suppression Lists Prevent callers on suppression lists from being forwarded to buyers.

Resource Description
GET /api/v1/buyer_suppressions List suppression lists.
GET /api/v1/buyer_suppressions/new Build a suppression list with default attributes.
POST /api/v1/buyer_suppressions Create a suppression list.
GET /api/v1/buyer_suppressions/:id Get details about a suppression list.
PUT /api/v1/buyer_suppressions/:id Update a suppression list.
DELETE /api/v1/buyer_suppressions/:id Destroy a suppression list.

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

Resource Description
GET /api/v1/calls List calls.
GET /api/v1/calls/reports Get statistics on calls by category.
GET /api/v1/calls/stats Get statistics on calls by category and interval.
POST /api/v1/calls Make an outbound phone call.
GET /api/v1/calls/:id Get a call by id or uuid.
PUT /api/v1/calls/:id Update a call with post_call_tokens.
POST /api/v1/calls/update_buyer/:caller_id Update a call's revenue and buyer_converted using the call's caller_id and offer_token
DELETE /api/v1/calls/:id Hang up an ongoing call.

Calls By Third-Party This resource allows third-party users to update calls using td_secure_token and td_uuid passed in a call's SIP headers. These endpoints do not require authentication with a auth_token

Resource Description
PUT /api/v1/secure/:secure_token/calls/:uuid Update a call with td_secure_token and td_uuid passed in a call's SIP headers.
DELETE /api/v1/secure/:secure_token/calls/:uuid Hang up an ongoing call using a td_secure_token and td_uuid passed in a call's SIP headers.

Calls: Agent Dispositions API resource for managing the agent disposition settings.

Resource Description
GET /api/v1/call_dispositions List records.
GET /api/v1/call_dispositions/new Build record with defaults.
POST /api/v1/call_dispositions Create record.
GET /api/v1/call_dispositions/:id Get record by id.
PUT /api/v1/call_dispositions/:id Update record by id.
DELETE /api/v1/call_dispositions/:id Destroy record by id.

Calls: Scheduled Callbacks The Scheduled Callbacks in your account. Calls will be placed to leads when the callback matches.

Resource Description
GET /api/v1/scheduled_callbacks/new Returns a new Scheduled Callback
POST /api/v1/scheduled_callbacks Create a Scheduled Callback
GET /api/v1/scheduled_callbacks/:id Returns a Scheduled Callback by ID
PUT /api/v1/scheduled_callbacks/:id Updates a Scheduled Callback by ID
DELETE /api/v1/scheduled_callbacks/:id Delete a Scheduled Callback by ID

Contacts The contacts that have dialed your numbers.

Resource Description
GET /api/v1/contacts/:id Get details about a contact.
PUT /api/v1/contacts/:id Update a contact
DELETE /api/v1/contacts/:id/calls Hang up all the ongoing calls from a contact.

Datasets

Resource Description
GET /api/v1/datasets/points Get datasets
GET /api/v1/datasets/calls/:stat Get call datasets
GET /api/v1/datasets/leads/:stat Get call datasets
GET /api/v1/datasets/billing Get the billing dataset
GET /api/v1/datasets/number_impressions Get the number impression dataset

Impressions The impressions recorded by the advertising optimizer.

Resource Description
GET /api/v1/impressions Advertising optimizer impressions.

Integrations API resources relating to integrations.

Resource Description
PUT /api/v1/integrations/objects/:id Update the status of an Integration Object.

Leads

Resource Description
POST /api/v1/leads Send leads to your Trackdrive account.
PUT /api/v1/leads/:caller_id/caller_opt_out Mark a single lead as opt-out. Opted-out leads will no longer be sent SMS, Calls, or Emails.
POST /api/v1/leads/:caller_id/caller_remove Remove a single lead from a Schedule or Offer. This will prevent ANY additional actions being taken on behalf of the lead.
GET /api/v1/leads List your leads.
GET /api/v1/leads/:id Get details about a lead.
PUT /api/v1/leads/:id Update a lead.
DELETE /api/v1/leads/:id/id Destory a lead by it's internal id.

Offers The set of offers in your account.

Resource Description
GET /api/v1/offers Get offers.
GET /api/v1/offers/:id Get an offer by id.
PUT /api/v1/offers/:id Update an offer by id.
DELETE /api/v1/offers/:id Destroy an offer by id.

Offers: Agent Scripts API resource for managing an offer's agent scripts.

Resource Description
GET /api/v1/contact_field_views List records.
GET /api/v1/contact_field_views/new Build record with defaults.
POST /api/v1/contact_field_views Create record.
GET /api/v1/contact_field_views/:id Get record by id.
PUT /api/v1/contact_field_views/:id Update record by id.
DELETE /api/v1/contact_field_views/:id Destroy record by id.

Offers: Contact Fields API resource for managing an offer's contact fields.

Resource Description
GET /api/v1/contact_fields List records.
GET /api/v1/contact_fields/new Build record with defaults.
POST /api/v1/contact_fields Create record.
GET /api/v1/contact_fields/:id Get record by id.
PUT /api/v1/contact_fields/:id Update record by id.
DELETE /api/v1/contact_fields/:id Destroy record by id.

Offers: Contact Fields: Picklist Values API resource for managing a contact field's picklist values.

Resource Description
GET /api/v1/contact_field_values List records.
GET /api/v1/contact_field_values/new Build record with defaults.
POST /api/v1/contact_field_values Create record.
GET /api/v1/contact_field_values/:id Get record by id.
PUT /api/v1/contact_field_values/:id Update record by id.
DELETE /api/v1/contact_field_values/:id Destroy record by id.

Offers: Impression Tokens Define the unique url parameters that will be tracked when using Dynamic Number Insertion For example google clickIDs can be tracked: gclid

Resource Description
GET /api/v1/visitor_token_matchers List records.
GET /api/v1/visitor_token_matchers/new Build record with defaults.
POST /api/v1/visitor_token_matchers Create record.
GET /api/v1/visitor_token_matchers/:id Get record by id.
PUT /api/v1/visitor_token_matchers/:id Update record by id.
DELETE /api/v1/visitor_token_matchers/:id Destroy record by id.

Offers: Optimizer Tokens API resource for managing an offer's optimizer tokens.

Resource Description
GET /api/v1/token_matchers List records.
GET /api/v1/token_matchers/new Build record with defaults.
POST /api/v1/token_matchers Create record.
GET /api/v1/token_matchers/:id Get record by id.
PUT /api/v1/token_matchers/:id Update record by id.
DELETE /api/v1/token_matchers/:id Destroy record by id.

Outgoing Webhooks Webhooks (also known as Postbacks) fire when a triggers occurs, such as a buyer being dialled or a call ending.

Resource Description
GET /api/v1/outgoing_webhooks List webhooks
GET /api/v1/outgoing_webhooks/new Build a new webhook
POST /api/v1/outgoing_webhooks Create a webhook
GET /api/v1/outgoing_webhooks/:id Show the details of a webhook
PUT /api/v1/outgoing_webhooks/:id Update a webhook
DELETE /api/v1/outgoing_webhooks/:id Delete a webhook

Outgoing Webhooks: URLs Configure the URLs that fire when an Outgoing Webhook is triggered.

Resource Description
GET /api/v1/outgoing_webhook_urls List webhook urls
GET /api/v1/outgoing_webhook_urls/new Build a new webhook url
POST /api/v1/outgoing_webhook_urls Create a webhook url
GET /api/v1/outgoing_webhook_urls/:id Show the details of a webhook url
PUT /api/v1/outgoing_webhook_urls/:id Update a webhook url
DELETE /api/v1/outgoing_webhook_urls/:id Delete a webhook url

Phone numbers The phone numbers in your Trackdrive account.

Resource Description
GET /api/v1/phone_numbers Get the phone numbers assigned to your account.
POST /api/v1/phone_numbers Purchase a new phone number using one of your existing provider configurations.
GET /api/v1/phone_numbers/:id Show the details of phone number
PUT /api/v1/phone_numbers/:id Update a phone number's traffic source or Number Pool
DELETE /api/v1/phone_numbers/:id Unrent a phone number.

SMS Text Messages Sends a message by submitting an outbound message request.

Resource Description
POST /api/v1/text_messages Sends a message by submitting an outbound message request.
GET /api/v1/text_messages/:id Retrieves details about a specific text message request.

Schedules The schedules in your Trackdrive account. Automate placing calls, SMS, Emails, and more to leads.

Resource Description
GET /api/v1/schedules List schedules.
GET /api/v1/schedules/new Build a schedule with default attributes.
POST /api/v1/schedules Create a schedule.
GET /api/v1/schedules/:id Get details about a schedule.
PUT /api/v1/schedules/:id Update a schedule.
DELETE /api/v1/schedules/:id Destroy a schedule.

Schedules: Actions Manage the actions of a schedule.

Resource Description
GET /api/v1/schedule_actions List schedule actions.
GET /api/v1/schedule_actions/new Build a schedule action with default attributes.
POST /api/v1/schedule_actions Create a schedule action.
GET /api/v1/schedule_actions/:id Get details about a schedule action.
PUT /api/v1/schedule_actions/:id Update a schedule action.
DELETE /api/v1/schedule_actions/:id Destroy a schedule action.

Schedules: Triggers The End Of Schedule Triggers in your account. Leads will be moved to "End Of Schedule Actions" when any of the triggers below match.

Resource Description
GET /api/v1/schedule_triggers Search for Schedule Triggers
GET /api/v1/schedule_triggers/new Returns a new Schedule Trigger
POST /api/v1/schedule_triggers Create a Schedule Trigger
GET /api/v1/schedule_triggers/:id Returns a Schedule Trigger by ID
PUT /api/v1/schedule_triggers/:id Updates a Schedule Trigger by ID
DELETE /api/v1/schedule_triggers/:id Delete a Schedule Trigger by ID

Teams The collection of teams in your account.

Resource Description
GET /api/v1/teams/:id Get a team by id.

Telephone Providers The Phone Providers in your Trackdrive account. One of: Trackdrive, Twilio, and Plivo.

Resource Description
GET /api/v1/provider_configurations List Phone Providers
GET /api/v1/provider_configurations/:id Find Specific Phone Provider
PUT /api/v1/provider_configurations/:id Update Specific Phone Provider

Tokens The tokens in your Trackdrive account.

Resource Description
GET /api/v1/tokens List your tokens.
GET /api/v1/tokens/:id Get details about a token.
PUT /api/v1/tokens/:id Update a token.
GET /api/v1/tokens/fields Get details about a token.

Tokens: Values The token values in your Trackdrive account.

Resource Description
GET /api/v1/token_values List your token values.

Traffic Sources The traffic sources in your account.

Resource Description
GET /api/v1/traffic_sources Get traffic sources matching filters.
POST /api/v1/traffic_sources Create a new Traffic Source.
GET /api/v1/traffic_sources/:id Get a Traffic Source by id.
PUT /api/v1/traffic_sources/:id Update a Traffic Source by id.
DELETE /api/v1/traffic_sources/:id Destroy a Traffic Source by id.

Traffic Sources: Conversions The set of Traffic Source Conversions in your Trackdrive Account.

Resource Description
GET /api/v1/offer_conversions List the Traffic Source Conversions in your Trackdrive Account.
GET /api/v1/offer_conversions/:id Get a Traffic Source Conversion by ID.
POST /api/v1/offer_conversions Create a Traffic Source Conversion.
PUT /api/v1/offer_conversions/:id Update a Traffic Source Conversion by ID.
DELETE /api/v1/offer_conversions/:id Delete a Traffic Source Conversion by ID.

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.

Resource Description
GET /api/v1/subscriptions List Subscriptions
POST /api/v1/subscriptions Create a subscription
GET /api/v1/subscriptions/:id Get a subscription
PUT /api/v1/subscriptions/:id Update a subscription
DELETE /api/v1/subscriptions/:id Delete a subscription
DELETE /api/v1/subscriptions Delete a subscription matching a target_url