PUT /contacts/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/contacts/:id
Update a contact
Blocks or unblocks a contact, or marks it opted out/in for SMS. Blocking here affects only this contact record; opting out also opts out every Lead with the same phone number, preventing outbound contact while still letting them dial back in to resubscribe. Requires the Call Block permission.
Params
| Param name | Description |
|---|---|
|
id Optional |
Lookup a contact by internal id, or by the 10+ digit telephone number. For example:
|
|
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.
|
|
blocked Optional |
Block or unblock a contact. Block prevents outbound actions (calls, sms, emails), and also blocks all inbound calls & sms.
|