Enable inbound email for a domain
Enables inbound receiving for a verified domain and returns the recipient addresses it accepts.
Enables inbound receiving for a verified domain and returns the recipient addresses it accepts. Set catchAll to accept every address on the domain. No destination is required to enable receiving. With no webhook endpoint, mail reaches matching forwarding rules and active mailboxes; unknown addresses reach unknownRecipientMailboxId when configured, otherwise they are dropped without a bounce.
apiKeyx-api-key<token>id*string^dom_[0-9a-hjkmnp-tv-z]{16,24}$application/json- body
domain*stringcatchAll?boolean|nullendpointId?|nulladdresses?array<string>|nullSuccess
application/json- response
success*truetruerecipients*array<string>import { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.email.enableReceiving({ "id": "example", "domain": "example"});{ "success": true, "recipients": [ "string" ]}Related documentation
Enable a custom tracking domain
Enable a custom tracking domain. View request and response details for this Samva email API endpoint.
List blocked email logs
Returns inbound emails that were blocked, most recently blocked first, optionally filtered by block entry, sender, or block time (`after`, `before`).