Skip to main content
There are two ways to get going: let an AI assistant wire Orwel for you from a prompt (the fastest path, and where most setups are headed), or work with the API directly.

Set up with AI

Install the Orwel agent skill once. Your assistant (e.g. Claude Code) then knows the whole SDK — install, init, tracking, and conversions — and writes correct code from a plain-language prompt.
Then just describe what you want. A few examples:
The skill follows Rule 0 — it reads the key from an environment variable per framework and never hardcodes it — and knows the SDK’s validation rules, so generated calls are correct and safe by default. Details on the AI Skill page.
Prefer to wire it by hand? Follow the SDK guide for manual installation and initialization.

Get Your API Key

First, you need to obtain your API key from the Orwel dashboard.
1

Navigate to Settings

Go to your workspace settings in the Orwel dashboard
2

Generate API Key

Click on “API Keys” and generate a new key. You can create both production and development keys.
3

Store Securely

Copy your API key and store it securely. Never expose it in client-side code.
API keys are sensitive credentials. Never commit them to version control or expose them in client-side code.

Make Your First Request

Let’s fetch your workspace leads using cURL:

Response Format

All successful responses follow this structure:

Response Headers

Every response includes useful headers:

Create a Resource

Let’s create a new visitor identity:

Next Steps

Authentication

Learn about API key types and security

API Reference

Explore all available endpoints

Rate Limiting

Understand rate limits

Error Handling

Handle errors gracefully