Hatch

A workspace’s rules, email domains and vaults. Members only; admins also see the records to add.

On this page

GET/api/workspaces/{workspace}

Authorization

  • session: Authorization: Bearer <token>. The session token from signing in (or the session cookie in a browser on the same origin).

Path parameters

  • workspace string (required)

Response

200: It worked

  • workspace Workspace (required)

    • id string (required): At most 300 characters
    • name string (required): At most 300 characters
    • role "owner" | "admin" | "member" | "viewer" (required)
    • settings WorkspaceSettings (required)

      • requireTwoStep boolean (required): Members need two-step sign-in to open its vaults
      • insideOnly boolean (required): Vaults and the workspace can only be shared with its verified email domains
      • activityDays integer (required): Days its activity is kept
    • domains array<WorkspaceDomain> (required)

      • domain string: At most 300 characters
      • verified boolean
      • record object
    • vaults array<object> (required)

      • id string: At most 300 characters
      • name string: At most 300 characters
      • owner string: At most 300 characters

Other answers:

  • 4XX: Refused, with a message to show the person