POST
/
admin
/
donors
/
notify
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."
}

Authorizations

Authorization
string
header
required

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

Body

application/json
Data needed to send notification to donors
client_id
string

The id of the client

Example:

"1"

hysform_id
integer

The id of the form

Example:

1

emailset_id
integer
Example:

1

donor_ids
integer[]
Example:

"[1,2,3]"

Response

200
application/json
Successful operation
success_message
string
Example:

"Account Notification Emails successfully sent to 2 Donors."

error_message
string
Example:

"1 Account Notification Email failed to send."