---
title: "Egress IP support in Machines API"
description: "Create and manage app-scoped egress IPs through the Machines API."
date: "2026-09-01"
author: "Lillian Berry"
url: "https://fly.io/changelog/machines-api-egress-ips/"
discussion: "https://community.fly.io/t/egress-ip-support-in-machines-api/28581"
---

# Egress IP support in Machines API

just a quick update: egress IPs are now part of the IP assignments endpoints in Machines API.

you can create IPs with `type: "egress_v4" | "egress_v6" | "egress_pair"` (`egress_pair` assigns both a v4 and v6 at the same time, which is recommended) and they will show up with `egress: true` in responses.

[docs](https://docs.machines.dev/apps/App_IPAssignments_create)

note this only allows managing app-scoped egress IPs - machine-scoped egress IPs are deprecated, but can still be managed via flyctl.
