---
title: "Create an internal connection"
method: POST
path: "/applications/{id}/internal-connections"
tags: ["Internal Connections"]
---

# Create an internal connection

`POST /applications/{id}/internal-connections`

## Path parameters

- `id` string, uuid, required

## Request body

- CreateInternalConnectionRequestBody
  - `target_type` 'appResource' | 'dbResource' | 'envResource', required — type of the resource to connect to
  - `target_id` string, uuid, required

## Response `200`

Internal connection created successfully

- MKCreateInternalConnectionResponse
  - `result` string, required

## Other responses

- `401` — No or invalid API key provided to the request
- `500` — Error occurred while creating the connection

---

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