curl --request PUT \
--url https://api.helpyousponsor.com/v1/admin/auto_emails/template \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"emailset_id": 123,
"trigger": "<string>",
"client_id": 123,
"subject": "<string>",
"message": "<string>",
"to": "<string>",
"disabled": true,
"no_email": true,
"id": 123
}'
{
"message": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Data needed to edit an email template
The body is of type object
.
Successful operation
The response is of type object
.
curl --request PUT \
--url https://api.helpyousponsor.com/v1/admin/auto_emails/template \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"emailset_id": 123,
"trigger": "<string>",
"client_id": 123,
"subject": "<string>",
"message": "<string>",
"to": "<string>",
"disabled": true,
"no_email": true,
"id": 123
}'
{
"message": "<string>"
}