Create Site
Add a new site to an organization.
Create Site
Creates a new site in the specified organization. Requires admin role.
Endpoint
POST /api/v1/organizations/:orgId/sites
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
domain | string | Yes | Site domain (e.g. example.com) |
name | string | No | Display name |
timezone | string | No | IANA timezone (default: UTC) |
The response includes a public_id — this is the site key used in the tracking script.
This endpoint requires JWT authentication and is not accessible via API key.