• Compare
  • Documentation
  • Pricing
  • Agents
Sign InStart free

The outbound integration layer for SaaS products: emit once, then let Meshes handle routing, retries, fan-out, and delivery history.

  • Terms of Service
  • Privacy Policy
  • Acceptable Use Policy
  • Cookie Policy

© Copyright 2026 Meshes, Inc. All Rights Reserved.

  • Getting Started
    • What is Meshes?
    • Core Concepts
    • Quickstart
    • API Overview
  • AI Tools
    • Cursor Rules
    • MCP Server
    • LLMs Docs
  • API Documentation
    • API Reference
    • Authentication
    • Results
    • Rate Limiting
    • SDKs
    • Integrations & Rules
  • Events
    • Publishable Keys
    • Send Events
    • Bulk Event Ingestion
  • Embed & Sessions
    • Quickstart
    • Session API Overview
    • Launch URL and Iframe Bootstrap
    • Iframe Message Contract
    • Session Roles and Scopes
    • Workspace Pages Available in Embed
    • Session Refresh Lifecycle
    • Iframe Sizing and Resize Handling
    • OAuth and Connection Setup Behavior
    • Security Model
    • Troubleshooting
  • Integrations
    • HubSpot
    • Intercom
    • Slack
    • Salesforce
    • Zoom

Session Roles and Scopes

Choose the right session role and scope when you mint a Meshes embed session.

Meshes embed behavior is driven by the role and scopes you send to POST /api/v1/sessions.

Roles

Current session roles:

  • member
  • admin
  • owner

Use the lowest role that still supports the embedded workflow you want to expose.

Typical guidance:

  • member: lowest-privilege embed access
  • admin: general operational embed access
  • owner: highest-privilege workspace embed access

Scopes

Some capabilities are intentionally controlled by explicit scopes rather than role alone.

Current scope:

  • events.payload:read

Grant this only when the embedded experience should be able to view event payloads.

Current payload rule

To view sensitive event payloads in embed, the session currently needs:

  • admin or owner
  • the events.payload:read scope

Related docs

  • Workspace Pages Available in Embed
  • Security Model
  1. Roles
    1. Scopes
    2. Current payload rule
    3. Related docs