Share links and exports

Create public share links for notebooks, insights, dashboards, replays, web reports and heatmaps, and export events, persons and groups as CSV.

Embed
Preview of the card
<a href="https://lucidace.com/help/share-links-exports"><img src="https://lucidace.com/help/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/2f4b888b-c4e6-488b-81bd-6e838fb12d2e/pages/dc95caa3-2e8c-4f77-9548-4824e6c1fb52/social-card.svg?v=3e7ae33eec8b" alt="Share links and exports" width="600" height="315"></a>

Create a link with POST on the resource's shares route. Body (all optional): expires_in_days (1 to 90, default 7), never_expires (if the organization allows it), password (8 to 200 characters), allowed_origins (for embeds), options. The 201 answer carries the share and, once, its token and the absolute url built from the configured public base. List with GET on the same route ({data, next_cursor}, newest first, ?limit=&cursor=; tokens are never listed again) and revoke with DELETE .../shares/{share_id}.

Resource

Create / list

Public page

Notebook

/v1/projects/{id}/notebooks/{nid}/shares

/share/notebooks/<token>

Insight

/v1/projects/{id}/insights/{iid}/shares

/share/insights/<token>

Dashboard

/v1/projects/{id}/dashboards/{did}/shares

/share/dashboards/<token>

Replay

/v1/projects/{id}/replays/{session_id}/shares

/share/replays/<token>

Replay playlist

/v1/projects/{id}/replay-playlists/{pid}/shares

/share/replay-playlists/<token>

Web analytics

/v1/projects/{id}/web/shares

/share/web/<token>

Heatmap

/v1/projects/{id}/heatmaps/shares

/share/heatmaps/<token>

The JSON behind a public page is GET /v1/public/<kind>/<token>; embeds use /v1/embed/<kind>/<token>. Revoked, expired and unknown tokens are all 404.

CSV exports

Route

Columns

GET /v1/projects/{id}/events/export.csv

uuid,timestamp,event,distinct_id,person_id,properties

GET /v1/projects/{id}/persons/export.csv

id,created_at,properties

GET /v1/projects/{id}/groups/export.csv?type_index=0

group_type_index,key,created_at,properties

The events export takes the same filters as GET /events (event, person, host, path, referrer, prop_key with prop_value, bots, sample), newest first, and stops at 10 000 rows (persons and groups: 100 000); the x-lc-export-cap header states the cap. For more, narrow the filters or use the query API.

Updated