---
title: "Create Portfolio"
method: POST
path: "/v1/propertyradar/portfolio"
tags: ["PropertyRadar"]
---

# Create Portfolio

`POST /v1/propertyradar/portfolio`

## Request

- Base URL: `https://api.domain.com.au`
- URL: `https://api.domain.com.au/v1/propertyradar/portfolio`
- Auth: one of:
  - API key in header `x-api-key`
  - OAuth 2
    - Authorization code: `https://auth.domain.com.au/v1/connect/authorize`
    - Client credentials
    - Token URL: `https://auth.domain.com.au/v1/connect/token` scopes: `api_propertyportfolio_write`

Creates a portfolio and returns portfolio id

## Request body

- union
  - union: Portfolio Details
    - object
      - `PropertyIds` string[], required: Array of property id's in format XX-9999-XX
      - `GnafIds` string[]: Array of gnaf id's
    - object
      - `PropertyIds` string[]: Array of property id's in format XX-9999-XX
      - `GnafIds` string[], required: Array of gnaf id's
  - object
    - `empty` object: Create an empty portfolio

## Response `200`

Portfolio created successfully - Portfolio ID returned

- PropertyActivityAPIV1PortfolioCreated
  - `PortfolioId` string: Unique ID for the portfolio

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `500`: Unexpected error

## Changes

- **2024-04-24** `eee76e147314`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/domain/apis/domain-public-api/changes/v1/propertyradar/portfolio/post.md)

---

[API](https://skmtc.dev/domain/apis/domain-public-api.md) - [All operations](https://skmtc.dev/domain/apis/domain-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/domain/apis/domain-public-api/revisions/ab8557888a88?raw)
