Skip to main content
POST
Attach Existing Session Documents
Use this endpoint when documents already exist at workspace scope and you only want to link them to a session.

Request

Body Parameters

Response

200 OK when attachment succeeds.
422 Unprocessable Entity if one or more documents do not belong to the session workspace.

Authorizations

Authorization
string
header
required

Personal Access Token created from the Raydocs dashboard. Include in the Authorization header: Bearer <your_token> See API Keys for token creation and management.

Path Parameters

sessionId
string<uuid>
required

Body

application/json
document_ids
string<uuid>[]
required

Existing workspace document ids to attach

Response

Documents attached

data
object[]