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
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.

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

Resource Description
GET /api/v1/calls Get pages of calls by criteria.
GET /api/v1/calls/reports Get statistics on calls by category.
GET /api/v1/calls/stats Get statistics on calls by category and interval.
GET /api/v1/calls/:uuid Get a call by id or uuid.
PUT /api/v1/calls/:uuid Update a call.
DELETE /api/v1/calls/:uuid Hang up an ongoing call.

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/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 translation missing: en.api.integrations.update_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.
DELETE /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.
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.

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.

Provider configurations The Phone Providers in your Trackdrive account.

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

Schedules The schedules in your Trackdrive account.

Resource Description
GET /api/v1/schedules List schedules.
GET /api/v1/schedules/:id Get details about a schedule.

Third-Party Calls This resource allows third-party users to update calls using a secure token.

Resource Description
PUT /api/v1/secure/:secure_token/calls/:uuid Update a call with a secure_token and uuid.
DELETE /api/v1/secure/:secure_token/calls/:uuid Hang up an ongoing call using a secure_token and uuid.

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

Teams The collection of teams in your account.

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

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 translation missing: en.api.tokens.update
GET /api/v1/tokens/fields Get details about a token.

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.