Menu

User spaces

1 endpoint in the Mattering Productivity API.

GET user-spaces/ User APIService tier

Return spaces accessible to the acting user (same rules as internal_list_spaces).

This read is not paginated. It returns at most 8 rows and does not report a total, so a result of exactly 8 may be truncated.

URL

  • User APIhttps://productivity.mattering.io/api/user/v1/user-spaces/
  • Service tierhttps://productivity.mattering.io/api/internal/user-spaces/

Responses

200 bare JSON object (no envelope)

{
  "spaces": [
    {
      "public_id": "...",
      "name": "..."
    }
  ]
}

Field names come from the code; values are placeholders (... is a string, 0 a number, dates are ISO 8601).

Errors

StatusCode
400missing user id message
401missing_actor
401unauthorized
403forbidden

Example

curl -X GET "https://productivity.mattering.io/api/user/v1/user-spaces/" \
  -H "Authorization: Bearer $MATTERING_API_KEY"

Source: MatteringPMCore/internal_api.py (internal_api.internal_user_spaces)

All Productivity resources
Start Free Explore our Products