Links
Create a new document link
Create a new link for a document for the authenticated workspace.
POST
/
links
/
document
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
documentId
string
ID of the document
workspace
string
Workspace URL
domain
string
The domain under which the link will be created
key
string
The key to be used for the link
Response
200 - application/json
id
string
The ID of the created link
documentId
string
The document ID linked to the workspace
projectId
string
The ID of the workspace associated with the link
domain
string
The domain for the link
key
string
The key for the link
usage
object
_count
object
views
object[]