POST
/
admin
/
sponsorships
/
donor
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": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
ID and client ID to fetch details for
client_id
string
Example:

"1"

donors
integer
Example:

1

entities
integer
Example:

1

frequency
string
Example:

"1"

id
integer

donor id

Example:

1

method
string
Example:

"1"

Response

200
application/json
Successful operation
name
string
Example:

"John Doe"

dname
string
Example:

"John Doe"

donor
object
vars
object
id
integer
Example:

1

dntns
object
programs
string[]
email_template
object
program
object
hysform
object