Submits a form with its data


This endpoint processes a form submission based on data in the request body.


In addition to all of the required fields from the form definition JSON, the type must also be included. It is in the form definition, but it can be one of ContributionForm, EventForm, PetitionForm, SignupForm, VolunteerForm, or AdvocacyForm. This must come with a Content-Type=application/x-www-form-urlencoded; charset=UTF-8; with key/value pairs, the key of each field being the name attribute from the form definition. A sample POST to a contribution form (note that this is expressed in the form of a JSON object for consumption by the interactive documentation; for the real API, send POST data) is shown below.


A successful form post returns the resultCode of Success as well as the page response and a timestamp of the submission.

Click Try It! to start a request and see the response here!