---
title: "Get Codex sign-in status"
method: POST
path: "/integrations/codex/device-login/status"
tags: ["Integrations"]
---

# Get Codex sign-in status

`POST /integrations/codex/device-login/status`

## Request

- Base URL: `https://api.sazabi.com/v1`
- URL: `https://api.sazabi.com/v1/integrations/codex/device-login/status`
- Auth: none declared
- TypeScript: <https://skmtc.dev/sazabi/apis/sazabi-public-api/docs/integrations/codex/device-login/status/post.ts> (a function with typed inputs; its response is checked against the schema)

Check the status of a Codex sign-in started by this organization: code_shown (with the URL and code) while the person approves, then approved, expired or failed.

## Request body

- object
  - `organizationId` string, required
  - `loginId` string, uuid, required

## Response `200`

OK

- object
  - `status` 'code_shown' | 'approved' | 'rejected_device_auth_disabled' | 'expired' | 'failed', required
  - `verificationUrl` string, uri
  - `userCode` string
  - `expiresAt` string, date-time
  - `connectionId` string, uuid
  - `message` string

## Changes

- **2026-11-02** `7e05bcfa70b4`: 1 info
  - removed the `starting` enum value from the `status` response property for the response status `200`
- **2026-10-29** `cc7fabd7b7f2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sazabi/apis/sazabi-public-api/changes/integrations/codex/device-login/status/post.md)

---

[API](https://skmtc.dev/sazabi/apis/sazabi-public-api.md) - [All operations](https://skmtc.dev/sazabi/apis/sazabi-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sazabi/apis/sazabi-public-api/revisions/dae846531e50?raw)
