Update Email Config
Email Notifications Configuration
Update Email Config
POST
Update Email Config
Use this API to update the email service configuration for a workspace. At least one of
useEmailService or emailServiceConfig must be provided.
This endpoint uses API-key-level auth: pass
x-velt-api-key and x-velt-auth-token as headers. You can obtain these from the Get Auth Tokens endpoint.Defaults on first enable. If you enable the service — either with
useEmailService: true or by sending emailServiceConfig.type: "custom" — and the stored config has no triggers yet (defaults are seeded even if type / SendGrid fields already exist), defaults are seeded automatically: the service is marked as a custom provider (type: "custom"), the standard comment triggers and all huddle triggers are turned on, and useEmailService is set to true. Existing non-trigger fields are preserved, and any emailServiceConfig values you send in the same request are merged on top of these defaults.The response
data echoes the latest post-write state as { useEmailService, emailServiceConfig } — the same shape returned by Get Email Config. Fields not part of your request fall back to the existing stored values.Endpoint
POST https://api.velt.dev/v2/workspace/emailconfig/update
Headers
Your API key.
Your Auth Token.

