LangChain Support
Back to Self Hosted

How do I add existing organization members to new workspaces programmatically via API?

Self Hosted·1 min read·Nov 4, 2025··

Context

When using the LangSmith API in a self-hosted environment, you may encounter issues when trying to add existing organization members to new workspaces programmatically. The API call may fail even when using the correct endpoint and authentication headers.

Answer

To enable adding existing organization members to workspaces via API, you need to enable a specific configuration flag in your Helm configuration.

Steps to resolve:

  1. Enable the workspaceScopeOrgInvitesEnabled flag in your Helm configuration

  2. Apply the configuration changes to your deployment

  3. Test the API call again using the workspace members endpoint

Once this flag is enabled, you should be able to successfully add existing organization members to workspaces using the API endpoint:

POST /api/v1/workspaces/current/members

For more detailed information about user management in self-hosted environments, refer to the LangSmith Self-Host User Management documentation.