PostBack to TrackDrive using Basic Auth

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.