Tasuku
ReferenceAPI referenceSecrets

Start a Codex ChatGPT device authorization

Requires ADMIN or SUPER_USER. The completed Codex credential is encrypted as CODEX_AUTH_JSON and is never returned. Omit repository_id to configure the organization credential.

POST/organizations/{organization_id}/codex-device-authorizations

Requires ADMIN or SUPER_USER. The completed Codex credential is encrypted as CODEX_AUTH_JSON and is never returned. Omit repository_id to configure the organization credential.

Authorization

tasuku_session<token>

In: cookie

Path Parameters

organization_id*string
Length1 <= length <= 128

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/organizations/string/codex-device-authorizations" \  -H "Content-Type: application/json" \  -d '{}'
{  "data": {    "id": "string",    "status": "PENDING",    "verification_url": "http://example.com",    "user_code": "string",    "plan_type": "string",    "error": "string",    "expires_at": "2019-08-24T14:15:22Z"  }}