@devries-cameron20 / composio-1 / commits / ac946e4d3
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

docs: mention keeping bearer tokens updated via PATCH

Dhawal Upadhyay committed Apr 9, 2026 at 22:10 UTC ac946e4d34573a40438fc5111bb232e176a4933b
1 file changed +2
docs/content/docs/importing-existing-connections.mdx
+2
@@ -76,6 +76,8 @@ console.log('Connected:', connection.id);
76
77 If you already have an access token for a service, you can import it directly as a bearer token. This works with **all toolkits that support OAuth2 or S2S auth** — Gmail, GitHub, Slack, Google Docs, and more — so you can skip OAuth app setup entirely. Any additional parameters the toolkit supports (e.g., `subdomain`, `base_url`) work the same way.
78
79 +Since bearer tokens typically expire, you'll need to keep them updated. Use the [PATCH endpoint](#updating-credentials) to push a refreshed token whenever it changes on your end (e.g., after an OAuth refresh flow).
80 +
81 <Tabs groupId="language" items={['Python', 'TypeScript']} persist>
82 <Tab value="Python">
83 ```python