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

# Get view

> Returns one saved view by ID. Returns 404 `VIEW_NOT_FOUND` for another user's private view.

> [!NOTE]
>
> **Required scope:** `CRM_READ`

Returns the view with this ID. See [the view object](https://help.withallo.com/en/v2/api-reference/crm/views-overview.md#the-view-object).

```json theme={null}
{
  "data": {
    "id": "cvw_2abc",
    "name": "Hot leads",
    "filters": [
      {
        "field": "company",
        "operator": "CONTAINS",
        "value": "Acme"
      }
    ],
    "sort": [
      {
        "field": "created_at",
        "order": "desc"
      }
    ],
    "owner_type": "USER",
    "user_id": "usr_2abc",
    "team_id": null,
    "created_at": "2026-10-23T10:00:00",
    "updated_at": "2026-10-23T10:00:00"
  }
}
```

## Errors

| Status | Code | When |
| - | - | - |
| `403` | `API_KEY_INSUFFICIENT_SCOPE` | The key does not hold `CRM_READ` |
| `404` | `VIEW_NOT_FOUND` | No view with this ID, or you cannot see it |


## OpenAPI

````yaml GET /v2/api/crm/views/{id}
openapi: 3.0.3
info:
  title: Allo API
  description: >-
    Allo API provides programmatic access to your Allo account, allowing you to
    manage webhooks, retrieve calls and contacts, and send SMS messages.


    All requests to `/v1/api/**` endpoints automatically go through quota
    checking and scope validation.
  version: 1.0.0
  contact:
    name: Allo Support
servers:
  - url: https://api.withallo.com
    description: Production server
security: []
tags:
  - name: Summary Templates
    description: >-
      Manage call summary templates that control how AI-generated call summaries
      are structured for your team.
  - name: Webhooks
    description: >-
      Manage webhook endpoints to receive real-time notifications about events
      in your Allo account. Each endpoint subscribes to one or more event topics
      and is verified with a signing secret.
  - name: Calls
    description: >-
      Retrieve and search call records with filtering and pagination. Filter
      calls by your Allo phone number.
  - name: Contacts
    description: >-
      Search and retrieve contact information with sorting and pagination.
      Includes engagement level tracking.
  - name: SMS
    description: Send SMS messages to phone numbers using your Allo numbers.
  - name: Phone Numbers
    description: Retrieve information about your Allo phone numbers.
  - name: Analytics
    description: Pre-computed call metrics, team performance, and outbound dial funnel
  - name: CRM
    description: Manage people, companies, and deals in your CRM.
  - name: Notes
    description: >-
      Internal team notes on conversations and CRM people, with @mention
      support. Notes are never visible to the contact.
  - name: Threads
    description: >-
      Team discussion threads attached to a conversation item (call, SMS, or
      conversation note). One thread per item.
  - name: AI Receptionist
    description: >-
      Read and write the AI receptionist configuration of a phone line: business
      details, voice, prompt, capabilities, business hours, transfer rules,
      scheduling calendars and knowledge sources.
paths:
  /v2/api/crm/views/{id}:
    get:
      tags:
        - CRM
      summary: Get contact view
      description: >-
        Returns one saved view by ID. Returns 404 `VIEW_NOT_FOUND` for another
        user's private view.
      operationId: getCrmView
      parameters:
        - name: id
          in: path
          required: true
          description: Public ID of the view, as returned by the list endpoint
          schema:
            type: string
            example: cvw_2abc
      responses:
        '200':
          description: The view
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/CrmView'
              example:
                data:
                  id: cvw_2abc
                  name: Hot leads
                  filters:
                    - field: company
                      operator: CONTAINS
                      value: Acme
                  sort:
                    - field: created_at
                      order: desc
                  owner_type: USER
                  user_id: usr_2abc
                  team_id: null
                  created_at: '2026-10-23T10:00:00'
                  updated_at: '2026-10-23T10:00:00'
        '401':
          $ref: '#/components/responses/ApiUnauthorized'
        '403':
          $ref: '#/components/responses/ApiForbidden'
        '404':
          $ref: '#/components/responses/ApiNotFound'
        '429':
          $ref: '#/components/responses/ApiRateLimited'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    CrmView:
      type: object
      description: >-
        A saved view: a named filter and sort over people. Views created in the
        Allo app and with the API are the same objects.
      properties:
        id:
          type: string
          description: Public ID of the view
          example: cvw_2abc
        name:
          type: string
          example: Hot leads
        filters:
          type: array
          items:
            $ref: '#/components/schemas/CrmViewFilter'
        sort:
          type: array
          items:
            $ref: '#/components/schemas/CrmViewSort'
        owner_type:
          type: string
          enum:
            - USER
            - TEAM
          description: >-
            `USER` is private to the API key's user. `TEAM` is shared with the
            user's team.
          example: USER
        user_id:
          type: string
          nullable: true
          description: ID of the user who owns a `USER` view
          example: usr_2abc
        team_id:
          type: string
          nullable: true
          description: ID of the team a `TEAM` view belongs to
        created_at:
          type: string
          example: '2026-10-23T10:00:00'
        updated_at:
          type: string
          example: '2026-10-23T10:00:00'
    CrmViewFilter:
      type: object
      required:
        - field
        - operator
        - value
      description: One condition of a view. All conditions of a view are combined with AND.
      properties:
        field:
          type: string
          description: >-
            A built-in person field (`name`, `company`, `job_title`, `emails`,
            `phone_numbers`, `website`, `addresses`, `created_at`, `updated_at`,
            `last_activity`, `activity_history`, `sms_content` (only when the
            team has SMS)) or the `key` of a custom field from `GET
            /v2/api/crm/attributes`. An unknown field returns 400
            `INVALID_FILTER_FIELD`
          example: company
        operator:
          type: string
          enum:
            - IS
            - IS_NOT
            - CONTAINS
            - NOT_CONTAINS
            - EMPTY
            - NOT_EMPTY
            - STARTS_WITH
            - ENDS_WITH
            - BEFORE
            - AFTER
            - DATE_EQUALS
            - GREATER_THAN
            - GREATER_THAN_OR_EQUAL
            - LESS_THAN
            - LESS_THAN_OR_EQUAL
            - HAS
          description: >-
            Comparison operator. It must match the type of the field, otherwise
            the request returns 400 `INVALID_FILTER_OPERATOR`
          example: CONTAINS
        value:
          type: string
          description: >-
            Value to compare to. It must be readable for the type of the field,
            otherwise the request returns 400 `INVALID_FILTER_VALUE`: numeric
            for a number field, an ISO 8601 date such as `2026-01-31` or
            date-time such as `2026-01-31T00:00:00Z` for a date field. Ignored
            for `EMPTY` and `NOT_EMPTY`
          example: Acme
    CrmViewSort:
      type: object
      required:
        - field
        - order
      properties:
        field:
          type: string
          description: >-
            A sortable built-in person field (`name`, `company`, `job_title`,
            `website`, `created_at`, `updated_at`, `last_activity`) or the `key`
            of a sortable custom field from `GET /v2/api/crm/attributes`
          example: created_at
        order:
          type: string
          enum:
            - asc
            - desc
          example: desc
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
            code:
              type: string
            message:
              type: string
            retryable:
              type: boolean
            request_id:
              type: string
            retry_after_seconds:
              type: integer
              nullable: true
  responses:
    ApiUnauthorized:
      description: Invalid or missing API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    ApiForbidden:
      description: API key lacks the required scope or access to the resource
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    ApiNotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    ApiRateLimited:
      description: Rate limit exceeded
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization

````

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