---
title: "Office Climate Callback"
method: GET
path: "/api/office-climate/callback"
tags: ["office-climate"]
---

# Office Climate Callback

`GET /api/office-climate/callback`

## 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/office-climate/callback`
- Auth: none declared

Google's redirect after consent. Trusts the encrypted `state`, then re-checks the owner grant.

The redirect URI sent to Google must equal the one `GET /connect` sent, byte for byte, so both
build it from `request.url_for` the same way.

## Query parameters

- `code` string, required
- `state` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-08** `d7f02ac6e417`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/changes/api/office-climate/callback/get.md)

---

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