> ## Documentation Index
> Fetch the complete documentation index at: https://docs.connie.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List views

> Returns the workspace's Inbox views in display order.



## OpenAPI

````yaml /openapi/inbox.yaml get /inbox-views
openapi: 3.1.0
info:
  title: Connie Inbox API
  version: 1.0.0
  description: >
    Endpoints the Connie web app uses for the Inbox: conversations, messages,
    drafts, labels, views, and the Calls and Meetings views. They authenticate
    with your signed-in browser session — see
    https://docs.connie.ai/api-reference/authentication. These are the app's own
    endpoints and can change when the app changes.
servers:
  - url: https://connie.ai/api
security:
  - sessionCookie: []
tags:
  - name: Conversations
    description: List, count, pin, star, assign and bulk-update conversations.
  - name: Messages
    description: Read messages, read state, reactions, stars, bookmarks and pins.
  - name: Sending
    description: >-
      Send new emails and chats, reply, search recipients and upload
      attachments.
  - name: Drafts
    description: Drafts saved in Connie and drafts stored in a connected mailbox.
  - name: Labels
    description: Workspace labels and the labels on each conversation.
  - name: Views
    description: Custom Inbox views.
  - name: Spam
    description: Mark conversations as spam or not spam.
  - name: Meetings and calls
    description: >-
      Recorded meetings and dialer calls shown in the Inbox, and their action
      items.
paths:
  /inbox-views:
    get:
      tags:
        - Views
      summary: List views
      description: Returns the workspace's Inbox views in display order.
      operationId: listInboxViews
      parameters:
        - name: workspaceId
          in: query
          required: true
          description: >-
            Your workspace ID. This endpoint has no fallback and returns 400
            without it.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Views.
          content:
            application/json:
              schema:
                type: object
                properties:
                  views:
                    type: array
                    items:
                      $ref: '#/components/schemas/InboxView'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
components:
  schemas:
    InboxView:
      type: object
      properties:
        id:
          type: string
          format: uuid
        workspace_id:
          type: string
          format: uuid
        created_by:
          type: string
          format: uuid
        name:
          type: string
        icon:
          type: string
        color:
          type:
            - string
            - 'null'
        filters:
          $ref: '#/components/schemas/ViewFilters'
        sort_order:
          type: integer
        is_system:
          type: boolean
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    ViewFilters:
      type: object
      additionalProperties: true
      properties:
        unread:
          type: boolean
        platforms:
          type: array
          items:
            type: string
        accountIds:
          type: array
          items:
            type: string
        tags:
          type: array
          items:
            type: string
        assignedTo:
          type: string
        dateRange:
          type: object
          properties:
            from:
              type: string
            to:
              type: string
        searchQuery:
          type: string
        rules: {}
        groupLogic:
          type: string
          enum:
            - AND
            - OR
    Error:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
  responses:
    BadRequest:
      description: Missing or invalid input.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: No valid session, or the session expired (`SESSION_EXPIRED`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: >-
        You're not a member of the workspace, or the account or conversation is
        restricted to other people.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    sessionCookie:
      type: apiKey
      in: header
      name: Cookie
      description: >-
        The full Cookie header copied from a signed-in connie.ai browser
        request. See the Authentication page.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.