---
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`

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.net/blinkops/apis/blink-rest-api.md) · [All operations](https://skmtc.net/blinkops/apis/blink-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blinkops/blink-rest-api/revisions/f043409736b2/schema)
