Appending Contact Data Using Forms

API - Updated Contact Data Using Forms

Data may be posted directly to serviceminder.com to append existing information. For example, if there is a series of custom fields that need to be updated in contacts, this method may be used.

The URL that to have the form post to needs to be in the following form:

https://serviceminder.io/service/contact/append/*API Key*

Then, the "hash" for the contact needs to be passed-in, either as a parameter or field in the actual form.  If passed as a parameter, the URL would look like this:

https://serviceminder.io/service/contact/append/*API Key*?hash_key={contact.hash}

If it is easier to pass the hash as a hidden field,  include a hidden input similar to this:

<input type="hidden" name="HashKey" id="HashKey" value="{contact.hash}">

The contact hash value must be in either of those two locations for the append action to work. If not, this action will return an HTTP error status code of 404.

Once the data has been posted and processed, serviceminder will return a JSON payload with the same data as the addupdate action. It also supports redirecting if a RedirectUrl value is passed in.