curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/donors/notify \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"client_id": "1",
"hysform_id": 1,
"emailset_id": 1,
"donor_ids": "[1,2,3]"
}'
{
"success_message": "Account Notification Emails successfully sent to 2 Donors.",
"error_message": "1 Account Notification Email failed to send."
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Data needed to send notification to donors
The body is of type object
.
Successful operation
The response is of type object
.
curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/donors/notify \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"client_id": "1",
"hysform_id": 1,
"emailset_id": 1,
"donor_ids": "[1,2,3]"
}'
{
"success_message": "Account Notification Emails successfully sent to 2 Donors.",
"error_message": "1 Account Notification Email failed to send."
}