# Create and manage a TradeGo AI API key

In API Key Management, select “Create New API Key,” enter its purpose, and immediately copy the generated key; the complete value is shown only once and belongs in protected server-side storage.

## Who this is for

This guide is for developers and technical users connecting a server-side application or approved business workflow to the TradeGo AI API.

## Create an API key

1. Open [API Key Management](/admin/api-tokens).
2. Select “Create New API Key.”
3. Enter a recognizable purpose, such as `CRM nightly sync`.
4. Confirm the action.
5. Immediately copy the complete key from the success message.
6. Save the key in a server environment variable or professional secrets manager.

Do not keep the only copy in a chat, screenshot, or temporary note. The page does not show the complete value again after the creation message closes.

## Use the key from a server

Follow the API documentation for your integration and send the key as a Bearer token over HTTPS:

```http
Authorization: Bearer <token>
```

Test the request, response, and error handling with non-sensitive data before connecting real customer data. Use only documented endpoints and fields.

## Review and revoke keys

API Key Management shows the key name, creation time, and expiration time. When an integration is retired, a person’s responsibilities change, or exposure is suspected, select “Revoke” on the corresponding row and confirm.

Revocation immediately stops applications using that key. For a planned replacement, update and verify the server configuration with a new key before revoking the old one.

## FAQ

### Can I view the complete API key again after creating it?

No. The complete key appears only in the success message. Copy and store it immediately; if it is lost, revoke the old key and create another.

### Can I place an API key in browser JavaScript?

No. Browser code exposes the key to visitors. Keep API keys only in a protected server environment or secrets manager.

### What should I do when a key is no longer used or may be exposed?

Open API Key Management and select “Revoke” for the key. Any application using that key will immediately stop using it.

---

Canonical HTML: https://app.tradegoai.app/docs/developer-api
Last updated: 2026-07-26

Related documentation:
- [Protect customer data and account credentials](https://app.tradegoai.app/docs/security)
- [Connect email and CRM applications in TradePilot](https://app.tradegoai.app/docs/mcp)
- [Resolve team and product access issues](https://app.tradegoai.app/docs/team-permissions)
