Update email tracking defaults
Updates one or both organization email tracking defaults and returns the complete saved policy. Recipient opt-out still takes precedence.
PATCH
Updates one or both organization email tracking defaults and returns the complete saved policy. Recipient opt-out still takes precedence.
apiKeyheader
x-api-key<token>application/json- body
opens?booleanclicks?booleanEmailTrackingDefaults
application/json- response
opens*booleanclicks*booleanimport { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.email.updateTrackingDefaults({});Example Response
{ "opens": true, "clicks": true}