Provider credentials

Start or recover provider sign-in

Persist idempotency_key before sending and retry this exact endpoint and intent after response loss. Never fall back to the legacy unkeyed start, including on 404 from an older replica. Same-user recovery works across authorized OAuth clients but never transfers original grant authority. Receipt metadata survives login cleanup until workspace membership erasure. Retained results return current state; purged results return 410. Conflicting intent returns 409 without cancelling work. New intent requires a new UUID. Requires org:write and owner/admin user OAuth. Replay never extends expiry or repeats a provider exchange.

<sub>Scope: org:write</sub>

post/v3/organizations/{orgId}/provider-credentials/{providerId}/oauth/login-requests

Request

  • Base URL: https://api.reasonmachines.com
  • URL: https://api.reasonmachines.com/v3/organizations/{orgId}/provider-credentials/{providerId}/oauth/login-requests
  • Auth: HTTP bearer

Request body

idempotency_keystring uuid required

Persist this UUID before sending. The same namespace/workspace/user/key always identifies the same intent, across OAuth clients. Metadata is retained until membership erasure. Use a NEW key only for an explicitly new sign-in.

method'interactive' | 'browser' | 'device_code' required

Explicit public method advertised by the provider catalog. Immutable for this key.

account_keystring

Response

New or recovered current sign-in, including retained terminal results.

Changes

No recorded changes to this operation across all 1 revision of this API.