> ## Documentation Index
> Fetch the complete documentation index at: https://openphone-dev.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# List conversations

> Fetch a paginated list of conversations of Quo conversations. Can be filtered by user and/or phone numbers. Defaults to all conversations in the Quo organization. Results are returned in descending order based on the most recent conversation.



## OpenAPI

````yaml https://openphone-public-api-dev.s3.us-west-2.amazonaws.com/public/openphone-public-api-v1-dev.json get /v1/conversations
openapi: 3.1.0
info:
  title: Quo Public API
  version: 1.0.0
  description: API for connecting with Quo.
  contact:
    name: Quo Support
    email: support@quo.com
    url: https://support.quo.com/
  termsOfService: https://www.quo.com/terms
servers:
  - description: Development server
    url: https://dev-public-api.openphone.dev
security:
  - apiKey: []
tags:
  - description: Operations related to the organization's A2P registration
    name: A2P Registration
  - description: Operations related to calls placed by an AI agent
    name: Agent Calls
  - description: Operations related to text conversations held by an AI agent
    name: Agent Conversations
  - description: Operations related to calls
    name: Calls
  - description: >-
      Operations related to call summaries, including AI-generated summaries and
      Sona voice assistant summaries
    name: Call Summaries
  - description: >-
      Operations related to call transcripts, including AI-generated transcripts
      and Sona voice assistant transcripts
    name: Call Transcripts
  - description: Operations related to contacts
    name: Contacts
  - description: Operations related to contact shares
    name: Contact Shares
  - description: Operations related to contact notes
    name: Contact Notes
  - description: Operations related to contact properties
    name: Contact Properties
  - description: Operations related to conversations
    name: Conversations
  - description: Operations related to workspace invitations
    name: Invites
  - description: Operations related to text messages
    name: Messages
  - description: Operations related to the organization
    name: Organization
  - description: Operations related to phone numbers
    name: Phone Numbers
  - description: Operations related to users
    name: Users
  - description: Operations related to webhooks
    name: Webhooks
  - description: >-
      Operations related to webhook events, including delivery history and test
      events
    name: Webhook Events
paths:
  /v1/conversations:
    get:
      tags:
        - Conversations
      summary: List conversations
      description: >-
        Fetch a paginated list of conversations of Quo conversations. Can be
        filtered by user and/or phone numbers. Defaults to all conversations in
        the Quo organization. Results are returned in descending order based on
        the most recent conversation.
      operationId: listConversations_v1
      parameters:
        - in: query
          name: phoneNumber
          required: false
          schema:
            anyOf:
              - type: string
                description: A phone number in E.164 format, including the country code.
                examples:
                  - '+15555555555'
                pattern: ^\+[1-9]\d{1,14}$
              - type: string
                pattern: ^PN(.*)$
            description: >-
              DEPRECATED, use `phoneNumbers` instead. If both `phoneNumber` and
              `phoneNumbers` are provided, `phoneNumbers` will be used. Filters
              results to only include conversations with the specified Quo phone
              number. Can be either your Quo phone number ID or the full phone
              number in E.164 format.
            examples:
              - '+15555555555'
              - PN123abc
            deprecated: true
          example: '+15555555555'
        - in: query
          name: phoneNumbers
          required: false
          schema:
            type: array
            items:
              anyOf:
                - type: string
                  description: A phone number in E.164 format, including the country code.
                  examples:
                    - '+15555555555'
                  pattern: ^\+[1-9]\d{1,14}$
                - type: string
                  pattern: ^PN(.*)$
            description: >-
              Filters results to only include conversations with the specified
              Quo phone numbers. Each item can be either an Quo phone number ID
              or a full phone number in E.164 format.
            examples:
              - - '+15555555555'
                - PN123abc
            minItems: 1
            maxItems: 100
          example:
            - '+15555555555'
            - PN123abc
        - in: query
          name: userId
          required: false
          schema:
            description: >-
              The unique identifier of the user whose access scope is applied to
              the results. Scopes the response to conversations accessible to
              the specified user.
            examples:
              - US123abc
            type: string
            pattern: ^US(.*)$
          example: US123abc
        - in: query
          name: createdAfter
          required: false
          schema:
            description: >-
              Filter results to only include conversations created after the
              specified date and time, in ISO 8601 format.
            examples:
              - '2022-01-01T00:00:00Z'
            type: string
            format: date-time
          example: '2022-01-01T00:00:00Z'
        - in: query
          name: createdBefore
          required: false
          schema:
            description: >-
              Filter results to only include conversations created before the
              specified date and time, in ISO 8601 format.
            examples:
              - '2022-01-01T00:00:00Z'
            type: string
            format: date-time
          example: '2022-01-01T00:00:00Z'
        - in: query
          name: excludeInactive
          required: false
          schema:
            type: boolean
            description: Exclude inactive conversations from the results.
            examples:
              - true
          example: true
        - in: query
          name: updatedAfter
          required: false
          schema:
            description: >-
              Filter results to only include conversations updated after the
              specified date and time, in ISO 8601 format.
            examples:
              - '2022-01-01T00:00:00Z'
            type: string
            format: date-time
          example: '2022-01-01T00:00:00Z'
        - in: query
          name: updatedBefore
          required: false
          schema:
            description: >-
              Filter results to only include conversations updated before the
              specified date and time, in ISO 8601 format.
            examples:
              - '2022-01-01T00:00:00Z'
            type: string
            format: date-time
          example: '2022-01-01T00:00:00Z'
        - in: query
          name: maxResults
          required: true
          schema:
            type: integer
            description: Maximum number of results to return per page.
            default: 10
            maximum: 100
            minimum: 1
        - in: query
          name: pageToken
          required: false
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - totalItems
                  - nextPageToken
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      required:
                        - assignedTo
                        - createdAt
                        - deletedAt
                        - id
                        - lastActivityAt
                        - lastActivityId
                        - mutedUntil
                        - name
                        - participants
                        - phoneNumberId
                        - snoozedUntil
                        - updatedAt
                      properties:
                        assignedTo:
                          anyOf:
                            - anyOf:
                                - type: string
                                  pattern: ^US(.*)$
                                - type: string
                                  pattern: ^SYU(.*)$
                              description: >-
                                The unique identifier of the user or system user
                                the conversation is assigned to.
                              examples:
                                - US123abc
                                - SYU123abc
                              example: US123abc
                            - type: 'null'
                        createdAt:
                          anyOf:
                            - type: string
                              format: date-time
                            - type: 'null'
                        deletedAt:
                          anyOf:
                            - type: string
                              format: date-time
                            - type: 'null'
                        id:
                          description: The unique identifier of the conversation.
                          examples:
                            - CN123abc
                          example: CN123abc
                          type: string
                          pattern: ^CN(.*)$
                        lastActivityAt:
                          anyOf:
                            - type: string
                              format: date-time
                            - type: 'null'
                        lastActivityId:
                          anyOf:
                            - description: >-
                                The unique identifier of the most recent
                                activity in the conversation.
                              examples:
                                - AC123abc
                              example: AC123abc
                              type: string
                              pattern: ^AC(.*)$
                            - type: 'null'
                        mutedUntil:
                          anyOf:
                            - type: string
                              format: date-time
                            - type: 'null'
                        name:
                          anyOf:
                            - type: string
                              description: >-
                                The custom name of the conversation. Will be
                                null if no custom name is set.
                              examples:
                                - Chat with customer
                              example: Chat with customer
                            - type: 'null'
                        participants:
                          type: array
                          items:
                            type: string
                            description: >-
                              A phone number in E.164 format, a short code (5-6
                              digits, no country code), or a non-phone-number
                              caller ID (`Anonymous`, `Blocked`, or
                              `Restricted`).
                            examples:
                              - '+15555555555'
                              - '12345'
                              - Anonymous
                            pattern: >-
                              ^(?:\+[1-9]\d{1,14}|\d{5,6}|[aA](?:nonymous|NONYMOUS)|[bB](?:locked|LOCKED)|[rR](?:estricted|ESTRICTED))$
                            example: '+15555555555'
                          description: >-
                            An array of phone numbers involved in the call,
                            excluding your Quo number. Each number is either a
                            phone number in E.164 format, a short code (5-6
                            digits, no country code), or a non-phone-number
                            caller ID (`Anonymous`, `Blocked`, or `Restricted`).
                        phoneNumberId:
                          description: >-
                            The unique identifier of the Quo phone number
                            associated with the conversation.
                          examples:
                            - PN123abc
                          example: PN123abc
                          type: string
                          pattern: ^PN(.*)$
                        snoozedUntil:
                          anyOf:
                            - type: string
                              format: date-time
                            - type: 'null'
                        updatedAt:
                          anyOf:
                            - type: string
                              format: date-time
                            - type: 'null'
                    description: Array of items
                  totalItems:
                    type: integer
                    description: >-
                      Total number of items available. ⚠️ Note: `totalItems` is
                      not accurately returning the total number of items that
                      can be paginated. We are working on fixing this issue.
                  nextPageToken:
                    anyOf:
                      - type: string
                      - type: 'null'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                required:
                  - message
                  - code
                  - status
                  - docs
                  - title
                properties:
                  message:
                    type: string
                  code:
                    type: string
                    const: '1000400'
                  status:
                    type: number
                    const: 400
                  docs:
                    type: string
                    const: https://quo.com/docs
                  title:
                    type: string
                    const: Bad Request
                  trace:
                    type: string
                  errors:
                    type: array
                    items:
                      type: object
                      required:
                        - path
                        - message
                        - schema
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                        value: {}
                        schema:
                          type: object
                          required:
                            - type
                          properties:
                            type:
                              type: string
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                anyOf:
                  - type: object
                    required:
                      - error
                    properties:
                      error:
                        type: object
                        required:
                          - message
                          - key
                        properties:
                          message:
                            type: string
                          key:
                            type: string
                            const: Unauthorized
                          trace:
                            type: string
                  - type: object
                    required:
                      - message
                      - code
                      - status
                      - docs
                      - title
                    properties:
                      message:
                        type: string
                      code:
                        type: string
                        const: '1000401'
                      status:
                        type: number
                        const: 401
                      docs:
                        type: string
                        const: https://quo.com/docs
                      title:
                        type: string
                        const: Unauthorized
                      trace:
                        type: string
                      errors:
                        type: array
                        items:
                          type: object
                          required:
                            - path
                            - message
                            - schema
                          properties:
                            path:
                              type: string
                            message:
                              type: string
                            value: {}
                            schema:
                              type: object
                              required:
                                - type
                              properties:
                                type:
                                  type: string
        '403':
          description: Forbidden | Not Phone Number User
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/ForbiddenError3'
                  - $ref: '#/components/schemas/NotPhoneNumberUserError3'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                required:
                  - message
                  - code
                  - status
                  - docs
                  - title
                properties:
                  message:
                    type: string
                  code:
                    type: string
                    const: '1000404'
                  status:
                    type: number
                    const: 404
                  docs:
                    type: string
                    const: https://quo.com/docs
                  title:
                    type: string
                    const: Not Found
                  trace:
                    type: string
                  errors:
                    type: array
                    items:
                      type: object
                      required:
                        - path
                        - message
                        - schema
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                        value: {}
                        schema:
                          type: object
                          required:
                            - type
                          properties:
                            type:
                              type: string
        '500':
          description: Unexpected Error | Unknown Error
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/UnexpectedError8'
                  - $ref: '#/components/schemas/UnknownError8'
      security:
        - apiKey: []
components:
  schemas:
    ForbiddenError3:
      type: object
      required:
        - message
        - code
        - status
        - docs
        - title
      properties:
        message:
          type: string
        code:
          type: string
          const: '1000403'
        status:
          type: number
          const: 403
        docs:
          type: string
          const: https://quo.com/docs
        title:
          type: string
          const: Forbidden
        trace:
          type: string
        errors:
          type: array
          items:
            type: object
            required:
              - path
              - message
              - schema
            properties:
              path:
                type: string
              message:
                type: string
              value: {}
              schema:
                type: object
                required:
                  - type
                properties:
                  type:
                    type: string
      title: Forbidden
    NotPhoneNumberUserError3:
      type: object
      required:
        - message
        - code
        - status
        - docs
        - title
      properties:
        message:
          type: string
        code:
          type: string
          const: '1001403'
        status:
          type: number
          const: 403
        docs:
          type: string
          const: https://quo.com/docs
        title:
          type: string
          const: Not Phone Number User
        trace:
          type: string
        errors:
          type: array
          items:
            type: object
            required:
              - path
              - message
              - schema
            properties:
              path:
                type: string
              message:
                type: string
              value: {}
              schema:
                type: object
                required:
                  - type
                properties:
                  type:
                    type: string
      title: Not Phone Number User
    UnexpectedError8:
      type: object
      required:
        - message
        - code
        - status
        - docs
        - title
      properties:
        message:
          type: string
        code:
          type: string
          const: '1000500'
        status:
          type: number
          const: 500
        docs:
          type: string
          const: https://quo.com/docs
        title:
          type: string
          const: Unexpected
        trace:
          type: string
        errors:
          type: array
          items:
            type: object
            required:
              - path
              - message
              - schema
            properties:
              path:
                type: string
              message:
                type: string
              value: {}
              schema:
                type: object
                required:
                  - type
                properties:
                  type:
                    type: string
      title: Unexpected Error
    UnknownError8:
      type: object
      required:
        - message
        - code
        - status
        - docs
        - title
      properties:
        message:
          type: string
        code:
          type: string
          const: '1001500'
        status:
          type: number
          const: 500
        docs:
          type: string
          const: https://quo.com/docs
        title:
          type: string
          const: Unknown
        trace:
          type: string
        errors:
          type: array
          items:
            type: object
            required:
              - path
              - message
              - schema
            properties:
              path:
                type: string
              message:
                type: string
              value: {}
              schema:
                type: object
                required:
                  - type
                properties:
                  type:
                    type: string
      title: Unknown Error
  securitySchemes:
    apiKey:
      in: header
      name: Authorization
      type: apiKey

````