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

# List deal owners

> List the deal owners of the CRM connected to the workspace (only Hubspot is supported), with their name and email.

Lists the deal owners of the CRM connected to the workspace (only Hubspot is supported), with their name and email. Use it to discover the valid `ownerId` values accepted by the [update deal](/api-reference/endpoint/patch_deal) endpoint, or to find the owner id of a known email with the `email` filter.


## OpenAPI

````yaml GET /v1/deals/owners
openapi: 3.1.0
info:
  title: Claap API
  description: Development documentation
  version: 0.0.0
servers:
  - url: https://api.claap.io/
security:
  - ApiKey: []
paths:
  /v1/deals/owners:
    get:
      description: >-
        List the deal owners of the CRM connected to the workspace (only Hubspot
        is supported), with their name and email.
      operationId: getV1DealsOwners
      parameters:
        - in: query
          name: email
          schema:
            type: string
            description: Return only the owners with this email (exact match).
      responses:
        '200':
          description: Deal owners were successfully retrieved
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: object
                    properties:
                      owners:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              description: >-
                                The owner id in the CRM. This is the id accepted
                                as `ownerId` by the update deal endpoint.
                            name:
                              type: string
                              description: >-
                                The owner name in the CRM. Absent when the owner
                                has no name.
                            email:
                              type: string
                              description: The owner email in the CRM.
                          required:
                            - id
                    required:
                      - owners
                required:
                  - result
        '400':
          description: >-
            The workspace has no connected CRM, or the connected CRM is not
            supported (only Hubspot is supported).
components:
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: X-Claap-Key

````