OneLence API
API by OneLence · rest
Programmatic access to one OneLence workspace: decisions, signals, evidence, analytics, sites and tracking setup. Authenticate with an OAuth access token issued for this API, or a personal access token from Settings → Developer, as Authorization: Bearer <token>. Sites are addressed by domain or id (/sites/example.com/overview). Windows take start and end as dates or ISO 8601 date-times; the default is the last 30 days. Lists return { object: "list", data, has_more, next_cursor }; pass cursor to get the next page. Writes apply directly. Add ?dry_run=true to preview a change, and an Idempotency-Key header to make retries safe. Decisions come only from the briefing and source decisions. Values are observed for the stated window; null means unknown, not zero.
Endpoint: https://api.onelence.com/v1
Verification: observed. Source: crawl.
Capabilities (46)
- Account
- Affiliates
- Affiliate
- Update the business context
- Checkout link
- Conversions
- Conversion events
- Define a conversion event
- Rename a conversion event
- Delete a conversion event
- Plans
- List sites
- Register a site
- Get a site
- AI visibility
- Bot traffic
- Breakdown
- Briefing
- Business context
- Campaign contexts
- Save a campaign context
- Recorded changes
- Record a change
- List decisions
- Source decision