curl --request GET \
--url https://api.helpyousponsor.com/v1/admin/auto_emails/send/{program_id}/{trigger}/{to}/{donor_id}/{entity_id} \
--header 'Authorization: Bearer <token>'
{
"message": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The id of the program
1
The trigger for sending the email
"profile_update"
The recipient of the email
"donor"
The id of the donor
1
The id of the entity
1
Successful operation
The response is of type object
.
curl --request GET \
--url https://api.helpyousponsor.com/v1/admin/auto_emails/send/{program_id}/{trigger}/{to}/{donor_id}/{entity_id} \
--header 'Authorization: Bearer <token>'
{
"message": "<string>"
}