API Recipes
Ready-to-use code samples for common Sigma API workflows. Click any recipe to view the code sample and instructions.
Get Access Token
This script retrieves a bearer token from the Sigma API using client credentials authentication.
View Recipe
List All Connections
This script lists all connections in alphabetically order by name.
View Recipe
Sync All Tables in Schema
This script automates the synchronization of tables within a specified schema (Snowflake).
View Recipe
Get Column Names by Page and Element
Retrieves column names for all elements across each page of a workbook.
View Recipe
Get Member Details
Retrieves detailed information about a specific member in your Sigma organization.
View Recipe
Member Onboarding
Automates new member creation, team assignment, and workspace folder setup.
View Recipe
Bulk Deactivate Members
This script deactivates and deletes all users found using a single parameter that can be configured as a wildcard.
View Recipe
Change Email Address
Updates a member's email address using the Sigma API.
View Recipe
Create New Member
Creates a new member in your Sigma organization with specified details.
View Recipe
List All Members
Lists all members in your Sigma organization with their details.
View Recipe
Recent Workbooks
Retrieves recently accessed workbooks for a specific member.
View Recipe
Update Member
Updates an existing member's properties such as name and account type.
View Recipe
Bulk Assign Members
Assigns multiple members to a team based on a name pattern.
View Recipe
Bulk Remove Members
Removes multiple members from a team based on a name pattern.
View Recipe
Bulk Sync Connection Paths
Syncs connection paths for multiple tenants, useful for multi-tenant embedded analytics.
View Recipe
Copy Workbook to My Documents
Copies a workbook to a specific member's My Documents folder.
View Recipe
Export to CSV with Date Range
Exports workbook data to CSV with date range parameters applied.
View Recipe
Export to PDF
This script triggers an export to PDF job and downloads the export once ready.
View Recipe
Initiate Materialization Job
Triggers a materialization job for a specified workbook element.
View Recipe
List All Workbooks
Lists all workbooks in your Sigma organization.
View Recipe
Pagination
Demonstrates how to paginate through large result sets from the Sigma API.
View Recipe
Reassign Ownership by Email
Reassigns workbook ownership from one member to another using email addresses.
View Recipe
Shared with Me
Lists all workbooks shared with the authenticated member.
View Recipe
List All Input Tables
Lists all input tables across all workbooks in your organization.
View Recipe
Update Owner
Updates the owner of one or more workbooks.
View Recipe

