API ReferenceEmail
Enable Catch-All
Authorization
apiKey X-API-Key<token>
API key for authentication
In: header
Request Body
application/json
domainId*string
Email domain ID
Format
uuidendpointId*string
Webhook endpoint ID to route emails to
Format
uuidconversationId?string
Optional conversation ID to associate catch-all emails with
Format
uuidResponse Body
application/json
curl -X POST "https://samva.app/api/v1/email/domains/:domainId/catch-all/enable" \ -H "Content-Type: application/json" \ -d '{ "domainId": "8a0b02c3-fdd8-452e-bc6e-ef07a335ec7e", "endpointId": "c8d2c7e1-e4b1-4108-9e29-3429a36a1ef3" }'{
"success": true,
"receiptRuleName": "string"
}