Email

Create a forwarding rule

Creates an inbound email forwarding rule and returns it. Responds with 201. Priority is a non-negative integer, default 0; higher priority rules are tried first, and at equal priority an exact address outranks a wildcard pattern. An organization holds at most 100 forwarding rules.

post/v1/email/forwarding

Request

  • Base URL: https://api.samva.dev
  • URL: https://api.samva.dev/v1/email/forwarding
  • Auth: API key in header x-api-key

Request body

namestring required
descriptionstring nullable
domainIdstring
sourcePatternstring nullable
forwardTostring[] required
preserveHeadersboolean nullable
appendNotestring nullable
priorityinteger nullable
isActiveboolean nullable
metadataobject nullable

Response

Success

idstring required
namestring required
forwardTostring[] required
priorityinteger required
isActiveboolean required
createdAtstring required

Changes

No recorded changes to this operation across all 1 revision of this API.