API ReferenceEmail
Create Forwarding Rule
Authorization
apiKey X-API-Key<token>
API key for authentication
In: header
Request Body
application/json
name*string
description?string|null
domainId?string|null
sourcePattern?string|null
forwardTo*array<string>
preserveHeaders?boolean
appendNote?string|null
conditions?|null
priority?integer
Range
-2147483648 <= value <= 2147483647isActive?boolean
metadata?|null
Response Body
application/json
curl -X POST "https://samva.app/api/v1/email/forwarding/rules" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "forwardTo": [ "string" ] }'{
"id": "string",
"name": "string",
"forwardTo": [
"string"
],
"priority": 0,
"isActive": true,
"createdAt": "2019-08-24T14:15:22Z"
}