---
title: "CreateWorkspacePartyDto"
url: "https://developer.pexa.co.uk/apis/workspace-v1-v1/versions/f42817f3-815f-4a74-8ba5-2f83efd8ab42/schemas/CreateWorkspacePartyDto"
---

> Full API specification: https://developer.pexa.co.uk/apis/workspace-v1-v1/versions/f42817f3-815f-4a74-8ba5-2f83efd8ab42.md

# CreateWorkspacePartyDto

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: Workspace
  version: v1
servers:
  - url: https://api.pexa.co.uk
    description: API Gateway URL
components:
  schemas:
    CreateWorkspacePartyDto:
      type: object
      discriminator:
        propertyName: type
        mapping:
          INDIVIDUAL: "#/components/schemas/IndividualDetails"
          ORGANISATION: "#/components/schemas/OrganisationDetails"
      properties:
        role:
          type: string
          pattern: ^(BORROWER|BUYER)$
          description: >
            Party Role: Allowed values are BUYER for purchase workspace and
            BORROWER for remortgage workspace
             * `BORROWER`
             * `BUYER`
      required:
        - role
```
