Menu

Spaces

1 endpoint in the Mattering Contracts API.

GET spaces/ User APIService tier

List spaces. derived from route

URL

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

Responses

200 bare JSON object (no envelope)

{
  "spaces": [
    {
      "id": "...",
      "uuid": "...",
      "name": "...",
      "slug": "...",
      "workspace_public_id": "..."
    }
  ]
}

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

Errors

StatusCode
401unauthorized

Example

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

Source: ContractsCore/internal_api.py (internal_api.list_spaces)

All Contracts resources
Start Free Explore our Products