# Flowg8 · Your organization

Resolve your organization after Flowg8 sign-in.

Use FLOWG8_ACCESS_TOKEN issued by your normal Flowg8 sign-in. Flowg8 manages authentication; no separate identity-provider setup is required. Invitations are matched to the verified user identity and join the existing organization, without creating a personal one. Empty requests reuse the active organization. To switch, send {organizationId} for an active membership returned by GET /v1/workspaces. Removing membership prevents access.

## POST /v1/workspace

Authentication: FLOWG8_ACCESS_TOKEN from Flowg8 sign-in
Required user permissions: Flowg8 sign-in required. The API checks current membership, roles, key scopes and resource permissions on every request. Documentation visibility grants no access.

## Request example (replace example IDs)

```sh
curl -X POST "https://api.flowg8.io/v1/workspace" \
  -H "authorization: Bearer $FLOWG8_ACCESS_TOKEN" \
  -H "content-type: application/json" \
  --data-raw '{}'
```

## Response excerpt

```json
{
  "organization": {
    "id": "10000000-0000-4000-8000-000000000001",
    "name": "My workspace"
  },
  "roles": [
    "admin",
    "requester"
  ]
}
```

Source: /docs/workspace
Full schemas: /docs/openapi.json
