> ## 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 deals

> Get a list of deals.



## OpenAPI

````yaml https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-dev.json get /deals
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:
  /deals:
    get:
      tags:
        - Deals
      summary: List deals
      description: Get a list of deals.
      operationId: deals.list
      parameters:
        - in: query
          name: pipelineId
          required: false
          schema:
            anyOf:
              - description: Only return deals in this sales pipeline.
                examples:
                  - SPa1b2c3d4e5f6a1b2c3d4e5f6
                type: string
                pattern: ^SP(.*)$
              - type: 'null'
        - in: query
          name: statusId
          required: false
          schema:
            anyOf:
              - description: Only return deals with this status.
                examples:
                  - DSa1b2c3d4e5f6a1b2c3d4e5f6
                type: string
                pattern: ^DS(.*)$
              - type: 'null'
        - in: query
          name: stage
          required: false
          schema:
            anyOf:
              - description: Only return deals in this stage.
                examples:
                  - active
                anyOf:
                  - type: string
                    const: requests
                  - type: string
                    const: active
                  - type: string
                    const: won
                  - type: string
                    const: lost
                values:
                  - requests
                  - active
                  - won
                  - lost
              - type: 'null'
        - in: query
          name: contactIds
          required: false
          schema:
            anyOf:
              - description: Only return deals linked to this contact.
                examples:
                  - 6a145ff26212a192852c856e
                type: string
                pattern: ^(.*)$
              - type: 'null'
        - in: query
          name: ownerIds
          required: false
          schema:
            anyOf:
              - description: Only return deals owned by this user.
                examples:
                  - US123abc
                type: string
                pattern: ^US(.*)$
              - type: 'null'
        - in: query
          name: archived
          required: false
          schema:
            anyOf:
              - type: boolean
                description: >-
                  Return archived deals when true, active deals when false or
                  omitted.
                examples:
                  - false
              - type: 'null'
        - in: query
          name: limit
          required: false
          schema:
            type: integer
            description: Max number of items to return per page.
            default: 10
            maximum: 50
            minimum: 1
        - in: query
          name: after
          required: false
          schema:
            type: string
            examples:
              - eyJsYXN0SWQiOiJVU211a09NaXBhIn0
          example: eyJsYXN0SWQiOiJVU211a09NaXBhIn0
        - in: header
          name: Quo-Api-Version
          required: true
          schema:
            type: string
            enum:
              - '2026-03-30'
            description: 'API version header. Supported values: 2026-03-30'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - nextCursor
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      required:
                        - id
                        - pipelineId
                        - statusId
                        - stage
                        - contactIds
                        - ownerIds
                        - createdAt
                      properties:
                        id:
                          description: The ID of the deal.
                          examples:
                            - DLa1b2c3d4e5f6a1b2c3d4e5f6
                          example: DLa1b2c3d4e5f6a1b2c3d4e5f6
                          type: string
                          pattern: ^DL(.*)$
                        pipelineId:
                          description: The ID of the sales pipeline the deal belongs to.
                          examples:
                            - SPa1b2c3d4e5f6a1b2c3d4e5f6
                          example: SPa1b2c3d4e5f6a1b2c3d4e5f6
                          type: string
                          pattern: ^SP(.*)$
                        title:
                          anyOf:
                            - type: string
                              description: The title of the deal.
                              examples:
                                - Website redesign
                              example: Website redesign
                            - type: 'null'
                        statusId:
                          description: >-
                            The deal status id. List the available statuses and
                            their ids with GET
                            /sales-pipelines/{pipelineId}/statuses.
                          examples:
                            - DSa1b2c3d4e5f6a1b2c3d4e5f6
                          example: DSa1b2c3d4e5f6a1b2c3d4e5f6
                          type: string
                          pattern: ^DS(.*)$
                        stage:
                          description: The stage the deal status belongs to.
                          examples:
                            - active
                          example: active
                          anyOf:
                            - type: string
                              const: requests
                            - type: string
                              const: active
                            - type: string
                              const: won
                            - type: string
                              const: lost
                        value:
                          anyOf:
                            - type: object
                              required:
                                - amount
                                - currency
                              properties:
                                amount:
                                  type: integer
                                  description: >-
                                    The deal value in the minor units of the
                                    currency, such as cents for USD.
                                  examples:
                                    - 500000
                                  example: 500000
                                currency:
                                  type: string
                                  description: >-
                                    The ISO 4217 currency code of the deal
                                    value.
                                  examples:
                                    - USD
                                  example: USD
                            - type: 'null'
                        contactIds:
                          type: array
                          items:
                            type: string
                            pattern: ^(.*)$
                          description: The contacts linked to the deal.
                          examples:
                            - - 6a145ff26212a192852c856e
                          example:
                            - 6a145ff26212a192852c856e
                        ownerIds:
                          type: array
                          items:
                            type: string
                            pattern: ^US(.*)$
                          description: The users who own the deal.
                          examples:
                            - - US123abc
                          example:
                            - US123abc
                        archivedAt:
                          anyOf:
                            - description: >-
                                When the deal was archived, or null when the
                                deal is active.
                              examples:
                                - '2026-01-01T00:00:00Z'
                              example: '2026-01-01T00:00:00Z'
                              type: string
                              format: date-time
                            - type: 'null'
                        createdAt:
                          description: When the deal was created.
                          examples:
                            - '2026-01-01T00:00:00Z'
                          example: '2026-01-01T00:00:00Z'
                          type: string
                          format: date-time
                  nextCursor:
                    anyOf:
                      - type: string
                      - type: 'null'
                    description: >-
                      Cursor for the next page, or null when there are no more
                      pages.
                    examples:
                      - eyJsYXN0SWQiOiJVU211a09NaXBhIn0
                    example: eyJsYXN0SWQiOiJVU211a09NaXBhIn0
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                required:
                  - message
                  - docs
                  - title
                properties:
                  message:
                    type: string
                  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
                          properties:
                            type:
                              type: string
                description: Bad Request
              example:
                message: The input was invalid
                docs: https://quo.com/docs
                title: Bad Request
                trace: '6897907457496870895'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                required:
                  - message
                  - docs
                  - title
                properties:
                  message:
                    type: string
                  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
                          properties:
                            type:
                              type: string
                description: Unauthorized
              example:
                message: User is unauthorized to perform this action
                docs: https://quo.com/docs
                title: Unauthorized
                trace: '6897907457496870895'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                required:
                  - message
                  - docs
                  - title
                properties:
                  message:
                    type: string
                  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
                          properties:
                            type:
                              type: string
                description: Forbidden
              example:
                message: User is forbidden to perform this action
                docs: https://quo.com/docs
                title: Forbidden
                trace: '6897907457496870895'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                required:
                  - message
                  - docs
                  - title
                properties:
                  message:
                    type: string
                  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
                          properties:
                            type:
                              type: string
                description: Not Found
              example:
                message: The deal was not found
                docs: https://quo.com/docs
                title: Not Found
                trace: '6897907457496870895'
        '500':
          description: Unexpected Error | Unknown Error
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/UnexpectedError'
                  - $ref: '#/components/schemas/UnknownError'
              examples:
                UnexpectedError:
                  summary: Unexpected Error
                  value:
                    message: An unexpected error has occurred
                    docs: https://quo.com/docs
                    title: Unexpected Error
                    trace: '6897907457496870895'
                UnknownError:
                  summary: Unknown Error
                  value:
                    message: An unknown error has occurred
                    docs: https://quo.com/docs
                    title: Unknown Error
                    trace: '6897907457496870895'
      security:
        - apiKey: []
components:
  schemas:
    UnexpectedError:
      type: object
      required:
        - message
        - docs
        - title
      properties:
        message:
          type: string
        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
                properties:
                  type:
                    type: string
      description: Unexpected Error
      title: Unexpected Error
    UnknownError:
      type: object
      required:
        - message
        - docs
        - title
      properties:
        message:
          type: string
        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
                properties:
                  type:
                    type: string
      description: Unknown Error
      title: Unknown Error
  securitySchemes:
    apiKey:
      in: header
      name: Authorization
      type: apiKey

````