---
updatedAt: 2026-09-30T09:44:43.000Z
agentTools:
  projectIndex: https://open-api-docs.guesty.com/llms.txt
---

# Get a saved view

Retrieve a single saved view by its ID. Guesty's predefined views are available to any caller; a view belonging to another account returns 403, and an unknown ID returns 404. Use `fields` to limit the properties returned.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "GUESTY OPEN API",
    "description": "Guesty Open API documentation",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://open-api.guesty.com/v1"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "Views"
    }
  ],
  "paths": {
    "/views/{id}": {
      "get": {
        "tags": [
          "Views"
        ],
        "operationId": "accountsViewGet",
        "summary": "Get a saved view",
        "description": "Retrieve a single saved view by its ID. Guesty's predefined views are available to any caller; a view belonging to another account returns 403, and an unknown ID returns 404. Use `fields` to limit the properties returned.",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "description": "View ID",
            "required": true,
            "example": "5fa02fa358d2db673e17bc2d",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "fields",
            "description": "Selection of fields, separated by space",
            "required": false,
            "example": "title address",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "View object",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_id": {
                      "type": "string",
                      "description": "Unique id"
                    },
                    "accountId": {
                      "type": "string",
                      "description": "Id of the user owning this view"
                    },
                    "title": {
                      "type": "string",
                      "description": "Title for the view"
                    },
                    "filters": {
                      "type": "array",
                      "description": "Filters applied by this view.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string",
                            "description": "Subject of the filter"
                          },
                          "operator": {
                            "type": "string",
                            "description": "Enhanced comparison operator: $eq, $not, $contains, $notcontains, $gt, $lt, $between"
                          },
                          "value": {
                            "type": "string",
                            "description": "Value to filter by."
                          },
                          "context": {
                            "type": "string",
                            "default": null,
                            "description": "Optional preprocessing. Options are `now`, `createdAt`, `confirmedAt`, `canceledAt`, and `alteredAt`. When given, the date in value is relative to the context."
                          }
                        },
                        "required": [
                          "field",
                          "operator",
                          "value"
                        ]
                      }
                    },
                    "fields": {
                      "type": "string",
                      "description": "Selection of fields, separated by space"
                    },
                    "sort": {
                      "type": "string",
                      "description": "ascending sort, use '-' for descending sort"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time",
                      "description": "Timestamp when the view was created."
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time",
                      "description": "Timestamp when the view was last updated."
                    },
                    "scheduledEmails": {
                      "type": "array",
                      "description": "Scheduled email reports configured for this view.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "days": {
                            "type": "array",
                            "items": {
                              "type": "number",
                              "format": "int32",
                              "minimum": 0,
                              "maximum": 6
                            },
                            "description": "Array of numbers 0-6, representing days of the week, where 0 is Sunday and 6 is Saturday",
                            "example": [
                              4
                            ]
                          },
                          "recipient": {
                            "type": "string",
                            "description": "Emails separated by comma"
                          },
                          "hour": {
                            "type": "number",
                            "format": "int32",
                            "description": "when the report should be sent. E.g, 14 (send at 2pm)",
                            "example": 14
                          }
                        },
                        "required": [
                          "hour"
                        ]
                      }
                    },
                    "shares": {
                      "type": "array",
                      "description": "Contacts this view is shared with.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "contactId": {
                            "type": "string",
                            "description": "Required Contact ID to share with",
                            "example": "5926bdfb1bfe871000d0a745"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "apiKey",
        "name": "authorization",
        "in": "header"
      }
    }
  },
  "x-kong-upstream-prefix": "/integrations/brands",
  "x-kong-route-transformations": [
    {
      "configuration": "v1",
      "routeExtpath": "/account-brands",
      "stripPrefix": "/v1/account-brands"
    }
  ]
}
```