Rooms, shared files and personal access links
If you run a Parivox room and present it on your own site, with the embed script /embed/permanent-room.js and its <nexus-permanent-room> element, your backend can offer the room’s material and a personalized entry without sending visitors to Parivox.
Shared files
Section titled “Shared files”Needs the files:read scope.
GET /api/v1/rooms/{slug}/shared-files lists the files in the room’s Shared Files that are visible to people. Files marked for the agent only are never listed. Each file has a stable fileId, and GET /api/v1/rooms/{slug}/shared-files/{fileId}/content streams it.
- Proxy downloads through your backend: the key must stay server-side.
- Pages may hold fewer than
limitentries. Keep reading whilenextCursoris present. - If a download stream ends with an error rather than completing, discard the partial file.
Personal access links
Section titled “Personal access links”Needs the access-links:use scope.
The room owner creates a named link for each person in Parivox (for example, one per investor) and sends it themselves. When the room’s links are configured to point at your page, each visitor arrives at https://your-site.example/?a=<link>. Your backend then:
- Verifies the link.
POST /api/v1/rooms/{slug}/access-links/verifywith{ "accessLink": "<link>" }returns{ accessLink: { accessLinkId, name, email, org?, expiresAt? } }, or404if the link is unknown, revoked or expired. Each verify counts as a visit in the owner’s activity view, so call it once per page view. Keep the link in your own HTTP-only session cookie and remove it from the URL. - Signs the visitor into the embedded room.
POST /api/v1/rooms/{slug}/frame-ticketswith{ "accessLink": "<link>", "parentOrigin": "https://your-site.example" }returns{ ticket, expiresAt }. Render<nexus-permanent-room room-slug="…" access-ticket="<ticket>">. A ticket is single use, valid for 60 seconds, and works only in a frame onparentOrigin, which must be one of the room’s allowed embedding origins. Mint a new one for every page load. - Attributes downloads. Send
X-Parivox-Access-Link: <link>on…/contentrequests, so the owner sees who downloaded what. A revoked link is refused with404. If you assemble a “download all” archive yourself, report it withPOST /api/v1/rooms/{slug}/access-links/eventsand{ "accessLink": "<link>", "type": "zip_downloaded" }.
Inside the room, the visitor appears under the name the owner gave the link, and the room’s agent is told who it’s speaking with. Revoking or regenerating a link in Parivox ends the visitor’s access everywhere, including an open embed.