Share Management Purpose-built portals for exchanging files with internal teams and external guests.

Base URL: https://api.fast.io/current/ Auth: Bearer {jwt_token} Format: JSON

Shares are purpose-built portals for exchanging files with internal teams and external guests. They support branded file preview, download controls, guest access, password protection, expiration, AI-powered features, and real-time collaboration.

Share Types

TypeDirectionDescriptionGuest Uploads"Anyone with the link" Access
sendOwner → GuestOwner distributes files; guests can download onlyNoAllowed
receiveGuest → OwnerOwner collects files; guests can upload onlyYesNot allowed
exchangeBidirectionalBoth parties can upload and downloadYesNot allowed

Default share type is exchange.

Storage Modes (Immutable at Creation)

Portal (storage_mode=independent, default)

The share has its own isolated storage. Files added to the portal are independent of any workspace. Changes to workspace files do not affect the portal, and vice versa.

Features: Expiration dates, archiving, password protection (Send type only), custom branding, guest access, inline file preview, download controls, post-download messaging, AI auto-titling.

Shared Folder (storage_mode=workspace_folder)

The share is backed by a specific workspace folder. The share displays the live contents of that folder — files added, updated, or removed in the workspace folder are immediately reflected in the share. No file duplication, so no extra storage cost.

Creation: Pass folder_node_id={folder_opaque_id} to link an existing folder, or create_folder=true with folder_name to create a new one.

Restrictions: Expiration dates and archiving are not allowed since the content is live. Each workspace folder can only be shared once. If the backing folder is deleted, the share becomes orphaned (is_orphaned: true in details response).

Both modes look the same to share recipients — a branded portal with file preview, download controls, and all share features.

Response Field: share_category

API responses include a share_category field alongside storage_mode. The storage_mode field is the input parameter used when creating shares; share_category is response-only.

storage_modeshare_category
independentportal
workspace_foldershared_folder

Access Options

The access_options parameter controls who can access the share:

ValueDescription
'Only members of the Share or Workspace'Most restrictive (default). Only explicit members or workspace members.
'Members of the Share, Workspace or Org'Org members can also access
'Anyone with a registered account'Any authenticated Fast.io user
'Anyone with the link'Public access. Enables password protection (Send type only).

Restrictions:

Create Share

POST /current/workspace/{workspace_id}/create/share/

Create a new share in a workspace. Auth required.

Path Parameters

ParameterTypeRequiredDescription
{workspace_id}stringYes20-digit numeric workspace profile ID

Required Parameters

ParameterTypeRequiredDescription
intelligencestringYesBoolean string ("true" / "false"). Enable AI indexing.

Optional Parameters

ParameterTypeDefaultConstraintsDescription
share_typestringexchangesend, receive, exchangeShare direction type
access_optionsstringOnly members of the Share or WorkspaceSee Access OptionsWho can access the share
invitestringownersowners, guestsWho can manage share invitations
storage_modestringindependentindependent, workspace_folderStorage mode (immutable after creation)
folder_node_idstringValid opaque IDWorkspace folder opaque ID (required for workspace_folder if not creating)
create_folderstringBoolean stringCreate a new backing folder (with folder_name)
folder_namestringShared FolderNot blankName for the new backing folder (with create_folder=true)
titlestring2-80 charsShare display title
descriptionstring10-500 charsShare description
custom_namestringAuto-generated10-100 chars, URL-friendlyURL-friendly custom name. Auto-generated opaque ID if omitted.
passwordstring4-128 charsPassword. Only with Send type + 'Anyone with the link' access.
expiresstringdatetimeExpiration date. Portal mode only.
notifystringnevernever, notify_on_file_received, notify_on_file_sent_or_receivedNotification preference
comments_enabledstringBoolean stringEnable comments
download_enabledstringBoolean stringLegacy — use download_security instead. Enable downloads
download_securitystringhigh, medium, offDownload security level. high: downloads disabled. medium: downloads require a short-lived nonce. off: downloads unrestricted. Overrides download_enabled.
guest_chat_enabledstringBoolean stringEnable guest AI chat
display_typestringNot blankVisual display mode (grid, list)
workspace_stylestringNot blankWorkspace visual style
accent_colorstringValid JSONJSON color object for accent
background_color1stringValid JSONJSON color object for primary background
background_color2stringValid JSONJSON color object for secondary background
background_imageintegerNumeric, validated rangeBackground image selection
link_1stringValid JSONJSON link object (custom link #1)
link_2stringValid JSONJSON link object (custom link #2)
link_3stringValid JSONJSON link object (custom link #3)
owner_definedstringValid JSON or "null"Custom owner-defined properties
anonymous_uploads_enabledstringfalseBoolean stringEnable anonymous file uploads. Receive/Exchange + 'Anyone with the link' + premium plan only.

Request Example

curl -X POST "https://api.fast.io/current/workspace/12345678901234567890/create/share/" \
  -H "Authorization: Bearer {jwt_token}" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "share_type=send&intelligence=true&access_options=Anyone+with+the+link&title=Client+Deliverables"

Response

Status: 200 OK

{
  "result": "yes",
  "response": {
    "share": {
      "id": "98765432109876543210",
      "custom_name": "aB3cD4eF5g",
      "storage_mode": "independent",
      "share_category": "portal"
    }
  },
  "current_api_version": "1.0"
}

For workspace folder shares, the response also includes folder_node_id.

Response Fields

FieldTypeDescription
response.share.idstring20-digit share profile ID
response.share.custom_namestringURL name (custom or auto-generated)
response.share.storage_modestringindependent or workspace_folder
response.share.share_categorystringportal (independent) or shared_folder (workspace_folder). Response-only.
response.share.folder_node_idstringBacking folder node ID (workspace_folder only)

Error Responses

HTTP StatusCodeMessageCause
400APP_ERROR_INPUT_INVALIDAn invalid share custom name was supplied.Custom name fails validation
400APP_ERROR_INPUT_INVALIDAn invalid share expiration date was supplied.Invalid datetime format
400APP_ERROR_INPUT_INVALIDPassword can only be set for shares with 'Anyone' access option.Password on non-public share
400APP_ERROR_INPUT_INVALIDReceive and Exchange shares cannot have 'Anyone' access option...Public access on receive/exchange
400APP_ERROR_INPUT_INVALIDWorkspace folder shares cannot have an expiration date...Expiration on workspace_folder share
400APP_ERROR_INPUT_INVALIDMust provide folder_node_id or set create_folder=true...Missing folder config for workspace_folder mode
403APP_FEATURE_LIMITThe organization has reached its share creation limit...Share quota exceeded for billing plan
406APP_NOT_ACCEPTABLEThe supplied share custom name is already in use.Duplicate custom name
406APP_NOT_ACCEPTABLEThis folder has already been shared.Folder already linked to another share
409APP_CONFLICTUnable to process share creation request due to concurrent operation.Concurrent operation conflict
500APP_ERROR_UPDATE_ERRORThere was an internal error processing your create request.Internal error

Share Details

GET /current/share/{share_id}/details/

Get full share details. Auth required (optional for public shares). {share_id} accepts a 20-digit numeric ID or a custom name.

Path Parameters

ParameterTypeRequiredDescription
{share_id}stringYes20-digit share profile ID or custom name

Request Example

curl -X GET "https://api.fast.io/current/share/12345678901234567890/details/" \
  -H "Authorization: Bearer {jwt_token}"

Response

Status: 200 OK

{
  "result": "yes",
  "response": {
    "share": {
      "id": "12345678901234567890",
      "title": "Q4 Financial Reports",
      "description": "Quarterly financial documents",
      "share_type": "exchange",
      "custom_name": "q4-reports",
      "storage_mode": "independent",
      "share_category": "portal",
      "closed": false,
      "archived": false,
      "share_level": "owner",
      "download_enabled": true,
      "download_security": "off",
      "activity_tracking": {
        "enabled": true,
        "owner_activity": true,
        "guest_activity": true,
        "own_activity": true,
        "all_upload_activity": false
      },
      "comments": {
        "enabled": true,
        "owner_comments_visible": true,
        "guest_comments_visible": true,
        "personal_replies_visible": true,
        "owner_replies_visible": true
      },
      "filesystem": {
        "file_creation": true,
        "file_modification": "owned",
        "file_download": "all",
        "file_view": "all",
        "folder_creation": true,
        "folder_modification": "owned"
      },
      "event_flow": {
        "enabled": true,
        "can_see_own_events": true,
        "can_see_owner_events": true,
        "can_see_guest_events": false
      },
      "multiplayer": {
        "enabled_for_user": true,
        "enabled_for_owners": true,
        "enabled_for_guests": true,
        "owners_can_see_guests": true,
        "guests_can_see_owners": false
      },
      "member_visibility": {
        "user_can_see_members": true,
        "owners_can_see_members": true,
        "guests_can_see_members": false
      },
      "invite": {
        "setting": "owners_only",
        "can_invite": true
      },
      "capabilities": {
        "can_archive": true,
        "can_set_expiration": true
      },
      "parent_type": "workspace",
      "parent_workspace": "98765432109876543210",
      "parent_org": "11223344556677889900",
      "created": "2024-01-01 10:00:00",
      "expires": "2024-12-31 23:59:59"
    }
  },
  "current_api_version": "1.0"
}

Response Fields

FieldTypeDescription
response.share.idstringShare profile ID
response.share.titlestring|nullDisplay title
response.share.descriptionstring|nullShare description
response.share.share_typestringsend, receive, or exchange
response.share.custom_namestring|nullURL-friendly custom name
response.share.storage_modestringindependent or workspace_folder
response.share.share_categorystringportal (independent) or shared_folder (workspace_folder). Response-only.
response.share.closedbooleanWhether the share has been soft-deleted
response.share.archivedbooleanWhether the share is archived
response.share.share_levelstringCurrent user's access level: owner, guest, public, excluded
response.share.download_enabledbooleanLegacy — use download_security instead. Whether file downloads are allowed
response.share.download_securitystringDownload security level: high, medium, or off
response.share.activity_trackingobjectActivity visibility settings
response.share.commentsobjectComment visibility and permission settings
response.share.filesystemobjectFile and folder operation permissions
response.share.event_flowobjectReal-time event visibility settings
response.share.multiplayerobjectReal-time collaboration/presence settings
response.share.member_visibilityobjectWho can see other share members
response.share.inviteobjectInvitation policy settings
response.share.capabilitiesobjectOperations allowed based on storage mode
response.share.parent_typestring|nullworkspace or user
response.share.parent_workspacestring|nullParent workspace ID (workspace-owned shares only)
response.share.parent_orgstring|nullParent organization ID (workspace-owned shares only)
response.share.createdstringCreation timestamp (datetime)
response.share.expiresstring|nullExpiration timestamp, or null
response.share.folder_node_idstring|nullBacking folder node ID (workspace_folder only)
response.share.is_orphanedbooleanWhether backing folder was deleted (workspace_folder only)

Error Responses

HTTP StatusCodeMessageCause
401APP_AUTH_INVALIDAuthentication requiredNon-public share without auth
403144499You do not have permissions to view this share.Lacks view permission

Public Share Details

GET /current/share/{share_id}/public/details/
POST /current/share/{share_id}/public/details/

Returns a comprehensive view of a share from a single API call. Includes share details, owner information, file listing, member list, and comments. No auth required (optional; enhances permissions if provided).

Rate Limits: 3/3s, 15/10s, 20/60s, 50/hour, 200/day (per IP).

For password-protected shares, pass the password JWT in the x-ve-password header (obtained from the password auth endpoint).

Request Example

# Public access (no auth)
curl -X GET "https://api.fast.io/current/share/12345678901234567890/public/details/"

# Password-protected share
curl -X GET "https://api.fast.io/current/share/12345678901234567890/public/details/" \
  -H "x-ve-password: {password_jwt_token}"

# Authenticated user
curl -X GET "https://api.fast.io/current/share/12345678901234567890/public/details/" \
  -H "Authorization: Bearer {jwt_token}"

Response

Status: 200 OK

{
  "result": "yes",
  "response": {
    "share": {
      "id": "12345678901234567890",
      "title": "Q4 Financial Reports",
      "share_type": "exchange",
      "storage_mode": "independent",
      "share_category": "portal"
    },
    "owner": {
      "id": "99887766554433221100",
      "display_name": "Jane Smith",
      "avatar": "https://..."
    },
    "nodes": [
      {
        "id": "aB3cD4eF5g",
        "name": "report.pdf",
        "type": "file",
        "size": 1048576,
        "parent": "root"
      }
    ],
    "users": [
      {
        "id": "11223344556677889900",
        "display_name": "John Doe",
        "role": "guest"
      }
    ],
    "comments": [],
    "org": {
      "id": "55667788990011223344",
      "name": "Acme Corp"
    }
  },
  "current_api_version": "1.0"
}

Response Fields

FieldTypeDescription
response.shareobjectFull share details (same as details endpoint)
response.ownerobjectShare owner's user resource
response.nodesarrayTop-level files and folders in the share root
response.usersarrayShare members (if user has member visibility permission)
response.commentsarrayComments on the share (filtered by visibility permissions)
response.orgobject|nullOrganization resource (only for workspace-owned shares)

Error Responses

HTTP StatusCodeMessageCause
403183836You do not have permissions to view this share.Lacks public view permission
500121168Failed to access share storageInternal storage error

Update Share

POST /current/share/{share_id}/update/

Update share settings. Auth required. Owner/admin only. Supports partial updates. Works on archived shares.

Rate Limits: 5/3s, 20/30s, 50/5min, 300/hour, 500/day (per share + user).

Request Body (All Fields Optional)

ParameterTypeConstraintsDescription
namestringNot blankShare display name
titlestringNot blank, or "null" to clearDisplay title (2-80 chars)
descriptionstring"null" or "" to clearShare description (10-500 chars)
custom_namestring10-100 chars, or "null" to clearURL-friendly custom name. Must be unique.
share_typestringsend, receive, exchangeShare direction type
access_optionsstringSee Access OptionsWho can access the share
invitestringowners, guestsWho can manage invitations
passwordstring4-128 chars, "null"/"" to clearPassword. Only with Send type + 'Anyone with the link'.
expiresstringdatetime, "null" to clearExpiration. Portal mode only.
notifystringSee notification valuesNotification preference
comments_enabledstringBoolean stringEnable/disable comments
download_enabledstringBoolean stringLegacy — use download_security instead. Enable/disable downloads
download_securitystringhigh, medium, offDownload security level. high: downloads disabled. medium: downloads require a short-lived nonce. off: downloads unrestricted. Overrides download_enabled.
display_typestringgrid, listVisual display mode
workspace_stylestringNot blankWorkspace visual style
guest_chat_enabledstringBoolean stringEnable/disable guest AI chat
intelligencestringBoolean stringCannot be re-enabled once disabled
accent_colorstringJSON or "null"JSON color object for accent
background_color1stringJSON or "null"JSON color object for primary background
background_color2stringJSON or "null"JSON color object for secondary background
background_imageintegerNumeric, validated rangeBackground image selection
link_1stringJSON or "null"JSON link object (custom link #1)
link_2stringJSON or "null"JSON link object (custom link #2)
link_3stringJSON or "null"JSON link object (custom link #3)
owner_definedstringJSON or "null"Custom owner-defined properties
share_link_node_idstring"null" onlyCan only be set to "null" to remove workspace share link node
anonymous_uploads_enabledstringBoolean stringEnable/disable anonymous file uploads. Receive/Exchange + 'Anyone with the link' + premium plan only. Automatically disabled when access changes from "Anyone" or type changes from Receive/Exchange.

Request Example

curl -X POST "https://api.fast.io/current/share/12345678901234567890/update/" \
  -H "Authorization: Bearer {jwt_token}" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "title=Updated+Title&description=New+description&share_type=exchange"

Response

Status: 200 OK

{
  "result": "yes",
  "current_api_version": "1.0"
}

Important Behaviors

Error Responses

HTTP StatusCodeMessageCause
400APP_ERROR_INPUT_INVALIDAn invalid share custom name was supplied.Invalid or duplicate custom name
400APP_ERROR_INPUT_INVALIDAn invalid share expiration date was supplied.Invalid datetime format
400APP_ERROR_INPUT_INVALIDPassword can only be set for shares with 'Anyone' access option.Password on non-public share
400APP_ERROR_INPUT_INVALIDIntelligence cannot be enabled once it has been disabled...Re-enabling intelligence
400APP_ERROR_INPUT_INVALIDWorkspace folder shares cannot have an expiration date...Expiration on workspace_folder share
400APP_ERROR_INPUT_INVALIDReceive and Exchange shares cannot have 'Anyone' access option...Public access on receive/exchange
403144499You do not have permissions to access this share.User lacks admin permission
406APP_NOT_ACCEPTABLEThe supplied share custom name is already in use.Duplicate custom name
500APP_ERROR_UPDATE_ERRORThere was an internal error processing your update request.Internal error

Delete Share

DELETE /current/share/{share_id}/delete/

Soft-delete (close) a share. Auth required. Owner/admin only. Requires confirmation.

Rate Limits: 100/5min, 3000/hour, 5000/day (per workspace).

Request Body

ParameterTypeRequiredDescription
confirmstringYesMust match either the share's custom_name or the share's id. Safety check.

Request Example

curl -X DELETE "https://api.fast.io/current/share/12345678901234567890/delete/" \
  -H "Authorization: Bearer {jwt_token}" \
  -d "confirm=my-share-name"

Response

Status: 202 Accepted

{
  "result": "yes",
  "current_api_version": "1.0"
}

Error Responses

HTTP StatusCodeMessageCause
400APP_ERROR_INPUT_INVALIDThe confirm field provided does not match.Confirmation mismatch
403144499You do not have permissions to access this share.Lacks admin permission
500APP_ERROR_UPDATE_ERRORThere was an internal error processing your request.Internal error

Notes

Archive / Unarchive

POST /current/share/{share_id}/archive/
POST /current/share/{share_id}/unarchive/

Archive or unarchive a share. Auth required. Owner/admin only. Portals only — workspace folder shares cannot be archived.

Rate Limits (archive): 100/5min, 3000/hour, 5000/day (per workspace).

Rate Limits (unarchive): 50/5min, 300/hour, 500/day (per share).

No request body required.

Request Example

curl -X POST "https://api.fast.io/current/share/12345678901234567890/archive/" \
  -H "Authorization: Bearer {jwt_token}"

Response

Status: 202 Accepted

{
  "result": "yes",
  "current_api_version": "1.0"
}

Error Responses

HTTP StatusCodeMessageCause
400APP_ERROR_INPUT_INVALIDWorkspace folder shares cannot be archived...workspace_folder share
400APP_ERROR_UPDATE_ERRORThe share is already archived. / The share is not archived.Wrong current state
403144499You do not have permissions to access this share.Lacks admin permission

Notes

Password Protection

Available only on Send shares with 'Anyone with the link' access.

Set/Update Password

Set via password parameter on create or update (4-128 chars). Send "null" or "" to clear.

Authenticate with Password

POST /current/share/{share_id}/auth/password/

Authenticate with a share password to get a scoped JWT token. No user auth required.

Rate Limits: 3/3s, 10/10s, 15/60s, 30/hour, 100/day (per IP). Heavily rate-limited to prevent brute force.

Request Body

ParameterTypeRequiredDescription
passwordstringYesShare password

Request Example

curl -X POST "https://api.fast.io/current/share/12345678901234567890/auth/password/" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "password=mysecretpassword"

Response

Status: 200 OK

{
  "result": "yes",
  "response": {
    "expires_in": 86400,
    "auth_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
  },
  "current_api_version": "1.0"
}

Response Fields

FieldTypeDescription
response.expires_inintegerToken lifetime in seconds (86400 = 24 hours)
response.auth_tokenstringJWT token to use in x-ve-password header

Error Responses

HTTP StatusCodeMessageCause
400Input validationPassword is required for authentication.Missing password field
401APP_AUTH_INVALIDThis share does not require password authentication.Not password-protected or not public
406APP_NOT_ACCEPTABLEInvalid password provided for this share.Wrong password
500APP_INTERNAL_ERRORFailed to create authentication token.JWT creation failure

Notes

Anonymous File Drop (Guest Auth)

Enables anonymous file uploads on public Receive and Exchange shares without requiring account registration. Visitors obtain a scoped JWT via the guest auth endpoint, then use it as a Bearer token for subsequent upload requests.

Requirements:

Authenticate as Guest

POST /current/share/{share_id}/auth/guest/

Obtain a scoped JWT for anonymous file uploads. Creates an ephemeral user account. No user auth required.

Rate Limits: 3/3s, 10/10s, 15/60s, 30/hour, 100/day (per IP).

Request

No body required. POST request only.

Request Example

curl -X POST "https://api.fast.io/current/share/12345678901234567890/auth/guest/"

Response

Status: 200 OK

{
  "result": true,
  "response": {
    "auth_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "expires_in": 3600
  },
  "current_api_version": "1.0"
}

Response Fields

FieldTypeDescription
response.auth_tokenstringScoped JWT for anonymous uploads (use as Bearer token)
response.expires_inintegerToken lifetime in seconds

Error Responses

HTTP StatusCodeMessageCause
401APP_AUTH_INVALIDAnonymous uploads are not enabled for this share.Feature not enabled or share not eligible
412APP_FEATURE_LIMITAnonymous uploads require a premium plan.Org not on premium plan
429APP_ENHANCE_CALMRate limit exceededToo many requests from this IP
500APP_INTERNAL_ERRORFailed to create authentication token.JWT creation failure

Notes

Anonymous Upload Workflow

  1. Check share eligibility: GET /current/share/{share_id}/public/details/ — verify anonymous_uploads_enabled: true in the response.
  2. Obtain guest token: POST /current/share/{share_id}/auth/guest/ — returns a scoped auth_token.
  3. Upload files: Use the standard upload flow (POST /current/upload/init/, chunk upload, POST /current/upload/complete/) with Authorization: Bearer {auth_token}.
  4. Add to share: POST /current/share/{share_id}/storage/addfile/ with the upload key, using the same Bearer token.

Expiration

Available only on portal shares (not workspace folder).

Set the expires parameter (datetime format: YYYY-MM-DD HH:MM:SS) on create or update. Send "null" to clear. When the share expires, access is revoked. Expiration is validated against the billing plan.

Branding & Styling

Shares support custom branding through the update endpoint:

ParameterTypeDescription
accent_colorstringJSON color object for accent
background_color1stringJSON color object for primary bg
background_color2stringJSON color object for secondary bg
background_imageintegerBackground image selection (numeric)
link_1stringJSON link object (custom link #1)
link_2stringJSON link object (custom link #2)
link_3stringJSON link object (custom link #3)

Send "null" for any JSON field to clear it.

Share Assets

List Available Asset Types

GET /current/share/assets/

Returns the schema of available asset types (e.g., logo, background). No auth required.

List Share Assets

GET /current/share/{share_id}/assets/

List assets set on a share. Auth required. Owner/admin only.

Upload/Set Asset

POST /current/share/{share_id}/assets/{asset_id}/

Upload an asset (multipart/form-data). Auth required. Owner/admin only.

FieldTypeRequiredDescription
filefileYesThe asset file to upload
metadataJSONNoOptional metadata for the asset

Request Example

curl -X POST "https://api.fast.io/current/share/12345678901234567890/assets/logo/" \
  -H "Authorization: Bearer {jwt_token}" \
  -F "file=@logo.png" \
  -F 'metadata={"crop_x": 0, "crop_y": 0}'

Delete Asset

DELETE /current/share/{share_id}/assets/{asset_id}/

Remove an asset. Auth required. Owner/admin only.

Read Asset Binary

GET /current/share/{share_id}/assets/{asset_id}/read/

Returns raw binary data of a share asset. Auth optional for public shares. Works on archived shares.

Query ParameterTypeRequiredDescription
widthintegerNoRequested width (max 4096). Background images only.
heightintegerNoRequested height (max 4096). Background images only.

Share Members

Permission Levels

LevelValueDescription
Owner1000Full control and ownership
Admin500Administrative access, manage members
Member100Standard member access (default for new)
Guest50Limited guest access
View20Read-only access

Notification Options

ValueDescription
"Do not notify me"No notifications
"Notify me in app"In-app only (default)
"Notify me in app and via email"In-app and email
"Notify me via app, email and text message"All notification channels

Add Member or Send Invitation

POST /current/share/{share_id}/members/{email_or_user_id}/

Use a 20-digit user ID to add an existing user directly, or an email address to send an invitation. Auth required. Owner/admin only.

Rate Limits: 15/3s, 25/10s, 50/60s, 100/hour, 1000/day.

Request Body (Adding Existing User)

FieldTypeRequiredDefaultDescription
permissionsstringNomemberowner, admin, member, guest, view. Cannot be owner (use transfer).
notify_optionsstringNo"Notify me in app"Notification preference
expiresstringNoMembership expiration (YYYY-MM-DD HH:MM:SS). null or "" to clear.
force_notificationbooleanNoResend notification email (60-second cooldown after initial add).

Request Body (Inviting by Email)

FieldTypeRequiredDefaultDescription
permissionsstringNomemberPermission level for the invitation
messagestringNoCustom message for the invitation email
invitation_expiresstringNoInvitation expiration datetime

Request Example

# Add existing user by ID
curl -X POST "https://api.fast.io/current/share/12345678901234567890/members/98765432109876543210/" \
  -H "Authorization: Bearer {jwt_token}" \
  -d '{"permissions": "member"}'

# Invite by email
curl -X POST "https://api.fast.io/current/share/12345678901234567890/members/newuser@example.com/" \
  -H "Authorization: Bearer {jwt_token}" \
  -d '{"permissions": "guest", "message": "Join our shared files!"}'

Response (Invitation Created)

{
  "result": "yes",
  "response": {
    "invitation": {
      "id": "55667788990011223344",
      "inviter": "Jane Smith",
      "invitee_email": "newuser@example.com",
      "invitee_uid": null,
      "accepted_uid": null,
      "entity_type": "share",
      "share": {
        "id": "12345678901234567890",
        "name": "Project Files"
      },
      "state": "pending",
      "consumed": false,
      "created": "2025-01-15 10:30:00",
      "updated": "2025-01-15 10:30:00",
      "expires": "2025-02-15 10:30:00"
    }
  },
  "current_api_version": "1.0"
}

Error Responses

HTTP StatusCodeMessageCause
400APP_CANNOT_ADD_AS_OWNERAdding a member as an owner is not allowedTried to add as owner
400APP_ERROR_INPUT_INVALIDYou cannot create a membership for the share owner.Target is share owner
400APP_ERROR_INPUT_INVALIDYou cannot add, update, or delete a membership with a higher permission...Permission exceeds caller
403APP_DENIEDYou do not have permission to manage the members of this Share.Lacks member edit permission
403APP_FEATURE_LIMITShare invitation limit reached: X of Y invitations usedInvitation quota exceeded

Remove Member

DELETE /current/share/{share_id}/members/{user_id}/

Remove a member. Auth required. Owner/admin only. Cannot remove the last owner.

Rate Limits: 15/3s, 25/10s, 50/60s, 100/hour, 1000/day.

Leave Share (Self-Removal)

DELETE /current/share/{share_id}/member/

Leave a share. Auth required. Owners cannot leave; must transfer ownership first. Works on archived/expired shares.

Member Details

GET /current/share/{share_id}/member/{user_id}/details/

Get detailed membership info for a specific user. Auth required.

Rate Limits: 200/3s, 500/10s, 750/60s, 1000/hour, 2500/day.

Response

{
  "result": "yes",
  "response": {
    "user": {
      "id": "98765432109876543210",
      "account_type": "human",
      "email_address": "member@example.com",
      "first_name": "John",
      "last_name": "Doe",
      "permissions": "admin",
      "invite": null,
      "notify": "Notify me in app",
      "expires": null
    }
  },
  "current_api_version": "1.0"
}

Update Member

POST /current/share/{share_id}/member/{user_id}/update/

Update permissions, notification settings, or expiration. Auth required. Owner/admin only.

Rate Limits: 10/3s, 25/10s, 50/60s, 100/hour, 1000/day.

FieldTypeRequiredDescription
permissionsstringNoadmin, member, guest, view. Cannot set to owner.
notify_optionsstringNoNotification preference
expiresstringNoMembership expiration datetime. null/"" to clear.

Transfer Ownership

GET /current/share/{share_id}/member/{user_id}/transfer_ownership/

Transfer share ownership to another member. Auth required. Owner only. Current owner is demoted to admin.

Rate Limits: 10/3s, 25/10s, 50/60s, 100/hour, 1000/day.

List Members

GET /current/share/{share_id}/members/list/

List all members. Auth required.

Rate Limits: 20/3s, 50/10s, 200/60s, 500/hour, 10000/day.

Response

{
  "result": "yes",
  "response": {
    "users": [
      {
        "id": "11111111111111111111",
        "account_type": "human",
        "email_address": "owner@example.com",
        "first_name": "Jane",
        "last_name": "Smith",
        "permissions": "owner",
        "invite": null,
        "notify": "Notify me in app",
        "expires": null
      }
    ]
  },
  "current_api_version": "1.0"
}

Join Share

POST /current/share/{share_id}/members/join/
POST /current/share/{share_id}/members/join/{invitation_key}/
POST /current/share/{share_id}/members/join/{invitation_key}/accept/
POST /current/share/{share_id}/members/join/{invitation_key}/decline/

Join a share via self-join or invitation. Auth required.

Rate Limits: 10/3s, 25/10s, 50/60s, 100/hour, 1000/day.

Self-join rules (without invitation key):

Access OptionWho Can Self-Join
'Only members of the Share or Workspace'Members of the share or its parent workspace
'Members of the Share, Workspace or Org'Members of the share, parent workspace, or parent org
Other valuesSelf-join blocked; invitation required

Self-joined members receive member permission with no expiration. Only notify_options is respected from input.

List Invitations

GET /current/share/{share_id}/members/invitations/list/
GET /current/share/{share_id}/members/invitations/list/{state}/

List invitations, optionally filtered by state (pending, accepted, declined). Auth required.

Rate Limits: 10/3s, 25/10s, 50/60s, 100/hour, 1000/day.

Update Invitation

POST /current/share/{share_id}/members/invitation/{invitation_id}/

Update an invitation. {invitation_id} can be a numeric ID or an email address. Auth required.

Rate Limits: 10/60s, 20/600s, 30/hour.

FieldTypeRequiredDescription
statestringNopending, accepted, declined
permissionsstringNoUpdated permission level: admin, member, guest, view
notify_optionsstringNoUpdated notification preference
expiresstringNoUpdated membership expiration datetime

Delete Invitation

DELETE /current/share/{share_id}/members/invitation/{invitation_id}/

Revoke an invitation. {invitation_id} can be a numeric ID or an email address. Auth required.

Rate Limits: 10/60s, 20/600s, 30/hour.

Share Discovery

List All Shares

GET /current/shares/all/

List all accessible shares (joined, invited, owned). Auth required. Orphaned workspace folder shares are automatically filtered out.

Response Fields

Each share in the shares array includes the same fields as the details endpoint, plus:

FieldTypeDescription
shares[].user_statusstringUser's membership status (e.g., joined, invited)
shares[].folder_node_idstring|nullBacking folder node ID (workspace_folder only)
shares[].is_orphanedbooleanWhether backing folder was deleted

List Available Shares

GET /current/shares/available/

List shares the user has joined or owns (excludes pending invitations). Auth required. Does not include parent workspace/org information.

Check Share Name Availability

GET /current/shares/check/name/{name}/

Check if a share custom name is available. Auth required.

Rate Limits: 5/3s, 30/10s, 60/60s, 250/hour, 1000/day (per user).

Status 202 Accepted = name available.

HTTP StatusCodeMessageCause
400APP_ERROR_INPUT_INVALIDAn invalid share name was supplied.Fails validation
406APP_NOT_ACCEPTABLEThe supplied share name is already in use.Name already taken

List Shares in Workspace

GET /current/workspace/{workspace_id}/list/shares/

List shares belonging to a workspace. Auth required. Paginated with offset-based pagination.

Query ParameterTypeRequiredDescription
limitintegerNoNumber of results to return
offsetintegerNoNumber of results to skip
archivedstringNoBoolean string. Filter by archived state.

List User's Shares

GET /current/user/me/list/shares/

List all shares accessible to the current user (owned, joined, invited). Auth required. Paginated. Includes parent workspace and org information.

Query ParameterTypeRequiredDescription
limitintegerNoNumber of results to return
offsetintegerNoNumber of results to skip
archivedstringNoBoolean string. Filter by archived state.

Import Share into Workspace

POST /current/workspace/{workspace_id}/import/share/{share_id}/

Import a user-owned share into a workspace. Auth required. Caller must be the share owner with no other co-owners. The share must currently be user-owned (not already in a workspace). Archived shares are automatically unarchived during import.

Error Responses

HTTP StatusCodeMessageCause
400APP_ERROR_INPUT_INVALIDThis share is not owned by you and cannot be imported.Share not user-owned
400APP_ERROR_INPUT_INVALIDThe share has multiple owners...Multiple co-owners exist
403APP_FEATURE_LIMITThe workspace has reached its share limit.Share quota exceeded
500APP_INTERNAL_ERRORFailed to import the share to the workspace.Internal error

Share AI

Shares support AI features when intelligence is enabled.

Auto-Generate OG Image

GET /current/share/{share_id}/ai/autoog/

Generate an Open Graph image for the share. Auth required.

Auto-Generate Title & Description

POST /current/share/{share_id}/ai/autotitle/

Generate a title and description for the share based on its contents. Auth required.

AI Chat

Share AI chat follows the same patterns as workspace AI chat. Replace /workspace/{id} with /share/{id} in all chat endpoints. For full AI chat documentation, see AI & Chat reference.

Endpoints

MethodEndpointDescription
POST/current/share/{share_id}/ai/chat/Create chat
GET/current/share/{share_id}/ai/chat/list/List chats
GET/current/share/{share_id}/ai/chat/{chat_id}/details/Chat details
POST/current/share/{share_id}/ai/chat/{chat_id}/update/Update chat
DELETE/current/share/{share_id}/ai/chat/{chat_id}/Delete chat
POST/current/share/{share_id}/ai/chat/{chat_id}/message/Send message
GET/current/share/{share_id}/ai/chat/{chat_id}/messages/list/List messages
GET/current/share/{share_id}/ai/chat/{chat_id}/message/{msg_id}/details/Message details
GET/current/share/{share_id}/ai/chat/{chat_id}/message/{msg_id}/read/Stream response (SSE)
POST/current/share/{share_id}/ai/chat/{chat_id}/publish/Publish chat
POST/current/share/{share_id}/ai/share/AI share markdown

QuickShare (Workspace Feature)

QuickShare creates a temporary public link for a single file. This is a workspace storage feature, not a share management feature, but is related to sharing.

Create QuickShare

POST /current/workspace/{workspace_id}/storage/{node_id}/quickshare/

Auth required. Single file only (not folders), max 1 GB, default expiration 3 hours, maximum 7 days. Supports expires (seconds) or expires_at (ISO 8601 datetime) parameters. Cleaned up by background job after expiration.

QuickShare Details (Public)

GET /current/quickshare/{opaque_id}/details/

Returns metadata including file information, creator, expiration, and download limit status. No auth required.

Rate Limits: 3/3s, 15/10s, 20/60s, 50/hour, 200/day (per IP).

Response

{
  "result": "yes",
  "response": {
    "quickshare": {
      "id": "aBcDeFgHiJ",
      "node": {
        "id": "12345678901234567890",
        "type": "file",
        "name": "presentation.pdf",
        "size": 5242880,
        "mimetype": "application/pdf",
        "mimecategory": "document"
      },
      "creator_uid": {
        "id": "98765432109876543210",
        "account_type": "human",
        "first_name": "Jane",
        "last_name": "Doe"
      },
      "limit_exceeded": false,
      "expires": "2024-01-15 13:30:00",
      "created": "2024-01-15 10:30:00"
    }
  },
  "current_api_version": "1.0"
}

Download File (Public)

GET /current/quickshare/{opaque_id}/storage/read/

Returns raw binary file content with Content-Type and Content-Disposition headers. No auth required.

Transfer Limits:

Read Note Content (Public)

GET /current/quickshare/{opaque_id}/storage/readnote/

Reads the content of a note/markdown file as JSON. Returns the sanitized markdown content as a string along with the note resource. No auth required.

Response

{
  "result": "yes",
  "response": {
    "content": "# Note content here\n\nMarkdown text...",
    "note": {
      "id": "{opaque_note_id}",
      "type": "note",
      "name": "my-note.md",
      "size": 1024,
      "mimetype": "text/markdown",
      "mimecategory": "document"
    }
  }
}

Error responses: Returns APP_ERROR_INPUT_INVALID (400) if the node is not a note, APP_ERROR_NOT_FOUND (404) if the quickshare is not found or the note is in trash, APP_BANDWIDTH_LIMIT (429) if the transfer limit is reached, or APP_DENIED (403) if the file is inaccessible (virus/DMCA/locked).

Preview File (Public)

GET /current/quickshare/{opaque_id}/storage/preview/{preview_type}/read/
GET /current/quickshare/{opaque_id}/storage/preview/{preview_type}/read/file/{filename}

Preview types: binary, thumbnail, image, hls_stream, pdf, spreadsheet, audio, mp4. No auth required.

Preview Limits: Max 20x file size for total preview bytes.

Multi-file previews (e.g., HLS) return a 307 Temporary Redirect to a sub-file endpoint.

QuickShare Error Responses

HTTP StatusCodeMessageCause
400APP_ERROR_INPUT_INVALIDValidation errorInvalid opaque ID
404APP_ERROR_NOT_FOUNDQuickshare not found.No such QuickShare
429APP_BANDWIDTH_LIMITYou have exceeded the bandwidth policy for this Quickshare.Transfer limit reached
403APP_DENIEDYou have reached the maximum number of previews for this Quickshare.Preview limit reached

Share Workflow

Shares support workflow features (task lists, todo items, and approvals) when enabled. Workflow requires the workflow billing plan feature.

Enable Workflow

POST /current/share/{share_id}/workflow/enable/

Enable workflow features on a share. Auth required. Admin only. Idempotent — returns success if already enabled.

Rate Limits: 1/3s, 5/10s, 20/60s, 100/hour (per share + user).

Response

Status: 200 OK

{
  "result": true,
  "response": {
    "message": "Workflow features enabled",
    "workflow": true
  },
  "current_api_version": "1.0"
}

Disable Workflow

POST /current/share/{share_id}/workflow/disable/

Disable workflow features on a share. Auth required. Admin only. Idempotent — returns success if already disabled.

Rate Limits: 1/3s, 5/10s, 20/60s, 100/hour (per share + user).

Response

Status: 200 OK

{
  "result": true,
  "response": {
    "message": "Workflow features disabled",
    "workflow": false
  },
  "current_api_version": "1.0"
}

List Task Lists

GET /current/share/{share_id}/tasks/

List all task lists for a share. Auth required. Workflow view permission required. Supports offset-based pagination (limit/offset). Supports format=markdown query parameter for markdown output.

Response

Status: 200 OK

{
  "result": true,
  "response": {
    "task_lists": [
      {
        "id": "aBcDeFgHiJ",
        "profile_id": "12345678901234567890",
        "name": "Sprint 1",
        "description": "First sprint tasks",
        "created_by": "98765432109876543210",
        "properties": {},
        "sort_order": 0,
        "created": "2026-01-15T10:30:00+00:00",
        "updated": "2026-01-15T10:30:00+00:00",
        "deleted": null
      }
    ],
    "pagination": {
      "limit": 50,
      "offset": 0,
      "total": 1
    }
  },
  "current_api_version": "1.0"
}

Create Task List

POST /current/share/{share_id}/tasks/create/

Create a new task list in a share. Auth required. Workflow modify permission required. Request body is JSON.

Request Body

FieldTypeRequiredDescription
namestringYesTask list name
descriptionstringNoTask list description
propertiesobjectNoCustom properties (default {})
sort_orderintegerNoSort position (default 0)

Request Example

curl -X POST "https://api.fast.io/current/share/12345678901234567890/tasks/create/" \
  -H "Authorization: Bearer {jwt_token}" \
  -H "Content-Type: application/json" \
  -d '{"name": "Sprint 1", "description": "First sprint tasks"}'

Response

Status: 200 OK

{
  "result": true,
  "response": {
    "task_list": {
      "id": "aBcDeFgHiJ",
      "profile_id": "12345678901234567890",
      "name": "Sprint 1",
      "description": "First sprint tasks",
      "created_by": "98765432109876543210",
      "properties": {},
      "sort_order": 0,
      "created": "2026-01-15T10:30:00+00:00",
      "updated": "2026-01-15T10:30:00+00:00",
      "deleted": null
    }
  },
  "current_api_version": "1.0"
}

Error Responses

HTTP StatusCodeMessageCause
400APP_ERROR_INPUT_INVALIDInvalid task list nameName fails validation
400APP_ERROR_INPUT_INVALIDInvalid descriptionDescription fails validation
400APP_ERROR_INPUT_INVALIDInvalid JSON in request bodyMalformed JSON body

Reorder Task Lists

POST /current/share/{share_id}/tasks/reorder/

Bulk reorder task lists within a share. Auth required. Workflow modify permission required. Request body is JSON. Prevents concurrent reordering.

Request Body

FieldTypeRequiredDescription
orderarrayYesNon-empty array of {id, sort_order} objects

Each entry in order:

FieldTypeRequiredDescription
idstringYesTask list opaque ID
sort_orderintegerYesNew sort position

Request Example

curl -X POST "https://api.fast.io/current/share/12345678901234567890/tasks/reorder/" \
  -H "Authorization: Bearer {jwt_token}" \
  -H "Content-Type: application/json" \
  -d '{"order": [{"id": "aBcDeFgHiJ", "sort_order": 0}, {"id": "kLmNoPqRsT", "sort_order": 1}]}'

Response

Status: 200 OK

{
  "result": true,
  "response": {
    "reordered": 2,
    "profile_id": "12345678901234567890"
  },
  "current_api_version": "1.0"
}

Error Responses

HTTP StatusCodeMessageCause
400APP_ERROR_INPUT_INVALIDorder must be a non-empty array of {id, sort_order}...Missing or empty order array
400APP_ERROR_INPUT_INVALIDEach order entry must have id and sort_order fields...Malformed entry
400APP_ERROR_INPUT_INVALIDTask list ID ... does not belong to this shareID not owned by this share

List Todo Items

GET /current/share/{share_id}/todos/

List all todo items for a share. Auth required. Workflow view permission required. Supports offset-based pagination (limit/offset). Supports format=markdown query parameter for markdown output.

Response

Status: 200 OK

{
  "result": true,
  "response": {
    "todos": [
      {
        "id": "aBcDeFgHiJ",
        "profile_id": "12345678901234567890",
        "title": "Review document",
        "done": 0,
        "assignee_id": "98765432109876543210",
        "sort_order": 0,
        "created_by": "98765432109876543210",
        "properties": null,
        "created": "2026-01-15T10:30:00+00:00",
        "updated": "2026-01-15T10:30:00+00:00",
        "deleted": null
      }
    ],
    "pagination": {
      "limit": 50,
      "offset": 0,
      "total": 1
    }
  },
  "current_api_version": "1.0"
}

Create Todo Item

POST /current/share/{share_id}/todos/create/

Create a new todo item in a share. Auth required. Workflow modify permission required. Request body is JSON.

Request Body

FieldTypeRequiredDescription
titlestringYesTodo item title
assignee_idstringNo20-digit numeric user ID to assign
sort_orderintegerNoSort position (default 0)
propertiesobjectNoCustom properties

Request Example

curl -X POST "https://api.fast.io/current/share/12345678901234567890/todos/create/" \
  -H "Authorization: Bearer {jwt_token}" \
  -H "Content-Type: application/json" \
  -d '{"title": "Review document", "assignee_id": "98765432109876543210"}'

Response

Status: 200 OK

{
  "result": true,
  "response": {
    "todo": {
      "id": "aBcDeFgHiJ",
      "profile_id": "12345678901234567890",
      "title": "Review document",
      "done": 0,
      "assignee_id": "98765432109876543210",
      "sort_order": 0,
      "created_by": "98765432109876543210",
      "properties": null,
      "created": "2026-01-15T10:30:00+00:00",
      "updated": "2026-01-15T10:30:00+00:00",
      "deleted": null
    }
  },
  "current_api_version": "1.0"
}

Error Responses

HTTP StatusCodeMessageCause
400APP_ERROR_INPUT_INVALIDInvalid titleTitle fails validation
400APP_ERROR_INPUT_INVALIDInvalid assignee ID formatBad assignee ID
400APP_ERROR_INPUT_INVALIDInvalid JSON in request bodyMalformed JSON body

Bulk Toggle Todos

POST /current/share/{share_id}/todos/bulk-toggle/

Bulk toggle the done status for multiple todo items. Auth required. Workflow modify permission required. Request body is JSON.

Request Body

FieldTypeRequiredDescription
todo_idsarrayYesNon-empty array of todo item opaque IDs
donebooleanYestrue to mark done, false to unmark

Request Example

curl -X POST "https://api.fast.io/current/share/12345678901234567890/todos/bulk-toggle/" \
  -H "Authorization: Bearer {jwt_token}" \
  -H "Content-Type: application/json" \
  -d '{"todo_ids": ["aBcDeFgHiJ", "kLmNoPqRsT"], "done": true}'

Response

Status: 200 OK

{
  "result": true,
  "response": {
    "toggled": 2,
    "done": true
  },
  "current_api_version": "1.0"
}

Error Responses

HTTP StatusCodeMessageCause
400APP_ERROR_INPUT_INVALIDtodo_ids must be a non-empty arrayMissing or empty todo_ids
400APP_ERROR_INPUT_INVALIDdone field is required (true or false)Missing done field
400APP_ERROR_INPUT_INVALIDInvalid todo ID format: ...Malformed opaque ID

List Approvals

GET /current/share/{share_id}/approvals/

List approvals for a share, with optional status filter. Auth required. Workflow view permission required. Supports offset-based pagination (limit/offset). Supports format=markdown query parameter for markdown output.

Query Parameters

ParameterTypeRequiredDescription
statusstringNoFilter by status: pending, approved, rejected
limitintegerNoNumber of results to return
offsetintegerNoNumber of results to skip
formatstringNoSet to markdown for markdown output

Response

Status: 200 OK

{
  "result": true,
  "response": {
    "approvals": [
      {
        "id": "aBcDeFgHiJ",
        "entity_type": "task",
        "entity_id": "kLmNoPqRsT",
        "profile_id": "12345678901234567890",
        "requested_by": "98765432109876543210",
        "description": "Please review this task",
        "status": "pending",
        "approver_id": "11223344556677889900",
        "resolved_by": null,
        "resolved_at": null,
        "comment": null,
        "deadline": "2026-02-01T00:00:00+00:00",
        "node_id": null,
        "properties": {},
        "created": "2026-01-15T10:30:00+00:00",
        "updated": "2026-01-15T10:30:00+00:00"
      }
    ],
    "pagination": {
      "limit": 50,
      "offset": 0,
      "total": 1
    }
  },
  "current_api_version": "1.0"
}

Response Fields

FieldTypeDescription
approvals[].idstringApproval opaque ID
approvals[].entity_typestringEntity type: task, node, worklog_entry
approvals[].entity_idstringOpaque ID of the entity being approved
approvals[].profile_idstring20-digit share profile ID
approvals[].requested_bystring20-digit user ID of requester
approvals[].descriptionstring|nullDescription of the approval request
approvals[].statusstringpending, approved, or rejected
approvals[].approver_idstring|null20-digit user ID designated to approve
approvals[].resolved_bystring|null20-digit user ID who resolved the approval
approvals[].resolved_atstring|nullISO 8601 resolution timestamp
approvals[].commentstring|nullResolution comment
approvals[].deadlinestring|nullISO 8601 approval deadline
approvals[].node_idstring|nullAssociated storage node opaque ID
approvals[].propertiesobject|nullCustom properties
approvals[].createdstringISO 8601 creation timestamp
approvals[].updatedstringISO 8601 last-updated timestamp

Error Responses

HTTP StatusCodeMessageCause
400APP_ERROR_INPUT_INVALIDInvalid status filter. Valid values: pending, approved, rejectedBad status query param
403Workflow features are only available to share members...Lacks workflow permission

Workflow Error Responses (Shared)

All workflow endpoints (tasks, todos, approvals, enable/disable) share these common errors:

HTTP StatusCodeMessageCause
403144499You do not have permissions to access this share.Lacks admin permission (enable/disable)
403Workflow features are only available to share members...Lacks workflow view/modify permission
412APP_FEATURE_LIMITWorkflow feature not availableBilling plan does not include workflow

Share Storage

Share storage follows the same API patterns as workspace storage. See Storage reference for full endpoint documentation.

Replace /workspace/{workspace_id} with /share/{share_id} in all storage paths. Available operations:

Not available in shares: addlink, createnote, updatenote, quickshare, transform/requestread

↑ Back to top