GET
/
admin
/
auto_emails
/
send
/
{program_id}
/
{trigger}
/
{to}
/
{donor_id}
/
{entity_id}
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>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

program_id
integer
required

The id of the program

Example:

1

trigger
string
required

The trigger for sending the email

Example:

"profile_update"

to
string
required

The recipient of the email

Example:

"donor"

donor_id
integer
required

The id of the donor

Example:

1

entity_id
integer
required

The id of the entity

Example:

1

Response

200
application/json
Successful operation
message
string

The response message