GET /api/admin/accounts/{sub}/cloud/documents/{id}
Developing
GET
/api/admin/accounts/{sub}/cloud/documents/{id}
GET /api/admin/accounts/:sub/cloud/documents/:id[?content=1]: one document the account owns, with its shares, pending invitations, audio render counts and search index presence. Documents owned by anyone else are 404 here (the unlock covers this account only). Never the text, the file or audio.Staff cookie session; permission cloud.read. First request also needs a reason to unlock the account/organisation for 15 minutes; content=1 has an additional owner/support and step-up gate.Source snapshot: admin/src/app/api/admin/accounts/[sub]/cloud/documents/[id]/route.ts. This reference describes the current working tree, not proof of deployment. The response service types and validators remain authoritative.
Request
Authorization
API Key
Add parameter in cookie
__Host-hwa_session
Example:
__Host-hwa_session: ********************
or
Path Params
Query Params
Header Params
Responses
🟢200
application/json
GET /api/admin/accounts/:sub/cloud/documents/:id[?content=1]: one document the account owns, with its shares, pending invitations, audio render counts and search index presence. Documents owned by anyone else are 404 here (the unlock covers this account only). Never the text, the file or audio.