Skip to main content
POST
Answer provider sign-in prompt
Submit only the current prompt_id. Responses are write-only. Requires a workspace-bound user OAuth grant with org:write and workspace membership; a member signs in again only to an account they connected. API keys and browser sessions are not accepted. Login challenges are private to the initiating user. Sessions are persisted for recovery across API instances and restarts until expires_at. An uncertain token exchange is not replayed: an explicit restart-required failure means start a fresh login, retaining account_key. After expiry or a 404, start a new login. Provider device codes may expire sooner. Never share login URLs or codes. Scope: org:write

Authorizations

Authorization
string
header
required

A workspace-bound human user OAuth grant with org:write scope. The user must be an organization owner/admin. API keys and browser sessions are not accepted.

Scopes

org:write

Path Parameters

orgId
string
required

Organization id or slug. Resolve it with GET /v3/self.

loginId
string<uuid>
required

The provider OAuth login id, returned as login_id by startProviderOAuthLogin and listPendingProviderOAuthLogins.

Body

application/json
prompt_id
integer
required

The id of the sign-in's current prompt, read from the prompt that getProviderOAuthLogin returns.

value
string
required

Answer to this prompt. Text prompts may accept a blank answer for a provider default. Write-only; never returned or logged.

Maximum string length: 8192

Response

Answer accepted. Poll for the next action.

ok
boolean
required

Always true when the request was accepted.