
If the API tab is not present, external API access has been disabled for your organization. Contact your admin to enable it.
Creating an API Connector from a Template
For the most frequently used APIs, TextQL offers pre-configured templates — you only need to enter your token and test the connection.- Navigate to the Connectors page and open the Add API menu.
- Select your API from the list of common providers.
- Enter your credentials and click Test Connection.

Manual Configuration
To add a custom API, select Custom / Other at the top of the Add API Access menu.
*.domain.
Authentication
Check your API’s documentation for the required format. Add all necessary header fields or URL query parameters. Include any token prefixes (e.g., Bearer) directly in the value field, as you are setting raw header values.
Expiry Date (optional)
Set an expiry date to prevent Ana from attempting to use expired tokens.
Test your API connection before saving. You can add multiple connectors for the same domain — for example, if you have tokens with different permission levels. Use the sharing menu to control which users can access each connector.
OAuth APIs
OAuth is supported for most pre-configured API providers. You can also make a custom connector with OAuth. To set up an OAuth connector:- Select a supported provider template (or custom) in the Add API menu.
- Create an OAuth app in your provider’s interface and paste the credentials into the form.
- Choose U2M OAuth or Per Member OAuth as the authentication method.
- Per Org OAuth means all people using this connector will connect to the same account at the provider.
- Per Member OAuth means each user can connect their individual account.
- You can specify a grant type, which controls how the OAuth token exchange is performed. For provider templates, you usually want to keep the default setting.
- Specify the required scopes. Depending on the provider, you might have to allow these scopes for your OAuth app in the provider interface first.
- Connect your account and test the connection.
Domain Whitelisting
Some workflows hit endpoints that don’t need authentication (public APIs, documentation sites, etc.). These domains still need to be explicitly whitelisted. To add one, click + New API Access and select Domain Whitelist.

Migrating to API Connectors
Read this section even if you have not previously used secrets, but have used APIs without secrets-based authentication.
TextQL is deprecating the Secrets feature (accessible from a separate tab on the Connectors page, if your organization has not yet migrated). We are replacing it with API Connectors to improve security. Migration steps:
- Identify which external APIs you use or plan to use in chats.
- Add one API Connector for each domain (use a template if available, or add it as a custom connector).
- Configure sharing permissions for each connector.
- For each existing secret, edit the corresponding API Connector and paste the token into the appropriate field. If it is a manually configured connector, include any required token prefix (e.g.,
Bearer).

SECRETS["XYZ_SOURCE"], that’s the old system. If you see a header with TQL_AUTH_TOKEN followed by a unique ID, that’s API Connectors.


Disabling Legacy Secrets
Once you’re confident everything works with API Connectors:- Go to Settings > Features & Tools
- Toggle off Environment Variables

Troubleshooting
API request fails after disabling secrets
Most likely a domain that needs whitelisting. Re-enable secrets temporarily, figure out which domain the failing workflow hits, add it to your whitelist, then disable secrets again.Ana is still using Secrets instead of API Connectors
AppendYou must use API Connectors > Secrets. to your prompt to force Ana to prefer API Connectors during the transition.