---
title: "Create Connection"
method: POST
path: "/connections"
---

# Create Connection

`POST /connections`

Create a new connection in the sandbox. This endpoint is only available in sandbox mode (`live_mode: false`).

## Request body

- object
  - `entity_id` 'example1' | 'example2' | 'modern_treasury', required — The entity ID of the connection. Currently supported values are `example1`, `example2`, and `modern_treasury`.
  - `nickname` string — An optional human-friendly nickname for the connection.

## Response `201`

201

- object
  - `id` string
  - `object` string
  - `live_mode` boolean
  - `vendor_id` string
  - `vendor_name` string
  - `vendor_customer_id` unknown
  - `discarded_at` unknown
  - `created_at` string
  - `updated_at` string

## Other responses

- `405` — 405
- `422` — 422

---

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