GET /api/v1/contacts/:id
Get details about a contact.

Supported Formats

json

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

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

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


Supported Formats

json

Examples

curl -X PUT "trackdrive.net/api/v1/contacts/18551231234?blocked=true&auth_token=[your-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

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


DELETE /api/v1/contacts/:id/calls
Hang up all the ongoing calls from a contact.

Examples

curl -i -X DELETE "https://[your-subdomain].trackdrive.net/api/v1/contacts/123/calls?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

uuid
optional

A unique identifier eg: 5cc8897c-ad0f-44cb-8ea7-8f7736ae76f1

  • Must be String