DATE:
AUTHOR:
Edwin Lim
API

2024.12.20 | Programmatic Workspace Actions & Terraform

DATE:
AUTHOR: Edwin Lim

Programmatic Workspace Actions

We’re thrilled to announce Programmatic Workspace Actions, a new API that enables you to manage Stytch workspaces and projects programmatically. No more manual Dashboard changes—modify your Stytch configurations and settings directly via the Management API or Go SDK

Programmatic Workspace Actions enable you to:

  • Create new Stytch auth projects

  • Configure SDK settings

  • Manage public tokens and secrets

  • Define RBAC policies

  • Set redirect URLs

  • Update email templates

  • And more

curl -s -X POST https://management.stytch.com/v1/project \
    -H "Content-Type: application/json" \ 
    -u "{WORKSPACE-MGMT-KEY-ID}:{WORKSPACE-MGMT-KEY-SECRET}" \
    -d '{"project_name": "New Stytch Project", "vertical": "B2B"}' 

Visit the Management API docs or the Go SDK.

Aside: Programmatic Workspace Actions were built with Stytch’s own M2M auth solution. We required a flexible system for scalable auth and secure access controls. At Stytch, we proudly rely on the same tools we build for our customers.

Terraform Support (open beta)

Building on the foundation of Programmatic Workspace Actions, we’ve also launched support for Terraform in open beta, empowering Infrastructure-as-Code (IaC) workflows. The Stytch Terraform Provider enables you to provision, manage, and automate Stytch projects with declarative code.

If you’re already using Programmatic Workspace Actions, take the next step with Terraform and explore the docs.

Where to find us

Stytch developer Slack

Join the discussion, ask questions, and suggest new features in our official Slack!

Get support

Check out the Stytch Forum or email us at support@stytch.com

Powered by LaunchNotes