# Get navigation sections

Source: https://business-api-docs.youhodler.com/docs/api/reference/me/me-navigation

Returns UI-friendly section visibility based on the caller's capabilities. The frontend uses this to build the sidebar without embedding an RBAC matrix. Optional `?scope=` narrows the context to a specific topology node.

## Request

**Request URL — GET**
```http
GET /me/navigation
```

## Responses

**200 Operation succeeded**

Operation succeeded.

```json
{
  "context": "enterprises/b8e2f1a0-4c3d-4e5f-9a1b-2c3d4e5f6a7b",
  "sections": [
    {
      "section": "wallet_balances",
      "visibility": "enabled"
    },
    {
      "section": "treasury",
      "visibility": "enabled"
    },
    {
      "section": "transactions",
      "visibility": "read_only"
    },
    {
      "section": "end_clients",
      "visibility": "hidden"
    },
    {
      "section": "access_control",
      "visibility": "hidden"
    },
    {
      "section": "integrations",
      "visibility": "hidden"
    }
  ],
  "subject": "b8e2f1a0-4c3d-4e5f-9a1b-2c3d4e5f6a7b"
}
```

**400 Invalid request payload**

Invalid request payload, query, or parameter shape.

```json
{
  "code": "invalid_request",
  "message": "scope must be a valid TopologyRef (e.g. enterprises/<uuid>)"
}
```

**401 Caller is not authenticated or the bearer token is invalid**

Caller is not authenticated or the bearer token is invalid.

```json
{
  "code": "unauthorized",
  "message": "Authentication required."
}
```

**403 Caller lacks the required capability or permitted scope**

Caller lacks the required capability or permitted scope.

```json
{
  "code": "forbidden_capability_scope",
  "details": {
    "reason": "scope_not_covered"
  },
  "message": "requested navigation scope is outside granted authority"
}
```

**429 Request rate limit exceeded**

Request rate limit exceeded. Retry after the delay indicated in the `details.retry_after_ms` field.

```json
{
  "code": "rate_limited",
  "details": {
    "retry_after_ms": 5000
  },
  "message": "Too many requests."
}
```

**502 Upstream service returned an unexpected error**

Upstream service returned an unexpected error.

```json
{
  "code": "upstream_error",
  "message": "An upstream service returned an unexpected error."
}
```

**503 Service is temporarily unavailable**

Service is temporarily unavailable; retry with backoff.

```json
{
  "code": "temporarily_unavailable",
  "details": {
    "reason": "service_temporarily_unavailable"
  },
  "message": "Service is temporarily unavailable."
}
```
