---
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

---

[API](https://skmtc.net/latitude/apis/latitude-sh-api.md) · [All operations](https://skmtc.net/latitude/apis/latitude-sh-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/latitude/latitude-sh-api/revisions/437c7a97e596/schema)
