action exavault_list_shares { label: "Get a list of shares" description: "Get a list of shares that you would have access to view through the web interface. You can limit which results are returned by specifying specific types of shares you wish to view, finding things shared with a specific email address, as well as finding shares for specific folder names.\n\n\n**Notes:**\n\n- Authenticated user requires [share permission](/docs/account/04-users/00-introduction#managing-user-roles-and-permissions).\n- To get share objects with type send, authenticated user's role must be admin or master." provider: exavault method: GET path: "/shares" encoding: json input: { type: "object" properties: { "ev-access-token": { type: "string" } "ev-api-key": { type: "string" } include: { type: "string" } limit: { type: "integer" } message: { type: "string" } name: { type: "string" } offset: { type: "integer" } recipient: { type: "string" } scope: { type: "string" enum: ["all", "active", "currentUser"] } search: { type: "string" } sort: { type: "string" enum: ["created", "-created"] } type: { type: "string" enum: ["receive", "shared_folder", "send"] } username: { type: "string" } } required: ["ev-access-token", "ev-api-key"] additionalProperties: false } output: { type: "object" properties: { data: { type: "array" items: { type: "object" description: "Object contains share properties." properties: { attributes: { type: "object" description: "Attributes of the share including the name, path and share recipients. " properties: { accessDescription: { type: "string" description: "Description of the share access rights." } accessMode: { type: "object" description: "An object defining what a not-logged-in visitor can do with the share contents" properties: { delete: { type: "boolean" description: "Whether share allows visitors to delete contents" } download: { type: "boolean" description: "Whether share allows visitors to download" } modify: { type: "boolean" description: "Whether share allows visitors to rename or move contents." } upload: { type: "boolean" description: "Whether share allows visitors to upload" } } } created: { type: "string" format: "date-time" description: "Timestamp of share creation." } embed: { type: "boolean" description: "True if share can be embedded." } expiration: { type: "string" description: "Expiration date of the share." } expired: { type: "boolean" description: "True if the share has expired." enum: [true, false] } fileDropCreateFolders: { type: "boolean" description: "Flag to show if separate folders should be created for each file upload to receive folder." enum: [true, false] } formId: { type: "integer" description: "ID of the form." } hasNotification: { type: "boolean" description: "True if share has notification." enum: [true, false] } hasPassword: { type: "boolean" description: "True if the share has password." enum: [true, false] } hash: { type: "string" description: "Share hash." } inherited: { type: "boolean" description: "True if share inherited from parent folder." enum: [true, false] } messages: { type: "array" description: "Array of invitation messages." items: { type: "object" properties: { body: { type: "string" description: "Share invitation message text." } created: { type: "string" format: "date-time" description: "Timestamp of message creation." } id: { type: "integer" format: "int32" description: "Message id." } modified: { type: "string" format: "date-time" description: "Timestamp of message modification." } shareId: { type: "integer" format: "int32" description: "ID of associated share" } subject: { type: "string" description: "Share invitation message subject." } userId: { type: "integer" format: "int32" description: "User ID who generated share invite" } } } } modified: { type: "string" format: "date-time" description: "Timestamp of share modification. Can be `null` if it wasn't modified." } name: { type: "string" description: "Share name." } ownerHash: { type: "string" description: "Share owner's hash." } paths: { type: "array" description: "Path to the shared resource in your account." items: { type: "string" } } public: { type: "boolean" description: "True if the share has a public url." enum: [true, false] } recipients: { type: "array" description: "Array of recipients." items: { type: "object" properties: { created: { type: "string" format: "date-time" description: "Timestamp of adding recipient to the share." } email: { type: "string" description: "Recipient email address." } hash: { type: "string" description: "Share hash." } id: { type: "integer" format: "int32" description: "ID of the recipient." } received: { type: "boolean" description: "Set to true if recipient has accessed the share. Note this is set to true when the recipient clicks the link to access the share; not when they download a file." enum: [true, false] } sent: { type: "boolean" description: "Set to true if invite email was sent; false otherwise." enum: [true, false] } shareId: { type: "string" description: "ID of the share that the recipoient belongs to." } type: { type: "string" description: "Type of the recipient." enum: ["owner", "direct"] } } } } requireEmail: { type: "boolean" description: "True if share requires email to access." } resent: { type: "string" format: "date-time" description: "Invitations resent date. Can be `null` if resent never happened." } status: { type: "integer" format: "int32" description: "Share activity status. Can be active (1) or deactivated (0)." enum: [0, 1] } trackingStatus: { type: "string" description: "Checks recipient received status and returns whether it's been received (`complete`,) partial received (`incomplete`,) or not received yet (`pending`.)" enum: ["complete", "incomplete", "pending"] } type: { type: "string" description: "Type of share." enum: ["shared_folder", "send", "receive"] } } } id: { type: "integer" format: "int32" description: "ID of the share." } relationships: { type: "object" description: "Message, owner, resource, and notification relationships of the share. " properties: { messages: { type: "array" items: { type: "object" properties: { data: { type: "object" properties: { id: { type: "integer" description: "ID of the message." } type: { type: "string" description: "Type is message. " enum: ["message"] } } } } } } notifications: { type: "array" items: { type: "object" properties: { data: { type: "object" properties: { id: { type: "integer" description: "ID of the notification. " } type: { type: "string" description: "Type is notification. " enum: ["notification"] } } } } } } owner: { type: "object" properties: { data: { type: "object" properties: { id: { type: "integer" description: "ID of the owner." } type: { type: "string" description: "Type is user." } } } } } resources: { type: "array" items: { type: "object" properties: { data: { type: "object" properties: { id: { type: "integer" format: "int64" description: "ID of the shared resource." } type: { type: "string" description: "Type is resource. " enum: ["resource"] } } } } } } } } type: { type: "string" description: "Type of the share. " enum: ["share"] } } } } included: { type: "array" items: { type: "object" } } responseStatus: { type: "integer" description: "Http status code of the response." } returnedResults: { type: "integer" description: "Number of returned results." } totalResults: { type: "integer" description: "Total results found. " } } } }