---
title: "Create a BGP session"
method: POST
path: "/elastic_ips/{elastic_ip_id}/bgp_sessions"
tags: ["Elastic Ips"]
---

# Create a BGP session

`POST /elastic_ips/{elastic_ip_id}/bgp_sessions`

Announce an elastic IP from a server over BGP

## Path parameters

- `elastic_ip_id` string, required

## Request body

- CreateBgpSession
  - `data` object, required
    - `type` 'bgp_sessions', required
    - `attributes` object
      - `server_id` string, required — The server that will announce the elastic IP over BGP
      - `requestor_id` string — Optional identifier of the requestor, recorded for auditing

## Response `202`

Accepted

## Changes

- **2026-07-31** `795dfc010f2a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/latitude/apis/latitude-sh-api/changes/elastic_ips/:elastic_ip_id/bgp_sessions/post.md)

---

[API](https://skmtc.dev/latitude/apis/latitude-sh-api.md) · [All operations](https://skmtc.dev/latitude/apis/latitude-sh-api/llms.txt) · [OpenAPI document](https://skmtc.dev/latitude/apis/latitude-sh-api/revisions/6ad8dacf6642?raw)
