The Groundwork API
Create applications that engage supporters, accept payments, organize events, and more. All within a secure, fast, and reliable ecosystem.
You’re on a mission to build technology that changes the world for the better. We’ll provide the tools, documentation, and examples to help you succeed.
Our platform was desgined to withstand the staggering traffic of presidential campaigns and to anticipate for endless customization.
Create applications that engage supporters, accept payments, organize events, and more. All within a secure, fast, and reliable ecosystem.
The code below uses a demo API key, run it in your terminal to try it out.
curl -X POST
-u "pub-groundwork.developer-center--P1fOn0YX.U4qBp0.7j9vG5tOW4kz0FlNNPnm6ovCOAMDhHdx9afgiLLATTc8o4xKsbd2_Ei15IQz01vG9BC1iQ:"
-H "Content-Type: application/json"
-d '{
"schemaId": "7ac2dc55-d63c-44f3-9905-968a108dba95",
"data": {
"givenName": "Developer",
"familyName": "Center",
"email": "demo@thegroundwork.com"
}
}'
"https://api.thegroundwork.com/collections/supporters/records"
JavaScript is the language of web browsers. Our official JS client makes interacting with The Groundwork API quick and comfortable.
The code below is live on this page using a demo API key. Try it out.
import Groundwork from 'groundwork.js';
const gw = new Groundwork({apiKey: 'pub-groundwork.developer-center--P1fOn0YX.U4qBp0.7j9vG5tOW4kz0FlNNPnm6ovCOAMDhHdx9afgiLLATTc8o4xKsbd2_Ei15IQz01vG9BC1iQ'});
const data = {
givenName: 'Jill',
familyName: 'Stevens',
email: 'jills@thegroundwork.com',
password: '1FishRacecar'
};
gw.profiles.create(data)
.then(handleSuccess)
.catch(handleError);
A new Profile was successfully created. Profiles allow managing user accounts. Read more about this in the Profile docs.
A CS degree shouldn’t be required to make an impact. Our drop-in solutions help you get going with minimal coding knowledge.
The code below is live on this page using a demo API key. Try it out.
<!doctype html>
<html>
<body>
<div id="payment-block"></div>
<script
src="https://cdn.thegroundwork.com/payments-block/1.7.0/payments.min.js"
data-gw-api-key="pub-groundwork.developer-center--P1fOn0YX.U4qBp0.7j9vG5tOW4kz0FlNNPnm6ovCOAMDhHdx9afgiLLATTc8o4xKsbd2_Ei15IQz01vG9BC1iQ"
data-target-id="payment-block">
data-amount-values="1,10,25"</script>
</body>
</html>
The form below was generated by the example code in the previous screen. to submit the form.
At every step of our development process we have you and your process in mind. We provide developer-centered APIs and tools to allow you to focus on what you can build, not how you’ll get it done.
Process one-time donations, create recurring transactions, save credit card info, and process single-click donations.
Create supporter profiles, mailing lists, surveys, and build custom forms to request input and feedback from your supporters.
Plan and organize grassroots Events. Create and manage event details. Send invitations. Create, sell, and distribute tickets.