Examples

curl -H "Content-Type: application/json" -X PUT -d '{"post_call_tokens": {"good_lead":"yes","loan_amount":"500"}}' https://[your-subdomain].trackdrive.net/api/v1/calls/:id?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

id
optional

Find the call by ID or UUID.
Example ID 123895022.
Example UUID c3b20b12-3b3b-4322-b15d-0f1c5f653479

  • Must be String

post_call_tokens
optional

Custom contact fields defined on the offer.
EG: {first_name: "John", last_name: "Smith", zip_code: "90210"}

  • Must be Hash

revenue
optional

The revenue paid out for the call.

  • Must be a decimal number.

buyer_converted
optional

Did the buyer convert?

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

payout
optional

The amount paid to thetraffic source.

  • Must be a decimal number.

offer_converted
optional

Did the traffic source convert?

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