Skip to content

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.

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 limit entries. Keep reading while nextCursor is present.
  • If a download stream ends with an error rather than completing, discard the partial file.

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:

  1. Verifies the link. POST /api/v1/rooms/{slug}/access-links/verify with { "accessLink": "<link>" } returns { accessLink: { accessLinkId, name, email, org?, expiresAt? } }, or 404 if 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.
  2. Signs the visitor into the embedded room. POST /api/v1/rooms/{slug}/frame-tickets with { "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 on parentOrigin, which must be one of the room’s allowed embedding origins. Mint a new one for every page load.
  3. Attributes downloads. Send X-Parivox-Access-Link: <link> on …/content requests, so the owner sees who downloaded what. A revoked link is refused with 404. If you assemble a “download all” archive yourself, report it with POST /api/v1/rooms/{slug}/access-links/events and { "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.