--- title: Share API description: Share the API's interface paths, methods, parameters, and return fields. slug: developer-api-sharing lang: en category: Sharing API category_order: 8 order: 4 hide_in_nav: true keywords: - API - Share API - Developer --- # Sharing APIs Supports public links and invitations by email or phone, including external recipients. Administrators can restrict external sharing. UI department invitations include descendants; this PDF only documents email/phone parameters for the invitation API, so do not invent a department parameter. ## Endpoints | Method | Endpoint | Path | | --- | --- | --- | | `GET` | [Get the list of users who can follow the file and mark the users who have followed the file](api-get-nd-api-file-user-can-focusfile.md) | `/nd/api/file/user_can_focusfile` | | `GET` | [Get the list of users following a file](api-get-nd-api-file-user-focusfile.md) | `/nd/api/file/user_focusfile` | | `GET` | [Get all sharing participants](api-get-nd-api-share-share-participants.md) | `/nd/api/share/share_participants` | | `GET` | [Get the sharing roles that the user has permission to set for a single file](api-get-nd-api-share-share-role-forfile.md) | `/nd/api/share/share_role_forfile` | | `GET` | [Get a list of shared permissions](api-get-nd-api-share-share-roles.md) | `/nd/api/share/share_roles` | | `GET` | [Get the sharing url of the file](api-get-nd-api-share-shareurl.md) | `/nd/api/share/shareurl` | | `POST` | [remind attention](api-post-nd-api-file-focus-file.md) | `/nd/api/file/focus_file` | | `POST` | [Delete sharing participants](api-post-nd-api-file-remove-share-participant.md) | `/nd/api/file/remove_share_participant` | | `POST` | [Remove someone from following](api-post-nd-api-file-unfocus-file.md) | `/nd/api/file/unfocus_file` | | `POST` | [Turn off link sharing](api-post-nd-api-share-close-link-share.md) | `/nd/api/share/close_link_share` | | `POST` | [Invite people to share](api-post-nd-api-share-invite-share.md) | `/nd/api/share/invite_share` | | `POST` | [Create link to share](api-post-nd-api-share-open-link-share.md) | `/nd/api/share/open_link_share` | | `POST` | [Set permission roles for sharing participants](api-post-nd-api-share-set-participant-role.md) | `/nd/api/share/set_participant_role` | | `POST` | [Set link sharing password](api-post-nd-api-share-set-share-password.md) | `/nd/api/share/set_share_password` | ## Integration Notes Based on the supplied Babel API reference. Preserve exact endpoint paths and field casing. Confirm unspecified or inconsistent field types during integration rather than assuming undocumented parameters. Use the deployment's HTTPS domain and keep credentials out of public pages. [API overview](developer-api-overview.md) ยท [MCP quick start](mcp-integration.md)