Refresh authentication for a connected account
Initiates a new authentication flow for a connected account when credentials have expired or become invalid. This may generate a new authentication URL for OAuth flows or refresh tokens for other auth schemes.
Authentication
x-api-keystring
API key authentication
Path parameters
nanoid
The unique identifier of the connected account
Query parameters
redirect_url
Request
This endpoint expects an object.
redirect_url
validate_credentials
[EXPERIMENTAL] Whether to validate the provided credentials, validates only for API Key Auth scheme
Response
Successfully refreshed the connected account authentication. For OAuth flows, a new redirect URL is provided.
id
The unique identifier of the connected account
status
The current status of the connected account (e.g., active, pending, failed)
redirect_url
The URL to which the user should be redirected to complete the authentication process (null for auth schemes that do not require redirection)