Folders Sharing
Create Folder Share Link
Changed onCreates a new share link on the provided folder with the provided settings. The linkSecurity parameter is only configurable for enterprise license users but is still required for team accounts. If an expiration is provided outside account-defined limits, it will be clamped to the maximum allowed time.
post/v1/folders/{id}/shares/shareLinks
Request
- Base URLhttps://api.lucid.co
- AuthOAuth 2Authorization codehttps://lucid.app/oauth2/authorizeToken URLhttps://api.lucid.co/oauth2/tokenScopesfolder
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idnumber required
ID of the folder.
Request body
Example request
{
"linkSecurity": {
"restrictToAccount": true,
"expires": "2025-11-11T21:48:35.293Z",
"passcode": "passcode"
}
}Response
Created with a Folder Share Link resource containing information about the created share link.
Example response
{
"shareLinkId": "inv_8a38797a-e5fc-4479-8492-e000dc93cb60",
"folderId": 123456,
"linkSecurity": {
"restrictToAccount": true,
"expires": "2025-11-11T21:48:35.293Z",
"passcode": "passcode"
},
"created": "2022-11-11T21:48:35.293Z",
"createdBy": 1280,
"lastModified": "2022-11-11T21:48:35.293Z",
"acceptUrl": "https://lucid.app/folder/invitations/accept/inv_8a38797a-e5fc-4479-8492-e000dc93cb60"
}Changes
- breaking
the response property
/became nullable for the status - info
the request property
/became nullable
- breaking