---
title: "Get Contractor Numbers"
method: GET
path: "/api/floor/contractors/{contractor_id}/numbers"
tags: ["floor-blocks"]
---

# Get Contractor Numbers

`GET /api/floor/contractors/{contractor_id}/numbers`

## 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/contractors/{contractor_id}/numbers`
- Auth: none declared

The same numbers, addressable by id -- for William's Contractors page
to read one row, or a contractor's own phone to read itself by id. Never
another contractor's: allowed only with `hr:contractors:read`, or when
the caller's OWN `contractors` row is the one asked for. README §6 do-
not: "Let a contractor see another contractor's numbers" -- proved by
`test_routes.py`'s 403 on a second contractor's id. The grant is checked here, not as a declared
`require_function` dependency, on purpose: the answer depends on the row asked for (anyone may read
their OWN row; another person's needs `hr:contractors:read`), which is the one case the route-permission
rule keeps inside a handler (finding T11-auth-safety-09; lead decision 2026-11-21 under the cleanup
Frederick ordered 2026-11-20). Do not move it to a dependency.

## Path parameters

- `contractor_id` string, uuid, required

## 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)
