Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

NetBird Ingress Ports API

Interact with and view information about the ingress peers and ports.

NetBird Ingress Ports API is one of 39 APIs that NetBird publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Ingress Ports. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 10 operations across 4 paths, and defines 9 schemas. It is described by OpenAPI 3.1.0, at version 0.0.1.

Requests are made against a single base URL, https://api.netbird.io.

10 operations 4 paths 9 schemas 2 DELETE4 GET2 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
0.0.1
Base URL
https://api.netbird.io
Authentication
HTTP Bearer, API Key
Resource Areas
1

Authentication & Security 2

NetBird Ingress Ports API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (JWT) (BearerAuth). An API key is passed in the header as Authorization (TokenAuth). By default, every request must be authenticated.

  • TokenAuth — Enter the token with the Token prefix, e.g. "Token nbpF3f0d.....".

Paths & Operations 10

Across 4 paths, the API surfaces 10 operations — 2 DELETE, 4 GET, 2 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

Ingress Ports 10

Interact with and view information about the ingress peers and ports.

GET
/api/peers/{peerId}/ingress/ports
List all Port Allocations
2 params → 200400401403500
POST
/api/peers/{peerId}/ingress/ports
Create a Port Allocation
1 param body → 200400401403500
GET
/api/peers/{peerId}/ingress/ports/{allocationId}
Retrieve a Port Allocation
2 params → 200400401403500
PUT
/api/peers/{peerId}/ingress/ports/{allocationId}
Update a Port Allocation
2 params body → 200400401403500
DELETE
/api/peers/{peerId}/ingress/ports/{allocationId}
Delete a Port Allocation
2 params → 200400401403500
GET
/api/ingress/peers
List all Ingress Peers
→ 200400401403500
POST
/api/ingress/peers
Create a Ingress Peer
body → 200400401403500
GET
/api/ingress/peers/{ingressPeerId}
Retrieve a Ingress Peer
1 param → 200400401403500
PUT
/api/ingress/peers/{ingressPeerId}
Update a Ingress Peer
1 param body → 200400401403500
DELETE
/api/ingress/peers/{ingressPeerId}
Delete a Ingress Peer
1 param → 200400401403500

Schemas 9

The contract defines 9 schemas that model the data the API accepts and returns. The most detailed are IngressPeer (8 properties), IngressPortAllocation (7 properties), IngressPortAllocationPortMapping (5 properties), IngressPortAllocationRequest (4 properties). Each schema is shown below with its type and property counts.

IngressPeerUpdateRequest
object
2 properties 2 required
IngressPeerCreateRequest
object
3 properties 3 required
IngressPortAllocationPortMapping
object
5 properties 5 required
AvailablePorts
object
2 properties 2 required
IngressPortAllocation
object
7 properties 7 required
IngressPortAllocationRequestPortRange
object
3 properties 3 required
IngressPeer
object
8 properties 8 required
IngressPortAllocationRequest
object
4 properties 2 required
IngressPortAllocationRequestDirectPort
object
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

netbird-ingress-ports-api-openapi.yml Raw ↑

Other APIs NetBird publishes across the network.

NetBird Accounts API
NetBird AWS Marketplace API
NetBird Checkout API
NetBird DNS API
NetBird DNS Zones API
NetBird EDR Falcon Integrations API
NetBird EDR FleetDM Integrations API
NetBird EDR Huntress Integrations API
NetBird EDR Intune Integrations API
NetBird EDR Peers API
NetBird EDR SentinelOne Integrations API
NetBird Event Streaming Integrations API