Meet the new Scripe, live on October 7.Register

API v1 · OAuth

workspace_unavailable

HTTPWhen
400The targeted workspace is not accessible to the consenting user.

Returned when:

  • A Scripe-Workspace-Id header (or MCP switch_workspace call) names a workspace the consenting user is not currently a member of — access follows live membership, so leaving a workspace revokes API reach within ~60 seconds.
  • The consent's pinned workspace itself is no longer accessible to the user.
  • On the REST API with an API key: a Scripe-Workspace-Id header that disagrees with the key's own workspace (keys are single-workspace).

Use GET /v1/workspaces (or the MCP list_workspaces tool) to see what the token can currently reach. See Workspaces § Multi-workspace access.