Enable catch-all receiving
Enables catch-all inbound receiving for a verified domain without requiring a destination.
POST
Enables catch-all inbound receiving for a verified domain without requiring a destination. endpointId is one of the organization's webhook endpoints; every address on the domain delivers message.received to it. Without an endpoint, forwarding rules and active mailboxes receive matching addresses. Unknown addresses reach unknownRecipientMailboxId when configured, otherwise they are dropped without a bounce. Responds with 201.
apiKeyheader
x-api-key<token>id*stringMatch
^dom_[0-9a-hjkmnp-tv-z]{16,24}$application/json- body
endpointId?|nullSuccess
application/json- response
success*trueValue in
trueimport { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.email.enableCatchAll({ "id": "example"});Example Response
{ "success": true}