Returns donor details, program details, and other related information
curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/sponsorships/donor \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"client_id": "1",
"donors": 1,
"entities": 1,
"frequency": "1",
"id": 1,
"method": "1"
}'
{
"name": "John Doe",
"dname": "John Doe",
"donor": {},
"vars": {},
"id": 1,
"dntns": {},
"programs": [
"<string>"
],
"email_template": {},
"program": {},
"hysform": {}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID and client ID to fetch details for
The body is of type object
.
Successful operation
The response is of type object
.
curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/sponsorships/donor \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"client_id": "1",
"donors": 1,
"entities": 1,
"frequency": "1",
"id": 1,
"method": "1"
}'
{
"name": "John Doe",
"dname": "John Doe",
"donor": {},
"vars": {},
"id": 1,
"dntns": {},
"programs": [
"<string>"
],
"email_template": {},
"program": {},
"hysform": {}
}