Retrieves statistics related to sponsorships for a given client.
curl --request GET \
--url https://api.helpyousponsor.com/v1/admin/sponsorships/statistics \
--header 'Authorization: Bearer <token>'
{
"sponsorship_statistics": [
{
"program": {},
"all_recipients": 123,
"sponsored_recipients": 123
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Sponsorship statistics fetched successfully
The response is of type object
.
curl --request GET \
--url https://api.helpyousponsor.com/v1/admin/sponsorships/statistics \
--header 'Authorization: Bearer <token>'
{
"sponsorship_statistics": [
{
"program": {},
"all_recipients": 123,
"sponsored_recipients": 123
}
]
}