---
title: "Swap Block"
method: POST
path: "/api/floor/contractor/blocks/{block_id}/swap"
tags: ["floor-blocks"]
---

# Swap Block

`POST /api/floor/contractor/blocks/{block_id}/swap`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/floor/contractor/blocks/{block_id}/swap`
- Auth: none declared

## Path parameters

- `block_id` string, uuid, required

## Request body

- SwapBody
  - `taker_contractor_ids` string[], nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
