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": "[email protected]",
"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
"1"
"Example Name"
Email settings details
"Email Settings Successfully Saved."
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": "[email protected]",
"from_name": "Example Name"
}
'{
"message": "Email Settings Successfully Saved."
}