email-accounts
Connect new sending email accounts with SMTP and IMAP settings
This can be a large request and may take some time to complete. But you will get response immediately after the request is submitted.
On request of this API, you will receive a requestId that can be used to check the status of the import process.
To check the status of the import process, you can use the /v1/email-accounts/connect/status API.
After completion you will receive a CSV file link containing the email account import details.
post/v1/email-accounts/connect
Request
- Base URLhttps://developer.saleshandy.com (the document declares no server; this is the origin it was published from)
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
[
{
"emailServiceProvider": "gsuite",
"fromFirstName": "John",
"fromLastName": "Snow",
"smtpEmailAddress": "john@example.com",
"smtpUserName": "john@example.com",
"smtpPassword": "smtp-password",
"smtpHost": "smtp.gmail.com",
"smtpPort": 465,
"smtpEncryption": "ssl",
"imapEmailAddress": "john@example.com",
"imapUserName": "john@example.com",
"imapPassword": "imap-password",
"imapHost": "imap.gmail.com",
"imapPort": 993,
"imapEncryption": "ssl"
}
]Response
The email accounts connection process has been initiated successfully. Please wait while we connect your email accounts. You may check the status using this API /v1/email-accounts/connect/status/{{requestId}}.
unknown required
Example response
{
"message": "The email accounts connection process has been initiated successfully. Please wait while we connect your email accounts. You may check the status using this API `/v1/email-accounts/connect/status/{{requestId}}`.",
"payload": {
"requestId": "129a184"
}
}Changes
No recorded changes to this operation across all 4 revisions of this API.