GET
spaces/
User APIService tier
List spaces. derived from route
URL
- User APIhttps://forms.mattering.io/api/user/v1/spaces/
- Service tierhttps://forms.mattering.io/api/internal/spaces/
Responses
200 bare JSON object (no envelope)
{
"spaces": [
{
"id": "...",
"uuid": "...",
"name": "...",
"slug": "..."
}
]
}
Field names come from the code; values are placeholders (... is a string, 0 a number, dates are ISO 8601).
Errors
| Status | Code |
|---|---|
| 401 | unauthorized |
Example
curl -X GET "https://forms.mattering.io/api/user/v1/spaces/" \ -H "Authorization: Bearer $MATTERING_API_KEY"
curl -X GET "https://forms.mattering.io/api/internal/spaces/" \ -H "X-Internal-Secret: $MATTERING_INTERNAL_API_SECRET" \ -H "X-Internal-Org-Id: $ORG_ID" \ -H "X-Internal-User-Email: you@example.com"
Source: FormsCore/internal_api.py (internal_api.list_spaces)