Supported Formats

json, csv

Examples

wget "https://[your-subdomain].trackdrive.net/api/v1/billings?page=1&order=created_at&auth_token=[your-auth-token]"

Params

Param name
Description
auth_token
Optional

Authorize requests using your token. Get it from your profile: trackdrive.net/profile/edit

  • Must be String

page
Optional

Return the next page of results.

  • Must be a number.

offer_id
Optional

Refer to the offer api for details

call_id
Optional

The internal id for a call on Trackdrive.

created_at_to
Optional

Date formatted like 2016-01-01 12:25:15 -0500

  • Must be String

created_at_from
Optional

Date formatted like 2016-01-01 12:25:15 -0500

  • Must be String

order
Optional

Sort results by this field.

  • Must be one of: amount, cost, trackdrive_cost, third_party_cost, offer_id, call_id, id, charge_count, buyer_converted_count, offer_converted_count.

order_dir
Optional

Sort results in ascending or descending order.

  • Must be one of: asc, desc.

columns
Optional
Specify the columns you would like returned by the API for a given resource. Limiting the columns can significantly increase API response time since only the requested data will be processed. columns=uuid,number,created_at

Must be any combination of:

  • id
  • legacy_id
  • type
  • uuid
  • created_at
  • updated_at
  • deleted_at
  • user_updated_at
  • routes_show_path
  • routes_edit_path
  • charge_type
  • memo
  • charge_count
  • from
  • to
  • charge_amount
  • sms_blast_id
  • offer_id
  • number_id
  • third_party_cost
  • sms_ai_charges_count
  • call_id
  • provider_configuration_id
  • billing_direction
  • schedule_id
  • Must be String