Supported Formats

json

Examples

curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" -X PUT "trackdrive.com/api/v1/contacts/18551231234?blocked=true"

Params

Param name
Description
id
Optional

Lookup a contact by internal id, or by the 10+ digit telephone number. For example:
To find a number using trackdrive's internal id pass id=185923
To find a number using the phone number pass id=18005002562

  • Must be String

opt_out
Optional

Mark a contact as opt-out or opt-in. Opt-out prevents outbound actions (calls, sms, emails), but allows the lead to dial in to your offers to resubscribe.

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

blocked
Optional

Block or unblock a contact. Block prevents outbound actions (calls, sms, emails), and also blocks all inbound calls & sms.

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