Double the Donation uses API keys to securely connect your donation forms and fundraising platforms with our matching gift tools. These keys authenticate your account and allow donor data to flow securely into Double the Donation.
What Are API Keys?
Double the Donation provides two types of API keys:
-
Public Key
-
Used on your donation forms to load the Double the Donation plugin.
-
Safe to share in form code and embed scripts.
-
-
Private Key
-
Used behind the scenes to authenticate your account.
-
Should never be shared publicly or embedded on donation pages.
-
Table: API Key Types and Uses
This table summarizes the difference between Public and Private keys.
Key Type | Purpose | Where It’s Used | Safe to Share? |
---|---|---|---|
Public Key | Connects your donation page/plugin to your Double the Donation account | Added to the giving page or form settings | ✔ Yes, safe for use in code or embeds |
Private Key | Authenticates your organization for secure API calls and platform integrations | Added in backend platform settings | ✘ No, keep confidential |
Where to Find Your API Keys
-
Log in to your Double the Donation account.
-
Go to Settings → API Keys.
-
Copy your keys as needed for integration.
Image 1: Double the Donation Public and Private Keys
Only admins have access to API keys. For security, Double the Donation cannot email or send these keys directly — you must retrieve them from within your account.
Security Best Practices
-
Keep your Private Key confidential.
-
Rotate keys if you believe they have been exposed.
-
Never share Private Keys via email or public articles.
Additional Resources
-
Integration Guides – step-by-step setup for each platform
-
Custom Implementation Guide – for nonprofits using custom donation forms
-
Training Video: API Keys – walkthrough of keys and setup
FAQs:
Q: Can Double the Donation send me my API keys by email?
A: No. For security reasons, keys are only accessible in your account under Settings → API Keys.
Q: Can I share my Public Key with a web developer?
A: Yes, the Public Key is safe to embed in forms and plugins.
Q: How to use API Keys in Integrations?
A: You can use the following API keys in integrations as follows:
- Public Key → Used to embed Double the Donation’s plugin on giving pages.
-
Private Key → Used in backend integration fields for authentication with supported platforms.
In short: API keys securely connect your giving platform with Double the Donation. Use the Public Key for donation page setup and the Private Key for backend authentication. Always retrieve them from your account settings — never by email.