What You Can Do
The Givebutter API enables you to:Access Campaign Data
Retrieve campaign details, goals, and performance metrics
Manage Supporters
Access donor information, contact details, and giving history
Track Transactions
Monitor donations, process refunds, and analyze revenue
Sync Event Data
Integrate ticketing and event registration with your systems
Base URL
All API requests are made to:/v1.
Prerequisites
- A Givebutter account (sign up here)
- Basic knowledge of making HTTP requests
- An HTTP client or programming language (cURL, JavaScript, Python, etc.)
Step 1: Get Your API Key
1
Log into Dashboard
Sign in to your Givebutter Dashboard
2
Navigate to API Settings
Go to Settings → Integrations → API Keys
3
Create API Key
Click Create New API Key and give it a descriptive name (e.g., “My First Integration”)
4
Copy Your Key
Copy your API key immediately - you won’t be able to see it again!
Step 2: Make Your First Request
Let’s fetch a list of your campaigns. Choose your preferred language:Step 3: Understand the Response
You’ll receive a JSON response with your campaigns:Understanding the Response
Understanding the Response
data: Array of campaign objects -links: URLs for pagination (first, last, prev, next pages) -meta: Pagination metadata (current page, total items, etc.)
Step 4: Handle Errors
Always check for errors in your requests:Common Errors
| Error Code | What It Means | How to Fix |
|---|---|---|
| 401 | Invalid API key | Check your API key is correct and includes Bearer prefix |
| 403 | Permission denied | Verify your API key has access to this resource |
| 404 | Resource not found | Check the URL and resource ID are correct |
| 429 | Rate limit exceeded | Wait before making more requests, see Rate Limits |
What’s Next?
Now that you’ve made your first request, explore these resources:Authentication
Deep dive into API authentication and security
Pagination
Work with paginated results efficiently
Rate Limits
Understand rate limits and best practices
Errors
Handle errors gracefully in your integration
Campaigns
Explore campaign endpoints
Transactions
Access donation and transaction data
Contacts
Manage donor and supporter information