Email
Create an email connection
Connects your own provider account. provider and what it takes:
- brevo: credentials.api_key, an API key (Brevo's SMTP key is not accepted).
- smtp: config host, port (587 or 2525, with STARTTLS) and username; credentials.password.
- postmark: config.message_stream (default outbound); credentials.server_token.
- resend: credentials.api_key.
- ses (Amazon SES): config.region and optionally config.configuration_set; credentials access_key_id and secret_access_key.
- graph (Microsoft 365): config tenant_id, client_id and sender, the mailbox that sends; credentials.client_secret of an app with the Mail.Send application permission.
Every provider takes config.attachment_budget_bytes and config.max_per_second; reads show them with the provider's defaults filled in. At most 10 connections per workspace; provider can't change later. credentials are encrypted and never returned. Authorize egress_ips at providers that restrict calling IPs (Brevo: Security → Authorized IPs).
post/v1/email-connections
Request
- Base URL: https://api-eu.dynamicdocumentapi.com
- URL: https://api-eu.dynamicdocumentapi.com/v1/email-connections
- Auth: one of:
- HTTP bearer
- API key in header X-API-Key
Headers
Idempotency-Keystring
Replays the stored response for 24 h; a different body with the same key → 422.
Request body
Response
Changes
No recorded changes to this operation across all 2 revisions of this API.