API referenceDocuments
Share a document with a client
Needs a token with the write:documents scope. Authentication
Try in Playground sends a real request to app.helvetly.com with a token you paste. It stays in this browser tab only (session storage) and goes to no one else.
POST
Makes a live document visible to a client in the client portal (the client must be able to sign in to the portal). Answers 204; sharing again is a no-op. 404 for an unknown or deleted document or client.
bearerAuthheader
AuthorizationBearer <token>A personal API token, hvt_…, with scopes such as read:* or write:invoices
id*stringThe document's id.
application/json- body
client_id*stringA client of the workspace.
Shared.
curl -X POST 'https://app.helvetly.com/api/v1/documents/string/shares' \ -H 'Content-Type: application/json' \ -d '{ "client_id": "cli_01JABCDEF"}'Example Response
Empty