| Param name | 
           
              Description
             
            
                Validations
               
             | 
      
|---|---|
| 
        page  Optional  | 
      
         Return the next page of results. Validations: 
  | 
    
| 
        per_page  Optional  | 
      
         How many results to return per page. The default is 25. Validations: 
  | 
    
| 
        created_at_to  Optional  | 
      
         Date formatted like 2016-01-01 12:25:15 -0500 Validations: 
  | 
    
| 
        created_at_from  Optional  | 
      
         Date formatted like 2016-01-01 12:25:15 -0500 Validations: 
  | 
    
| 
        fulltext  Optional  | 
      
         Search for any record that matches this text Validations: 
  | 
    
| 
        time_zone  Optional  | 
      
         Date ranges will be parsed using this time zone. Validations: 
  | 
    
| 
        columns  Optional  | 
      
         
            Specify the columns you would like returned by the API for a given resource.
Limiting the columns can significantly increase API response time since only the requested data will be processed.
columns=uuid,number,created_at
 
          Must be any combination of:
 Validations: 
  | 
    
| 
        root  Optional  | 
      
         Pass  Validations: 
  | 
    
curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" -X POST -d '' trackdrive.com/api/v1/contacts/17193132645/caller_block
curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" -X POST -d '' trackdrive.com/api/v1/contacts/17193132645/caller_unblock
| Param name | 
           
              Description
             
            
                Validations
               
             | 
      
|---|---|
| 
        id  Optional  | 
      
         Lookup a contact by internal id, or by the 10+ digit telephone number. For example: Validations: 
  | 
    
| 
        blocked  Optional  | 
      
         Block or unblock a contact. Block prevents outbound actions (calls, sms, emails), and also blocks all inbound calls & sms. Validations: 
  | 
    
curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" -X PUT "trackdrive.com/api/v1/contacts/18551231234?blocked=true"
| Param name | 
           
              Description
             
            
                Validations
               
             | 
      
|---|---|
| 
        id  Optional  | 
      
         Lookup a contact by internal id, or by the 10+ digit telephone number. For example: Validations: 
  | 
    
| 
        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. Validations: 
  | 
    
| 
        blocked  Optional  | 
      
         Block or unblock a contact. Block prevents outbound actions (calls, sms, emails), and also blocks all inbound calls & sms. Validations: 
  | 
    
curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" -i -X DELETE "https://[your-subdomain].trackdrive.com/api/v1/contacts/123/calls?"
| Param name | 
           
              Description
             
            
                Validations
               
             | 
      
|---|---|
| 
        uuid  Optional  | 
      
         A unique identifier eg: 5cc8897c-ad0f-44cb-8ea7-8f7736ae76f1 Validations: 
  |