---
title: "Create an inbound rule trigger"
method: POST
path: "/triggers/inboundrules"
tags: ["Inbound Rules API"]
---

# Create an inbound rule trigger

`POST /triggers/inboundrules`

## Headers

- `X-Postmark-Server-Token` string, required

## Request body

- CreateInboundRuleRequest
  - `Rule` string, email

## Response `200`

OK

- object
  - `ID` integer
  - `Rule` string

## Other responses

- `422` — An error was generated due to incorrect use of the API. See the Message associated with this response for more information.
- `500` — Indicates an internal server error occurred.

---

[API](https://skmtc.dev/postmarkapp/apis/postmark-api.md) · [All operations](https://skmtc.dev/postmarkapp/apis/postmark-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/postmarkapp/postmark-api/revisions/fdae25f55e2e/schema)
