Send user from WP contact form to Kentico Contact - how to get started?

Troy Roennfeldt asked on July 19, 2017 15:00

Hello,

See below for details:

What we need to achieve:

Use WordPress plugin Ninja Forms or Contact Form 7 as a normal contact form that also asks if user wants to get added to specific newsletters (multiple) and then send those contacts (name, email, etc) to Kentico Contacts (in Modules -> Contact management).

This would be similar to what using Ninja Forms and https://ninjaforms.com/extensions/campaign-monitor/ would do - use a regular WP contact form and if user opts for newsletter, the user details are sent via api to CM.

Information we have:

  • we've been given the end point xxx.com/api/contact/addcontact
  • ContactKey
  • GroupName --> This is a ; delimited list of contact groups you would like to assign the contact to.

How to get started?

How can we achieve this, where are the very basic code examples and tutorials hosted? We would need more basic information than what's offered at https://docs.kentico.com/api10/development/form-controls ie something along the lines of with Campaign Monitor https://github.com/campaignmonitor/createsend-php and https://www.campaignmonitor.com/api/

Thank you!

   Please, sign in to be able to submit a new answer.