Verifies the credentials against the mail server before storing anything, then creates the connected account and starts its backfill. Credentials are encrypted at rest and are never returned. Setting shared makes the mailbox belong to the organization rather than the calling user, and requires organization-administrator rights. An organization mailbox is visible only inside its own workspace.
apiKeyAuth In: header
application/json
TypeScript Definitions
Use the request body type in TypeScript.
^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$emaillength <= 255^[a-z0-9.-]+$1 <= length <= 2539931 <= value <= 65535true^[a-z0-9.-]+$1 <= length <= 2535871 <= value <= 65535false1 <= length <= 3201 <= length <= 1024false901 <= value <= 3650application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://loading/api/v1/messaging/connect/imap" \ -H "Content-Type: application/json" \ -d '{ "emailAddress": "user@example.com", "imapHost": "string", "smtpHost": "string", "username": "string", "password": "string" }'API key authentication. Create an API key in your user profile and include it in the x-api-key header.
{
"connected": true,
"connectedAccountId": "ac03972a-5ca5-43c5-b96f-c519ac843b7a"
}"string""string""string"{
"connected": true,
"connectedAccountId": "ac03972a-5ca5-43c5-b96f-c519ac843b7a"
}"string"