---
title: "POST /routes/"
method: POST
path: "/routes/"
tags: ["Route"]
---

# POST /routes/

`POST /routes/`

## Request body

- Route[]
  - `domain` string
  - `host` string
  - `id` integer
  - `port` integer
  - `priority` integer

## Response `200`

Success

- object
  - `message` string
  - `num_results` integer
  - `objects` Route[]
    - `domain` string
    - `host` string
    - `id` integer
    - `port` integer
    - `priority` integer

## Other responses

- `403` — Invalid or missing credentials

---

[API](https://skmtc.net/n-able/apis/mail-api.md) · [All operations](https://skmtc.net/n-able/apis/mail-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/n-able/mail-api/versions/ddcf07469cce/schema)
