---
title: "Create IP alias (admin)"
method: POST
path: "/ipaliases"
tags: ["Aliases"]
---

# Create IP alias (admin)

`POST /ipaliases`

## Request body

- AliasUpsert
  - `id` integer
  - `guid` string
  - `alias` string
  - `ip` string
  - `port` integer
  - `mask` integer
  - `capture_id` string
  - `status` boolean
  - `custom_image` string — Optional image URL shown with this alias in the UI / enriched rows
  - `tag1` string — Free-form tag (e.g. device type)
  - `tag2` string — Free-form tag (e.g. OS)
  - `tag3` string
  - `tag4` string

## Response `201`

Created

- IdResponse
  - `data` string
  - `meta` Meta
    - `request_id` string
    - `trace_id` string
    - `pagination` Pagination
      - `limit` integer
      - `next_cursor` string
      - `prev_cursor` string
      - `total` integer
      - `has_more` boolean
    - `message` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Server error

---

[API](https://skmtc.net/sipcapture/apis/homer-next-gen-api.md) · [All operations](https://skmtc.net/sipcapture/apis/homer-next-gen-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sipcapture/homer-next-gen-api/versions/1966dd0df318/schema)
