Sieve Scripts

Create Sieve Script (Alias Auth)

Create a new Sieve script for the authenticated alias. Uses alias authentication instead of API token.

post/v1/sieve-scripts

Request

  • Base URL: https://api.forwardemail.net
  • URL: https://api.forwardemail.net/v1/sieve-scripts
  • Auth: HTTP basic

Request body

namestring required

Script name

contentstring required

Sieve script content

descriptionstring

Script description

Response

Sieve script created

idstring required

Unique script identifier

namestring required

Script name

contentstring required

Sieve script content

aliasstring required

Alias ID this script belongs to

is_activeboolean

Whether the script is active

priorityinteger

Script priority (lower = higher priority)

created_atstring date-time

Creation timestamp

updated_atstring date-time

Last update timestamp

objectstring

Example response

{
  "object": "sieve_script"
}

Changes

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