---
title: "Create a new session config"
method: POST
path: "/config/session"
---

# Create a new session config

`POST /config/session`

Create a new session config for 5G.

## Request body

- SessionEntry
  - `ident` string, required — IP address and netmask
  - `sessionIP` string — IP address for nexthop
  - `accessNetworkTunnel` object
    - `TeID` integer — ID of the tunnel
    - `tunnelIP` string — Access network IP address
  - `coreNetworkTunnel` object
    - `teID` integer — ID of the tunnel
    - `tunnelIP` string — Connection network IP address

## Response `204`

OK

## Other responses

- `400` — Malformed arguments for API call
- `401` — Invalid authentication credentials
- `403` — Capacity insufficient
- `404` — Resource not found
- `409` — Resource Conflict. VLAN already exists OR dependency VRF/VNET not found
- `500` — Internal service error
- `503` — Maintenance mode

---

[API](https://skmtc.net/loxilb-io/apis/loxilb-rest-api.md) · [All operations](https://skmtc.net/loxilb-io/apis/loxilb-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loxilb-io/loxilb-rest-api/versions/45e9f0a95af0/schema)
