Ping/Post Logs

Records of every ping/post request an offer's inbound webhook received, for troubleshooting lead delivery.

GET /inbound_webhook_logs

Authorization Required
https://[your-subdomain].trackdrive.com/api/v1/inbound_webhook_logs

List Ping/Post Logs records.

List the ping/post request logs recorded for your offers' inbound webhooks (lead posting endpoints), useful for auditing what data a traffic source actually sent and what Trackdrive did with it. Uses cursor-based pagination, requires created_at_from, enforces a maximum date range, and requires the Webhook Logs permission.

Params

Param name Description
ids
Optional

Return records matching these ids.

  • Must be an array of decimal values. EG: [0, 1, 2, 3]

page
Optional

Return the next page of results. A per_page request parameter > 10 is not allowed, cursor must be used instead.

  • Must be a number.

cursor
Optional

The API provides a technique called ‘cursoring’ to paginate large result sets. Cursoring separates results into pages (the size of which are defined by the per_page request parameter) and provides a means to move backwards and forwards through these pages. To retrieve cursored results, you initially pass a cursor with a value of -1 to the endpoint. By default, an API endpoint that supports cursoring will assume -1 was passed as cursor if you do not provide one. The response to a cursored request will contain metadata.next_cursor. The next_cursor is the cursor that you should send to the endpoint to receive the next batch of responses. You will know that you have requested the last available page of results when the API responds with a next_cursor = 0.

  • Must be a decimal number.

per_page
Optional

How many results to return per page. The default is 25.

  • Must be a number.

created_at_to
Optional

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

  • Must be a String

created_at_from
Optional

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

  • Must be a String

fulltext
Optional

Search for any record that matches this text

  • Must be a String

time_zone
Optional

Date ranges will be parsed using this time zone.

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
  • external_record_id
  • inbound_webhook_id
  • request_params
  • created_int
  • company_id
  • started_at
  • request_method
  • source_ip
  • response_status
  • response_success
  • request_duration
  • caller_id
  • webhook_logs_count
  • webhook_log_ids
  • call_uuid
  • offer_id
  • traffic_source_id
  • response_body
  • buyer_ids
  • bid_amount
  • buyer_converted
  • offer_converted
  • revenue
  • payout
  • messages
  • Must be a String

root
Optional

Pass root=false to return results without a root node and metadata.
For example:
GET /api/v1/calls?root=false will return [call1, call2, call3]
While:
GET /api/v1/calls will return {calls: [call1, call2, call3], metadata: {}}

  • Must be a boolean value: 1, true, yes, on, 0, false, no, off