---
title: "Link a target"
method: POST
path: "/{env_id}/{flow_id}/{tenant}/linkedTargets"
---

# Link a target

`POST /{env_id}/{flow_id}/{tenant}/linkedTargets`

Link one of your tenants to a target

## Path parameters

- `env_id` string, required
- `flow_id` string, required
- `tenant` string, required

## Request body

- object
  - `target` object, required — The target & settings info you wish to link
    - `target` string, required — The name of the connector you want to link
    - `symlink` object — Symlink allows you to share credentials with an existing connection in another flow
      - `entity` string — The name of the connector that is already linked
      - `id` string — The previously linked flow_id containing a user's credentials
      - `tenant` string — Optional. If using subtenants, the tenant id that has the linked connector.
    - `config` object — This JSON object holds credentials and flags to create a connection.

## Response `200`

200

- object

## Other responses

- `400` — 400

---

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