Skip to main content
The CLI wrapper is slideless invite.

Endpoint

POST https://europe-west1-slideless-ai.cloudfunctions.net/inviteCollaborator

Authentication

Authorization: Bearer <key> — owner only.

Request body

FieldTypeRequiredNotes
presentationIdstringyesPresentation to invite into.
emailstringyesInvitee’s email (lowercased server-side).
messagestringnoPersonal message in the invite email.

Response

{
  "success": true,
  "data": {
    "collaboratorId": "01H...",
    "email": "alice@example.com",
    "status": "pending",            // or "active" if user already exists
    "userId": null,
    "inviteAlreadyExisted": false
  }
}
  • active — the email maps to an existing Slideless user; access granted immediately.
  • pending — a row was stored; the onUserDocumentCreated trigger claims it on signup.

Errors

StatusCodeCause
400invalid-emailMalformed email
403permission-deniedNot the owner
404not-foundpresentationId unknown
429collaborator-limit-reachedHit the per-presentation cap (10 active+pending in v1)