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-keystringRequired
x-composio-admin-tokenstringRequired
Admin authentication token required for administrative operations

Request

This endpoint expects an object.
connectionIdslist of stringsRequired
List of connection identifiers that need token refresh
parallelismintegerOptional>=1<=10Defaults to 5
Controls processing speed and system load. Higher values process faster but increase load.

Response

Successfully processed refresh request with detailed results
successlist of strings
List of connections where token refresh was successful or not needed
failureslist of objects
Array of connections that failed to refresh with detailed error information

Errors