curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/email/settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"client_id": "1",
"from_address": "example@example.com",
"from_name": "Example Name"
}'
{
"message": "Email Settings Successfully Saved."
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Client ID, From Address and From Name are required
The body is of type object
.
Email settings details
The response is of type object
.
curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/email/settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"client_id": "1",
"from_address": "example@example.com",
"from_name": "Example Name"
}'
{
"message": "Email Settings Successfully Saved."
}