Overview
Add contacts to ClientTouch based on information sent via an http form post.
Post Url
https://www.allclients.com/api/2/AddToClientTouch.aspx- SSL is required
- White Label CRM Customers: Replace www.allclients.com with your White Label CRM domain name.
Notes
For large sets of data, you may want to break this up into multiple API calls, and only send a few hundred Contact IDs at a time.
Based on your requirements, you may also want to call the ClearClientTouch API function before adding contacts more contacts to ClientTouch.
Form Fields
Field | Max Length* | Required | Notes |
response_type | No | Default results will be returned in XML.Set this field value to json to return results in JSON format | |
accountid | Yes | Must be numeric. Account ID for this account. Found in Settings > API Settings or for White Label CRM in the Admin control panel | |
apikey | Yes | API Key for this account. Found in Settings > API Settings or for White Label CRM in the Admin control panel | |
teammemberid | Yes | Specify Team Member ID, or use “0” for Account Owner. | |
contactids | Yes | List of Contact IDs that are in the account, comma separated values. For large sets of data, you may want to break this up into multiple API calls, and only send a few hundred Contact IDs at a time. |
Sample Results
<?xml version="1.0" ?> <results> <added>3</added> <errornotadded>1</errornotadded> </results>
Sample Failure Message
<?xml version="1.0"?> <results> <error>Authentication failed</error> </results>