curl --request GET \
--url https://api.helpyousponsor.com/v1/donor/{id} \
--header 'Authorization: Bearer <token>'
{
"status": "success",
"data": {
"status": "Active",
"profile": {
"field_key": "field_value"
},
"fields": [
{}
],
"donor": {},
"hysform": {},
"profilePic": "",
"name": "John Doe",
"details": {},
"emailsets": {},
"years": [
123
],
"template_errors": [
"<string>"
]
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the donor to be fetched
Successful operation
The response is of type object
.
curl --request GET \
--url https://api.helpyousponsor.com/v1/donor/{id} \
--header 'Authorization: Bearer <token>'
{
"status": "success",
"data": {
"status": "Active",
"profile": {
"field_key": "field_value"
},
"fields": [
{}
],
"donor": {},
"hysform": {},
"profilePic": "",
"name": "John Doe",
"details": {},
"emailsets": {},
"years": [
123
],
"template_errors": [
"<string>"
]
}
}