curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/sponsorships \
--header 'Content-Type: application/json' \
--header 'X-HYS-API-Key: <api-key>' \
--data '
{
"donors": 1,
"id": 1,
"sp_amount": "100",
"client_id": "1",
"entity_id": 1,
"entities": 1,
"method": "3",
"frequency": "1",
"next": "2023-11-25"
}
'{
"message": "Sponsorship relationship successfully created."
}Documentation Index
Fetch the complete documentation index at: https://api-docs.helpyousponsor.com/llms.txt
Use this file to discover all available pages before exploring further.
API key generated from Developer Settings. Format: hys_...
Data required to create a new sponsorship
Donor ID
1
Donor ID
1
Sponsorship amount
"100"
"1"
Entity ID
1
Entity ID
1
Payment method
"3"
Frequency of payment
"1"
"2023-11-25"
Sponsorship relationship successfully created
"Sponsorship relationship successfully created."
curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/sponsorships \
--header 'Content-Type: application/json' \
--header 'X-HYS-API-Key: <api-key>' \
--data '
{
"donors": 1,
"id": 1,
"sp_amount": "100",
"client_id": "1",
"entity_id": 1,
"entities": 1,
"method": "3",
"frequency": "1",
"next": "2023-11-25"
}
'{
"message": "Sponsorship relationship successfully created."
}