Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • Integrations

PostBack to TrackDrive using Basic Auth

Written by Rich Nolan

Updated at July 24th, 2023

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Getting Started
  • Integrations
  • API Documentation
  • Knowledge Base
  • FAQs
  • Features
  • Blog
  • TrackDrive Tools
+ More

 

Post Back Call Data to TrackDrive using Basic Header Authorization

 

URL: Below is the URL to use but you MUST replace the TrackDrive Subdomain to the Subdomain of the TrackDrive client:

 

https://{TRACKDRIVE_SUBDOMAIN_HERE}.trackdrive.com/api/v1/calls/update_call/{TRACKDRIVE_CALL_UUID} 

NOTE: The payload below is set

 

HTTP Method: POST

 

Headers: 

Content Type: application/json  (NOTE: If doing a POST URL or GET do not use this header)

Authorization: Basic {Basic Auth Token Here - see below}

 

Body:

For ease in setting this up, the JSON Payload is below, just fix the fields in squiggly brackets. 

 

{

           "buyer_converted": "true",

            "revenue": "[Call:ConversionPayout]",

            "offer_converted": "true"

            “post_call_tokens” :  { 

            }

}

 

The JSON Payload above is the minimum setup to use to Postback to TrackDrive.  However, more data can be appended if available in the Buyer data.  For example, the “first_name” and “last_name” may be fields a TrackDrive user wants back in the hashed “post_call_tokens” values of the Postback.  However, additional data is usually not sent on Postbacks for most tracking purposes, and the example payload above is all you will need.

 

Obtaining Your Basic Auth Header Token:

 

Basic Authorization is required to update calls in TrackDrive.  If you can't set headers in your data, we do have an option to send authorization in the payload, but please reserve the use of this on an as needed basis. Authorization should be done in the Header and not the Payload for more security.

 

An Authorization Token may be obtained from your TrackDrive client or using one you assign to yourself on the TrackDrive account associated with your email.  To get your own Basic Auth Token from TrackDrive to use in headers, switch to YOUR account on TrackDrive and use the following instructions as pictured:

 

 

Navigate to Integrations/API & Access Tokens

 

Click on New Button to add a new Auth Token

 

Description: Give a good name for this Access Setup.  The example above has “Global Basic Auth for My Email Address”

 

Data Access: Pick Superuser Access

 

Resource Access: Check the box for Grant unlimited access to all resources.

 

NOTE: Some legacy systems we realize don't allow you access to put in Header values.  In this case, you can send the “auth_token” with the API key you find your Profile on TrackDrive; however, permission must be granted in your TrackDrive Client's Team Setup for you to allow the legacy token to be used.

 

trackdrive postback

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • PING/POST: TrackDrive to TrackDrive
  • PING: TrackDrive to Ringba (aka RTB)
  • BASICS: PostBack to TrackDrive with "auth_token"
  • DIRECT POST: Ringba to TrackDrive
  • Trackdrive

    Powerful call analytics and web-lead to inbound call automation.

    • call (855) 387-8288
    • mail support@trackdrive.net
    • warning Submit A Ticket
  • Important Links

    Features Careers Blog Terms of Service Privacy Policy GDPR Policy Brand Kit
  • Features

    Call Tracking Lead to Call Automation Hold Queue & Caller Callback Multiple Phone Providers Dynamic Number Insertion Real-Time Bidding Advertising Optimizer Bulk SMS Comprehensive REST API
  • Developers

    REST API Docs Number Insertion Docs System Status

Knowledge Base Software powered by Helpjuice

© 2022 All Rights Reserved.

Definition by Author

0
0
Expand