--- title: Get the sharing url of the file description: GET /nd/api/share/shareurl: Get the file sharing url interface description, including path, method, parameters and return information. slug: api-get-nd-api-share-shareurl lang: en category: Sharing API category_order: 8 order: 126 api_method: GET api_path: /nd/api/share/shareurl api_label: Get the sharing url of the file keywords: - API - Get the sharing url of the file - /nd/api/share/shareurl --- # Get the sharing url of the file | Properties | Values | | --- | --- | | HTTP methods | `GET` | | Interface path | `/nd/api/share/shareurl` | | Category | Share API | ## Interface description Interface path: `/nd/api/share/shareurl` HTTP method: `GET` **HTTP method:** `GET` Get the sharing link of the file (open the sharing first, and then get the link) #### URL parameters Parameter name Comment (description) file_id file id string is_https Whether the returned share_url protocol is https 0 means http, 1 means https, default 0 number #### Return field description {"code":0,"url":"https://private.babel.cc/share.do?s=http://private.babel.cc/share.do?s=MjY2OTYzNTk3OTU2NzEzOTtXZWQgSnVsIDAxIDIwMj AgMTg6MzM6NTAgR01UKzA4MDAgKEhvbmcgS29uZyBTdGFuZGFyZCBUaW1lKQ%3D%3D","success":true} ## Call instructions - Before calling, you need to complete [Get token](api-post-api-token-do.md) or the corresponding login-free authentication, and carry `Authorization: Bearer ` in the request header. - If there are differences in parameters and return fields due to deployment versions, the actual private cloud API documents and joint debugging results should prevail. - Category: Sharing API.