---
title: "POST /v1/accelerator"
method: POST
path: "/v1/accelerator"
tags: ["AcceleratorService"]
---

# POST /v1/accelerator

`POST /v1/accelerator`

## Request

- Base URL: `https://api.subspace.com`
- URL: `https://api.subspace.com/v1/accelerator`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://id.subspace.com/oauth/token` scopes: `accelerators:read`, `accelerators:write`, `sipteleport:read`, `sipteleport:write`
- TypeScript: <https://skmtc.dev/subspace/apis/subspace-product-api/docs/v1/accelerator/post.ts> (a function with typed inputs; its response is checked against the schema)

## Headers

- `Idempotency-Key` string, string

## Request body

- Body
  - `name` string, required: Name of PacketAccelerator
  - `destination_ip` string, required: Destination IP, e.g. 1.2.3.4
  - `destination_port` integer, required: Destination port, e.g. 443
  - `subspace_port` integer: Optional per plan, Specify the Subspace-returned ingress port

## Response `200`

A successful response.

- V1Accelerator
  - `destination_ip` string
  - `destination_port` integer
  - `id` string
  - `name` string
  - `subspace_ipv4` string
  - `subspace_port` integer

## Other responses

- `201`: Accelerator created
- `400`: Bad request
- `401`: Access token is missing or invalid
- `402`: Quota exceeded
- `403`: Not authorized
- `404`: Returned when the resource does not exist.
- `429`: Too many client requests
- `default`: An unexpected error response.

## Changes

- **2021-12-22** `87668cb11b8d`: 1 warning
  - removed the request property `protocol`
- **2021-10-28** `20391f04dc93`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/subspace/apis/subspace-product-api/changes/v1/accelerator/post.md)

---

[API](https://skmtc.dev/subspace/apis/subspace-product-api.md) - [All operations](https://skmtc.dev/subspace/apis/subspace-product-api/llms.txt) - [OpenAPI document](https://skmtc.dev/subspace/apis/subspace-product-api/revisions/a67558a93005?raw)
