---
title: "Get connections used by a list of playbooks"
method: POST
path: "/workspace/{ws_id}/playbooks/get-playbooks-used-connections"
tags: ["Workflows"]
---

# Get connections used by a list of playbooks

`POST /workspace/{ws_id}/playbooks/get-playbooks-used-connections`

## Request

- Base URL: `https://your-tenant.app.blinkops.com/api/v1`
- URL: `https://your-tenant.app.blinkops.com/api/v1/workspace/{ws_id}/playbooks/get-playbooks-used-connections`
- Auth: API key in header `BLINK-API-KEY`

Returns the list of connections (with vendor info) that are referenced by the given playbook IDs.

## Path parameters

- `ws_id` string, required

## Request body

- PlaybookPlaybooksIdsRequest
  - `playbook_ids` string[]

## Response `200`

Connections used by the given playbooks

- ApiResponsesConnectionWithVendor[]
  - `connectionName` string
  - `iconURI` string
  - `usedIn` integer
  - `vendor` string

## Other responses

- `400`: Invalid request body or missing playbook IDs
- `401`: Unauthorized
- `403`: Forbidden
- `404`: One or more playbooks not found
- `500`: Internal server error

---

[API](https://skmtc.dev/blinkops/apis/blink-rest-api.md) - [All operations](https://skmtc.dev/blinkops/apis/blink-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/blinkops/apis/blink-rest-api/revisions/ff2e2a42e84c?raw)
