Get Campaign stats
The Campaign Stats endpoint provides detailed statistics about a specific campaign, including the amount of money raised, the number of people who donated, and the statistics for different donation groups. This section outlines how to retrieve campaign statistics using the Campaign Stats endpoint.
Campaign Stats Endpoint
To retrieve campaign statistics, make a GET request to the following endpoint:
Replace
{campaignId}
with the unique identifier of the campaign you want to retrieve statistics for.
Response
A successful response to the Campaign Stats endpoint will return the campaign statistics in the JSON format. The response will include the following information:
Here's an example response:
Example
Here's an example cURL command to retrieve statistics for a specific campaign:
Replace YOUR_API_KEY
with your actual API key and campaign123
with the ID of the campaign you want to retrieve statistics for.
Last updated