---
title: "Poll a Codex ChatGPT device login"
method: POST
path: "/api/codex-oauth/device/{flowId}/poll"
tags: ["Codex OAuth"]
---

# Poll a Codex ChatGPT device login

`POST /api/codex-oauth/device/{flowId}/poll`

## Path parameters

- `flowId` string, uuid, required

## Request body

- object

## Response `200`

Current device login status

- object
  - `status` 'pending' | 'complete' | 'failed' | 'expired', required
  - `slot` integer
  - `error` string

## Changes

- **2026-09-25** `452be3d6b59a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/changes/api/codex-oauth/device/:flowId/poll/post.md)

---

[API](https://skmtc.dev/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/revisions/01e2386c97da?raw)
