---
# @generated by sylphx-gen 0.1.0 from contracts@e145cc7cf1bc9605f2b27439e5e17ed76a1a2fd7e7021906a013f7565e4a0cd5. Do not edit.
title: "Mail routes"
description: "The `mail_routes` collection of Sylphx Notify: A Route sends the mail a receiving Email Domain accepts for one address, a pattern of addresses, or every other address to actions: deliver to mailboxes, forward, or reject."
type: reference
product: email
summary: "A Route sends the mail a receiving Email Domain accepts for one address, a pattern of addresses, or every other address to actions: deliver…"
updated: 2026-09-28
order: 900
---

A Route sends the mail a receiving Email Domain accepts for one address, a pattern of addresses, or every other address to actions: deliver to mailboxes, forward, or reject. Every accepted message also publishes `sylphx.notify.inbound_email.received`.

**Service** Sylphx Notify · **Resource type** `notify.sylphx.com/Route` · **Name pattern** `orgs/{org}/projects/{project}/envs/{env}/mail_domains/{mail_domain}/mail_routes/{mail_route}` · **Shape** `spec_status`

## Fields

| Field | Type | What it is |
| --- | --- | --- |
| `name` | `string` | `orgs/{org}/projects/{project}/envs/{env}/mail_domains/{mail_domain}/mail_routes/{mail_route}`. |
| `uid` | `string` | `rte_<cell><ulid>`; never reused. Output only. |
| `meta` | `ResourceMeta` | Resource metadata. |
| `spec` | `RouteSpec` | Desired state. Required. |
| `status` | `RouteStatus` | Observed state. Output only. |

## Methods

Every method of the collection, in the registry's order, with the scope it
needs. The full request, response and examples are one link away.

| Method | Call | What it does |
| --- | --- | --- |
| `GET` | [`get`](/docs/api/mail_routes#get) | Gets a route. |
| `GET` | [`list`](/docs/api/mail_routes#list) | Lists an email domain's routes. |
| `POST` | [`create`](/docs/api/mail_routes#create) | Creates a route. |
| `PATCH` | [`update`](/docs/api/mail_routes#update) | Updates a route. |
| `DELETE` | [`delete`](/docs/api/mail_routes#delete) | Deletes a route. |

## get

Gets a route.

`GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/mail_domains/mail-domain/mail_routes/mail-route` · scope `notify:read` · effect `read` · [Request, response and examples](/docs/api/mail_routes/get)

## list

Lists an email domain's routes.

`GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/mail_domains/mail-domain/mail_routes` · scope `notify:read` · effect `read` · paginated · [Request, response and examples](/docs/api/mail_routes/list)

## create

Creates a route.

`POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/mail_domains/mail-domain/mail_routes` · scope `notify:write` · effect `write` · [Request, response and examples](/docs/api/mail_routes/create)

## update

Updates a route.

`PATCH https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/mail_domains/mail-domain/mail_routes/mail-route` · scope `notify:write` · effect `write` · [Request, response and examples](/docs/api/mail_routes/update)

## delete

Deletes a route.

`DELETE https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/mail_domains/mail-domain/mail_routes/mail-route` · scope `notify:write` · effect `destructive` · [Request, response and examples](/docs/api/mail_routes/delete)
