Answer a Survey/Form From Your External Website via our API

By leveraging our API, you can customize the front-end of your experience and capture data on your external website.


With our API, you can submit data to our various engines to process the business logic according to your settings.  A great way of putting data in the system is by using our Survey API to submit data to forms.

Start out by setting up a new form in PeopleVine and then create your replicate HTML version of that form (if you search for it, there's an article on how to leverage HAPI to generate a form's HTML).

Once your form is setup, you can now get your API application and credentials ready.  Go to the company menu and click on API Credentials and API Applications to set them up.  Then ensure you have an API user too.  In the end, you should be able to create your AUTH object as such:

API Username – XXXX

API Password – XXXX

API Key - XXXX

Username - XXXX

Password - XXXX

Company_no - XXXX

When looking to submit data to our forms engine, you can reference the API details below: 

API Docs: http://composeapi.com/api_fields.aspx?company_no=1&method_no=352 

Endpoint: https://api.peoplevine.com/survey.asmx/answerSurvey

 Sample Object to Include in Answers

{"survey_no": 3402, "survey_field_no": 11798, "survey_answer": "Jane Doe", "response_id": "<GUID>" }

 Sample Call

{"answers": [{"survey_no": 123, "survey_field_no": 567890, "survey_answer": "Jane Doe", "response_id": "<GUID>" },{"survey_no": 1234, "survey_field_no": 678901, "survey_answer": "Sample Company", "response_id": "<GUID>" }], "auth": {"api_username": "", "api_password": "", "api_key": "", "company_no": 0, "username": "", "password": "" } }

 Make sure the response_ID value is the same for all your answers.  This will allow us to group the data into a single response.

When looking to submit data to our CRM, you can reference the API details below:

API Docs: http://composeapi.com/api_fields.aspx?company_no=1&method_no=6 

API Endpoint: https://api.peoplevine.com/customer.asmx/registerCustomer

 "auth": {"api_username": "", "api_password": "", "api_key": "", "company_no": 0, "username": "", "password": "" }, "customer": {"email": "", "mobile_number": "", "first_name": "", "customer_type": "customer", "customer_status": "active", “attributes”: [{“attribute_value”: “Value Here”, “attribute_type”: “Group Name Here”}] } }

 Sample Object

"customer" {
     "email" 'xyz@abc.com',
     "opt_in_email" true,
     "attributes" [{
          "attribute_value" "VALUE HERE",
          "attribute_type" "GROUP NAME HERE"
     }]
}

Additional Help Tutorials

Find more ways to grow on PeopleVine.

Enable a Queueing System for Popular Events

With our latest queueing engine for tickets, you can sell hot and limited quantity tickets with the assurance that you won't oversell.

Posted December 1, 2021

Add Your Members to Groups in Square

We can map your members into groups in Square by following these steps.

Posted November 24, 2021

Test Your Integration with our Salesforce Sandbox Connection

Are you looking to validate the data flow and integration between Peoplevine and Salesforce? You can connect to our stage environment in order to test your integration.

Posted November 23, 2021

Troubleshooting Why Your E-mails Go to Spam

Are your e-mails ending up in the Spam or Junk Mail folders? It's most likely due to a missing setting.

Posted November 8, 2021

Sync Your Customer Attributes with Client Tags in Sevenrooms

Sync your customer attributes captured via the member portal or application and sync with Sevenrooms for top notch hospitality.

Posted October 29, 2021

Add a Custom Opt-Out Footer to Your E-mails

You can remove the existing opt-out section to provide a custom one by adding our {@opt_out_url@} tag to your e-mails new footer.

Posted October 29, 2021

Splitting Checks and Payments with Micros Simphony and Peoplevine Memberships

Learn how to split checks amongst multiple members and/or guests and allow for multiple different payment types.

Posted October 20, 2021

Stripe V2 Integration Supports Native Tokenization and 3D Secure Payments

With our latest release of our Stripe integration, we are introducing our v2 that provides Stripe native tokenization along with support for 3D secure on the first payment capture.

Posted October 19, 2021

Renew Someone's Failed Subscriptions (with add-ons) in One Charge After it Fails

Some of you know the painpoint of renewing someone's subscription that recently failed and they have multiple items on their subscription. This article explains about a new feature that allows you to charge those in one lump sum.

Posted September 23, 2021

Allow Members and Guests to Book Spa Appointments with Book4Time in Our Latest Integration

With our latest integration to Book4Time, we provide real-time availability, crm sync and more to provide the best experience possible for your members and guests.

Posted August 24, 2021

Get an Alert When Members Pay their Invoices

Of course you can monitor your A/R on a daily basis, but that's tedious and sometimes disappointing. With our latest alert, you can get notified when someone pays an invoice.

Posted August 24, 2021

Build a Survey Application and Answer it on Your Site or App

Are you looking to leverage our tools to manage your CRM and applications, but want to build a custom experience for capturing the responses to an application in Peoplevine?

Posted August 20, 2021

Include a Link to Download Their Membership Card

This quick snippet will help you setup a button to click and take them to their membership card to download.

Posted August 18, 2021

Submit a Survey Response from Your Website

Connect your existing website to our platform by submitting the survey response direct to our JSON.

Posted August 17, 2021

We will Automatically Retry Subscriptions that Failed 3 Days Ago and 7 Days Ago

In an effort to ensure you don't lose funds from members who's card failed during their recurring billing, our system will automatically retry the payment 3 day and 7 days after the first fail.

Posted August 13, 2021

© Peoplevine 2021. Powered by PeopleVine. Terms of use | Privacy & cookies