Others
API key
Learn how to obtain and use your Composio API key
Getting Your Composio API Key
There are two main ways to obtain your Composio API key:
1. Using the Composio CLI
If you’re using the Composio CLI, you can easily retrieve your API key by running:
2. Through the Composio Web Interface
- Log in to your account at app.composio.dev.
- Navigate to Settings.
- Go to the “API Keys” section.
- Click on “Generate new API key”.
Store your API key securely. It’s used to authenticate your requests to the Composio API.
Using Your API Key
With the CLI
When using the Composio CLI, you don’t need to manually set the API key. The CLI manages authentication automatically.
In Your Environment
To use your API key in scripts or applications, you can set it as an environment variable:
Alternatively, you can pass it directly when invoking Composio tools or clients.
Was this page helpful?