post https://api.cakemail.dev/brands/default/senders
Using the SDK
from cakemail.models import CreateSender
sender = api.sender.create(
CreateSender(
name='<sender name>',
email='<sender email address>'
)
)
<?php
$sender = $api->sender->create([
'create_sender' => new \Cakemail\Lib\Model\CreateSender([
'name' => '<sender name>',
'email' => '<sender email address>'
])
]);