Get email tracking defaults
Returns the organization's independent defaults for open and click tracking, both enabled unless configured otherwise.
GET
Returns the organization's independent defaults for open and click tracking, both enabled unless configured otherwise. Recipient opt-out takes precedence over these defaults.
apiKeyheader
x-api-key<token>EmailTrackingDefaults
application/json- response
opens*booleanclicks*booleanimport { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.email.getTrackingDefaults({});Example Response
{ "opens": true, "clicks": true}