API reference

Shares

Link access to a deck. A share mints a token URL; anyone with the link gets the deck's public surface. For person-level access with roles, use grants instead.

Related guides: Sharing & permissions

Attributes

  • idstringrequired
  • objectstringrequired
  • tokenstringrequired
  • deckstringrequired
  • modestringrequired

    Possible values: link, public

  • urlstringrequired
  • expires_attimestamprequired
  • revoked_attimestamprequired
  • created_attimestamprequired

List a deck's shares

GET/v1/shares

Lists the share tokens for a deck (newest first), including revoked ones.

Requires an API key (bearer), scoped to the active org.

Query parameters

  • deckstringrequired

Returns

  • 200The deck's shares.

Failures use the standard error envelope with a closed set of codes.

Share a deck

POST/v1/shares

Mints a share token for a deck and sets the deck's share mode. Anyone with the resulting link can view — no account needed. `link` mode is for review: viewers give a name, and comments and presence are on. `public` mode is a plain hosted deck: no comments, no presence, no name or passcode prompts.

Requires an API key (bearer), scoped to the active org. Supports idempotency keys.

Body parameters

  • deckstringrequired

    Deck id or external_id.

  • modestringoptional

    Possible values: link, public

  • expires_in_daysintegeroptional1–365

    Link stops resolving after this many days (Renza Pro).

  • passwordstringoptionalmax 72 chars

    Viewers must enter this passcode before the deck serves (Renza Pro). Stored hashed. Link-mode shares only — a public share never takes one.

Returns

  • 201The created share.

Failures use the standard error envelope with a closed set of codes.

Revoke a share

DELETE/v1/shares/{id}

Revokes a share token; its link 404s immediately. Other shares of the deck are unaffected.

Requires an API key (bearer), scoped to the active org. Supports idempotency keys.

Path parameters

  • idstringrequired

Returns

  • 200The revoked share.

Failures use the standard error envelope with a closed set of codes.

Resolve a share token (public)

GET/v1/public/shares/{token}

Public, unauthenticated: resolve a share token to public-safe deck info. Returns 404 for unknown/revoked/expired tokens (no oracle). The artifact itself is served only from the content origin.

Public — no authentication required.

Path parameters

  • tokenstringrequired

Returns

  • 200The resolved share.

Failures use the standard error envelope with a closed set of codes.