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.Prefer to wire it by hand? Follow the SDK guide for manual installation and initialization.
Get Your API Key
Your site sends data with the production API key (orwel_...), which the SDK uses. To call the REST API you need an API key (orwel_sk_...), which can read data.
1
Open Settings, API keys
Go to your workspace settings in the Orwel dashboard and open API keys.
2
Create an API key
Name it, choose the scopes it needs (for example
leads:read), and choose server only unless a browser app will call the API from an allowed origin.3
Store it securely
Copy the key (it is shown once) and keep it in an environment variable or a secret manager.
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