Provider credentials

Connect an Anthropic subscription

Stores an Anthropic OAuth credential obtained locally by Reason CLI. Requires a workspace-bound Reason user OAuth grant and owner or admin membership. Token values are write-only and never returned.

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

post/v3/organizations/{orgId}/provider-credentials/anthropic

Request

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

Request body

access_tokenstring required

Anthropic OAuth access token. Write-only; never returned.

refresh_tokenstring required

Anthropic OAuth refresh token. Write-only; never returned.

expires_atstring date-time required
account_keystring

Existing Anthropic account slot to reconnect.

Response

Anthropic is connected.

provider_id'anthropic' required
account_keystring required
connectedtrue required
credential_type'oauth' required

Changes

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