Retrieves statistical data for a specific program based on the provided program ID.
curl --request GET \
--url https://api.helpyousponsor.com/v1/admin/program/{program_id}/statistics \
--header 'Authorization: Bearer <token>'
{
"All": 123,
"Available": 123,
"Sponsored": 123,
"Unsponsored": 123,
"Archived": 123
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Program ID for which to fetch statistics
Statistics retrieved successfully
The response is of type object
.
curl --request GET \
--url https://api.helpyousponsor.com/v1/admin/program/{program_id}/statistics \
--header 'Authorization: Bearer <token>'
{
"All": 123,
"Available": 123,
"Sponsored": 123,
"Unsponsored": 123,
"Archived": 123
}