---
title: "Create Route"
method: POST
path: "/inboundroute"
tags: ["InboundRoute"]
---

# Create Route

`POST /inboundroute`

Create new Inbound Route. Required Access Level: ModifySettings

## Request body

- InboundPayload
  - `Filter` string, string, required — Filter of the inbound data
  - `Name` string, string, required — Name of this route
  - `FilterType` 'EmailAddress' | 'Subject', required
  - `ActionType` 'ForwardToEmail' | 'NotifyViaHttp' | 'Stop', required
  - `EmailAddress` string, string — Email to forward the inbound to
  - `HttpAddress` string, string — Address to notify about the inbound

## Response `200`

OK

- InboundRoute
  - `PublicId` string, string
  - `Name` string, string — Name of this route
  - `FilterType` 'EmailAddress' | 'Subject'
  - `Filter` string, string — Filter of the inbound data
  - `ActionType` 'ForwardToEmail' | 'NotifyViaHttp' | 'Stop'
  - `ActionParameter` string, string — URL address or Email to notify about the inbound
  - `SortOrder` integer — Place of this route in your routes queue's order

---

[API](https://skmtc.net/elasticemail/apis/megamail-api.md) · [All operations](https://skmtc.net/elasticemail/apis/megamail-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elasticemail/megamail-api/versions/1a0ebb83f676/schema)
