API - Getting started
The CSRconnect API allows your community to connect and interact with CSRconnect.
Sample use cases include:
-
Creating in-app dashboards for CSRconnect.
-
Updating your intranet with year-to-date (YTD) charitable donations and matches.
-
Adding a widget to your employees’ Workday environment to show individual and company matching donations.
-
Creating individualized My Giving home pages to show employees their own statistics for giving and volunteering. Providing a direct link to their respective CSRconnect page allows them to update it as well.
-
Creating, updating, registering, and recording participation for company-sponsored volunteer event programmatically.
We have a variety of APIs that allow you retrieve information on:
-
Specific employes
-
Employee groups
-
Metrics for employees, volunteer events, giving campaigns, donations to specific charities, etc.
-
Volunteer events, including creating, editing, and deleting them using APIs
-
Custom questionnaire responses
See our information on Swagger at https://api.yourcause.com/swagger/index.html.
Our sample Postman collection with example API calls is available for download. To use it, set up your Postman environment to include:
-
The base URL of the environment you’re trying to connect to:
-
Production: https://api.yourcause.com
-
-
Your API key in that environment (xbbkey)
-
Your internal AffiliateID in our system. If you don’t know what it is, reach out to our support team or your Customer Success Manager and we can provide it.
-
A sample employee email address for a valid employee in that environment.
After creating the environment in Postman, options include:
-
Running the whole collection to see all results.
-
Opening a specific API endpoint and selecting Send to see the result for that API endpoint.
Completing API setup requirements
To use this API, your community must:
-
Obtain a valid API key.
-
Be an existing customer.
Generating a new external API key
To generate a new external API key:
-
Log in to the CSRconnect Admin Portal.
-
Navigate to Integrations, External API Keys.
-
Select Create API Key.
-
Enter a name for the API key.
-
Indicate the expiration period and all applicable client services.
-
Select Save.
-
On the External API Keys page, select Show Key beneath the key listing.
-
Copy the key listed in the Key field.
-
Include this key in a header variable named x-bb-key for each request using the external API to link to CSRconnect.
For more information on the CSRconnect external API, see External API Swagger.