API

AuthOpenai

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
GET /api/v1/auth/openai/callback load Success
GET /api/v1/auth/openai/start load Success

Fields

Field Type Required Description

load

GET /api/v1/auth/openai/callback

Operation ID: api_v1_auth_openai_callback.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
state query string Yes
code query string No
error query string No

Responses

200: Success

application/json

The response is object.

302: Redirect to the application, waitlist, or sign-in error
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

GET /api/v1/auth/openai/start

Operation ID: api_v1_auth_openai_start.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
intent query enum: link No Link only to the currently authenticated Composal account.
redirectTo query string No
invite_code query string No

Responses

200: Success

application/json

The response is object.

302: Redirect to OpenAI authorization, or back to sign-in with an actionable error
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway