Shows all sponsorships for a given program ID,
curl --request GET \
--url https://api.helpyousponsor.com/v1/admin/sponsorships/{program_id} \
--header 'Authorization: Bearer <token>'
{
"data": [
{}
],
"length": 123,
"filter": "<string>",
"program_id": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Program ID to fetch sponsorships for
Sponsorships fetched successfully
The response is of type object
.
curl --request GET \
--url https://api.helpyousponsor.com/v1/admin/sponsorships/{program_id} \
--header 'Authorization: Bearer <token>'
{
"data": [
{}
],
"length": 123,
"filter": "<string>",
"program_id": "<string>"
}