Re-initiate authentication for a connected account (DEPRECATED)
Changed onDEPRECATED: This endpoint re-initiates the authorization flow for a connected account — a developer-triggered reconnection (e.g. to recover a connection whose credentials expired or became invalid), returning a new OAuth redirect URL where applicable. It does NOT perform background credential auto-refresh; the "refresh" name was misleading, which is why the endpoint is deprecated and may be removed in a future release.
Request
- Base URLhttps://backend.composio.dev
- URLhttps://backend.composio.dev/api/v3/connected_accounts/{nanoid}/refresh
- AuthAPI key in header x-api-key
Path parameters
The unique identifier of the connected account
Query parameters
Request body
Response
Successfully refreshed the connected account authentication. For OAuth flows, a new redirect URL is provided.
Example response
{
"id": "ca_1a2b3c4d5e6f",
"status": "ACTIVE",
"redirect_url": "https://app.example.com/oauth/callback"
}Changes
- warning
removed the request property
- warning
- warning
added the new
REVOKEDenum value to theresponse property for the response status - info
the endpoint scheme security
CookieAuthwas removed from the API - info
the endpoint scheme security
UserApiKeyAuthwas removed from the API - info
endpoint deprecated
- warning