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.
DELETE /api/v1/calls/:uuid Hang up an ongoing call.

Contacts The contacts that have dialled your numbers.

Resource Description
GET /api/v1/contacts Get contacts matching filters.
PUT /api/v1/contacts/:id Update an individual contact
DELETE /api/v1/contacts/:id/calls Hang up all the ongoing calls from a contact.

Datasets

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

Leads

Resource Description
POST /api/v1/leads Send leads to your Trackdrive account.
DELETE /api/v1/leads/:id Destroy an individual lead.

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

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.

Teams The collection of teams in your account.

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

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.