Documents Sharing
Get Document Share Link
Changed onRetrieves information about a share link on the specified document. This endpoint will only retrieve information about share links created by the same OAuth2.0 client.
get/v1/documents/{id}/shares/shareLinks/{shareLinkId}
Request
- Base URLhttps://api.lucid.co
- AuthOAuth 2Authorization codehttps://lucid.app/oauth2/authorizeToken URLhttps://api.lucid.co/oauth2/tokenScopeslucidchart.document.content.share.link:readonly, lucidchart.document.app.picker.share.link:readonly, lucidchart.document.app.folder, lucidscale.document.content.share.link:readonly, lucidscale.document.app.picker.share.link:readonly, lucidscale.document.app.folder, lucidspark.document.content.share.link:readonly, lucidspark.document.app.picker.share.link:readonly, lucidspark.document.app.folder
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
ID of the document.
shareLinkIdstring required
Id of the share link to retrieve information for.
Response
OK with a Document Share Link resource containing information about the requested share link.
Example response
{
"shareLinkId": "inv_8a38797a-e5fc-4479-8492-e000dc93cb60",
"documentId": "f6bf19b5-d109-4ef5-92b2-cdaf0de43001",
"linkSecurity": {
"restrictToAccount": false,
"expires": "2023-12-11T21:48:35.293Z",
"passcode": "password",
"allowAnonymous": false
},
"created": "2022-11-11T21:48:35.293Z",
"createdBy": 1280,
"lastModified": "2022-11-11T21:48:35.293Z",
"acceptUrl": "https://lucid.app/lucidchart/f6bf19b5-d109-4ef5-92b2-cdaf0de43001/edit?invitationId=inv_8a38797a-e5fc-4479-8492-e000dc93cb60"
}Changes
- breaking
the response property
/became nullable for the status
- breaking