Batch refresh access tokens for connected accounts
Administrative endpoint that refreshes authentication tokens for multiple connected accounts in parallel. This is useful for proactive token refresh to prevent authentication failures or for recovering from authentication issues across multiple connections.
Headers
x-api-key
x-composio-admin-token
Admin authentication token required for administrative operations
Request
This endpoint expects an object.
connectionIds
List of connection identifiers that need token refresh
parallelism
Controls processing speed and system load. Higher values process faster but increase load.
Response
Successfully processed refresh request with detailed results
success
List of connections where token refresh was successful or not needed
failures
Array of connections that failed to refresh with detailed error information