Skip to main content
For most use cases, the slideless CLI is easier than calling this endpoint directly. The CLI command equivalent is slideless share-email <presentationId> --to <email>. End-to-end walkthrough: Send a presentation by email.

When to use

You already have a presentationId (from POST /commitPresentationVersion or slideless share) and you want to email it to one or more recipients. The endpoint:
  • Mints a unique named token per recipient by default (recipient email becomes the token name), so per-recipient open tracking comes for free via the existing accessCount / lastAccessedAt fields on each ShareToken.
  • Sends a branded email via Resend (from noreply@mail.slideless.ai).
  • Records every send in shared_presentations/{presentationId}/email_sends/{autoId} as an append-only audit trail.
To reuse a single token for every recipient (shared view count, one revoke kills all), pass tokenId.

Endpoint

Auth

Required scope: presentations:write. Organization keys must belong to the same org as the presentationId.

Request body

Example:

Response (200)

data.failed[] contains per-recipient failures inside an otherwise-200 response. The endpoint only returns a non-2xx status when a preflight condition fails (auth, not-found, too-many-recipients, …) — i.e. when no email could be attempted for any recipient.

Error responses

Every error response includes a nextAction string written for consumers (including agents) to act on programmatically.

Examples

curl

Node.js

See also