---
title: "POST /bridges"
method: POST
path: "/bridges"
tags: ["Bridges"]
---

# POST /bridges

`POST /bridges`

Create the bridge for the account with given connect id

## Request body

- ApiBridgeCreate
  - `name` string, required — User-defined name for the device.
  - `connectId` string, required — The code delivered with a bridge and assigned to it
  - `locationId` string, nullable — ID Of the location.
  - `tags` string[]

## Response `201`

Bridge Created

- ApiBridgeMain
  - `id` string, required — Unique bridge identifier
  - `accountId` string, required — Account ID specified in as an ESN Type.
  - `name` string, required — User-defined name for the device.
  - `locationId` string, nullable — ID Of the location.
  - `createTimestamp` string, date-time, required

## Other responses

- `400` — The supplied object is invalid. Error detail will contain the validation error.
- `401` — You are not authenticated. Please authenticate and try again.
- `403` — You have no permission to access the specified resource.
- `404` — Referenced resource could not be found.
- `409` — There was a conflict while trying to perform your request. See error details for more information.
- `500` — Something went wrong in the server. Please try again.

---

[API](https://skmtc.net/eagleeyenetworks/apis/devices.md) · [All operations](https://skmtc.net/eagleeyenetworks/apis/devices/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eagleeyenetworks/devices/versions/df57313de545/schema)
