When you call Email Sender Service with POST method, you can create a email_sender on next4biz CRM.
Your request body must be contain 4 properties.
| Name | Value |
|---|---|
| REST-API METHOD | Email Sender Create |
| HTTP METHOD | POST |
| RESPONSE TYPE | JSON |
| URL | https://api.crm.next4biz.com/email-sender/ |
| REQUEST HEAD | Accept: application/json; Content-Type: application/json |
{
"tenant_slug": "acme",
"channel": "79",
"access_token": "[YOUR ACCESSTOKEN]",
"email_sender": [
{
"sender_name": "John Doe",
"email_address": "[email protected]",
"smtp_username": "[email protected]",
"smtp_password": "***********",
"smtp_server": "smtp.acme.com",
"smtp_secure": "tls",
"smtp_port": "587"
}
]
}
{
"code": 200,
"status": "Success",
"result": [
{
"email_sender_id": 75,
"sender_name": "John Doe",
"email_address": "[email protected]",
"smtp_username": "[email protected]",
"smtp_password": "***********",
"smtp_server": "smtp.acme.com",
"smtp_secure": "tls",
"smtp_port": "587",
"channel": {
"channel_id": "79",
"channel_name": "Jhony",
"channel_slug": "jhony",
"created_at": "2017-09-05 11:53:41",
"lang": "tr",
"is_builtin": true,
"business_type": 1
}
}
]
}