Document Access
Search Account Documents
Changed onReturns a list of all documents belonging to the requesting user's account, sorted by created date. This API is exclusive to Enterprise Shield accounts. The endpoint supports pagination. Search Documents and Search Account Documents share a limit of 300 requests per 5 seconds per account.
post/v2/accounts/me/documents/search
Request
- Base URLhttps://api.lucid.co
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://lucid.app/oauth2/authorizeToken URLhttps://api.lucid.co/oauth2/tokenScopeslucidchart.document.content:admin.readonly, lucidspark.document.content:admin.readonly, lucidscale.document.content:admin.readonly
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Lucid-Request-Asstring required
If the requesting user is an account owner or document admin with the required permissions and they make the request with the value of “admin” as this header and include an admin scope, the request will be made using their admin permissions.
Request body
Example request
{
"product": [
"lucidchart"
]
}Response
With paginated list of Account Documents
Example response
[
{
"documentId": "110808fd-4553-4316-bccf-4f25ff59a532",
"title": "document title",
"adminViewUrl": "https://lucid.app/lucidchart/110808fd-4553-4316-bccf-4f25ff59a532/adminView",
"created": "2019-04-22T13:47:23Z",
"owner": {
"ownerType": "user",
"id": "123456"
},
"lastModified": "2020-06-26T16:29:37Z",
"customTags": [
"in progress"
],
"product": "lucidchart",
"status": "Complete",
"parent": 123456788,
"trashed": null,
"userCollaboratorIds": [
206418105,
206418104,
206418103
],
"teamCollaboratorIds": [
"team_111000660",
"team_111000661",
"team_111000659"
]
}
]Changes
- info
endpoint added
- info