Endpoints
DEVELOPER REFERENCE
List workspaces
GET /workspaces
List the personal workspace and organizations you belong to.
GET /api/v1/workspacesPermission: workspaces:read. Write endpoints also require a workspace role that permits changes. See authentication and errors.
Request
curl --request GET 'https://app.innflow.ai/api/v1/workspaces' \
--header "Authorization: Bearer $INNFLOW_API_KEY"Examples use placeholder IDs. Set INNFLOW_API_KEY in your shell and replace IDs with your own before sending a request.
Parameters
| Name | In | Required | Details |
|---|---|---|---|
X-Innflow-Workspace | header | No | Organization ID, or personal. Set explicitly; omission uses legacy user-owned resource scope. |
Response
HTTP 200 — Returns data as an array. Each entry has id, name, type and role; organization entries also include slug.
See OpenAPI download for the machine-readable request contract and errors for errors and retry behavior.