Get Contractor App
The floor phone page's permission probe. It answers two questions and nothing else: does the caller hold floor:contractor, and do they have a contractor record. 200 with {"contractor": {"id": ...}} unlocks the page; everyone without the grant gets a 403, never a page with nothing on it standing in for a lock, and so does a holder of the grant who has no contractor record (Frederick, 2026-10-14, audit people-floor-8).
CHANGED 2026-11-21 (cleanup part A14-workforce-01, lead decision under Frederick's cleanup order of 2026-11-20, "fast page loads"). Until then this route also ran the bodies of three other routes and returned them as "shifts", "availability" and "scorecard". Its only caller, the page's ProbeGate, reads the status code and no field, and the page fetches the same three from their own routes (GET /api/floor/contractor/shifts, GET /api/floor/contractor/availability, GET /api/floor/me/numbers), so the work was paid twice: 161 statements a call on staging, measured 2026-11-20. Those three routes are unchanged and remain the one place each is read.
Request
- Base URLhttps://api.pigeonly.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Response
Successful Response
Changes
No recorded changes to this operation across all 251 revisions of this API.