Back to API Overview
Sharing API
Create and manage share links for resources including files, flows, and bases.
9 endpoints
Endpoints
POST
/api/v1/sharing/recordActivityRecord share activity (views, downloads)
Parameters
shareToken | stringrequired | Share token from the URL |
action | stringrequired | Activity action type |
actorEmail | string | Email of the viewer (if known) |
ipAddress | string | IP address |
userAgent | string | Browser user agent |
metadata | object | Additional metadata |
Example Request
curl -X POST https://app.serenitiesai.com/api/v1/sharing/recordActivity \
-H "Authorization: Bearer mk_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"shareToken": "example",
"action": "example",
"actorEmail": "example"
}'