---
title: "Create a Global IP assignment"
method: POST
path: "/global_ip_assignments"
tags: ["Global IPs"]
---

# Create a Global IP assignment

`POST /global_ip_assignments`

Create a Global IP assignment.

## Request body

- GlobalIpAssignment
  - `id` string, uuid — Identifies the resource.
  - `record_type` string — Identifies the type of the resource.
  - `created_at` string — ISO 8601 formatted date-time indicating when the resource was created.
  - `updated_at` string — ISO 8601 formatted date-time indicating when the resource was updated.
  - `global_ip_id` string, uuid — Global IP ID.
  - `wireguard_peer_id` string, uuid — Wireguard peer ID.
  - `status` 'created' | 'provisioning' | 'provisioned' | 'deleting' — The current status of the interface deployment.
  - `is_connected` boolean — Wireguard peer is connected.
  - `is_in_maintenance` boolean — Enable/disable BGP announcement.
  - `is_announced` boolean — Status of BGP announcement.

## Response `202`

Successful response

- object
  - `data` GlobalIpAssignment
    - `id` string, uuid — Identifies the resource.
    - `record_type` string — Identifies the type of the resource.
    - `created_at` string — ISO 8601 formatted date-time indicating when the resource was created.
    - `updated_at` string — ISO 8601 formatted date-time indicating when the resource was updated.
    - `global_ip_id` string, uuid — Global IP ID.
    - `wireguard_peer_id` string, uuid — Wireguard peer ID.
    - `status` 'created' | 'provisioning' | 'provisioned' | 'deleting' — The current status of the interface deployment.
    - `is_connected` boolean — Wireguard peer is connected.
    - `is_in_maintenance` boolean — Enable/disable BGP announcement.
    - `is_announced` boolean — Status of BGP announcement.

## Other responses

- `422` — Unprocessable entity. Check the 'detail' field in response for details.
- `default` — Unexpected error

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api-2/versions/8f5f4e537994/schema)
