> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superintern.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# API

> Use the SuperIntern API to send messages, trigger actions, and build automations — get an API key, follow rate limits, and integrate with your stack.

The SuperIntern API lets you send messages to your intern, trigger workflows, and integrate SuperIntern into your own applications.

## Getting an API Key

1. Go to **Settings → API** in the SuperIntern web app
2. Generate a new API key
3. Store it securely — you won't be able to view it again

<Warning>
  Keep your API key secret. Do not commit it to version control or expose it in client-side code.
</Warning>

## Sending a Message

Send a message to your intern and get a response:

```bash theme={null}
curl -X POST https://api.superintern.ai/v1/chat \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "message": "What tasks do I have open today?",
    "session_id": "my-app-session-1"
  }'
```

## Use Cases

* **Automation triggers** — Send a message to SuperIntern when an event happens in your system (e.g., new Stripe payment → "Send a thank-you email to \[customer]")
* **Scheduled jobs** — Trigger a workflow from your own scheduler
* **Custom interfaces** — Build your own front-end on top of SuperIntern's capabilities

## Rate Limits

API requests count toward your credit balance. High-frequency automation should be designed with credit consumption in mind.

For detailed API reference documentation, visit the API reference section (coming soon).

<Note>
  The SuperIntern API is available on Pro and Max plans.
</Note>
