Skip to main content

Base URL

All API requests should be made to:

Authentication

Call the API with an API key (orwel_sk_...) created in Settings, API keys, sent as a Bearer token:
Each key carries scopes (leads:read, visitors:read, companies:read, campaigns:read, conversions:read, leads:write, lists:write, mcp) and either a list of allowed origins or server only access. The production API key that the SDK uses (orwel_...) and the development key (orwel_dev_...) only send data and are rejected here. See API keys and authentication.

Available Resources

Leads

Manage and track leads in your workspace

Users

Access workspace members and their information

Identities

Manage visitor identities and their traits

Companies

Companies enriched from your leads

Visitor Lists

Segments of visitors

Conversions

Every conversion with its lead, to sync without duplicates

Campaigns

Ad campaigns with cost, clicks and conversions

Reports

Metrics and a written analysis for a date range

Scopes per endpoint

Request Format

All POST and PATCH requests should include a Content-Type: application/json header and a JSON body.

Response Format

All responses are returned in JSON format with the following structure:

Success Response

Error Response

HTTP Status Codes

OK
Request succeeded
Created
Resource created successfully
Bad Request
Invalid request parameters
Unauthorized
Invalid or missing API key
Forbidden
The key lacks the scope (insufficient_scope), the browser origin is not allowed (origin_not_allowed), or the plan does not include the feature (plan_not_allowed). See Errors.
Not Found
Resource not found
Too Many Requests
Rate limit exceeded
Internal Server Error
Server error

Pagination

List endpoints support pagination using limit and offset parameters:
Response includes pagination metadata:
Limits:
  • Default: 50 items
  • Maximum: 100 items per request

Filtering

Many endpoints support filtering via query parameters:

Rate Limiting

All requests are subject to rate limiting. Check the response headers:
See Rate Limiting for details.

Timestamps

All timestamps are in ISO 8601 format with UTC timezone:

UUIDs

All resource IDs are UUIDs in the format:

JSONB Fields

Some fields accept arbitrary JSON objects (properties, traits, etc.):

Workspace Scoping

All API requests are automatically scoped to your workspace. You can only access data that belongs to your organization. The workspace ID is included in response headers:

SDKs and Libraries

JavaScript/TypeScript

Coming soon

Python

Coming soon

PHP

Coming soon

Ruby

Coming soon

Need Help?

Support

Email the Orwel team

Book a session

30 minutes to review your setup