---
title: "Create Workspace Contact"
method: POST
path: "/v1/workspaces/{workspace_id}/contacts"
tags: ["contacts"]
---

# Create Workspace Contact

`POST /v1/workspaces/{workspace_id}/contacts`

## Request

- Base URL: `https://api.ender.au` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ender.au/v1/workspaces/{workspace_id}/contacts`
- Auth: HTTP bearer

## Path parameters

- `workspace_id` string, uuid, required

## Headers

- `Idempotency-Key` string, nullable

## Request body

- CreateContact
  - `kind` 'organisation' | 'person' | 'trust' | 'government' | 'other'
  - `name` string, required
  - `legal_name` string, nullable
  - `reporting_name` string, nullable
  - `acn` string, nullable
  - `abn` string, nullable
  - `aliases` string[]
  - `emails` string[]
  - `phones` string[]
  - `postal_address` string, nullable
  - `people` ContactPersonInput[]
    - `name` string, required
    - `role` string, nullable
    - `email` string, nullable
    - `phone` string, nullable

## Response `201`

Successful Response

- Contact
  - `id` string, uuid, required
  - `kind` 'organisation' | 'person' | 'trust' | 'government' | 'other', required
  - `name` string, required
  - `legal_name` string, nullable, required
  - `reporting_name` string, nullable, required
  - `acn` string, nullable, required
  - `abn` string, nullable, required
  - `aliases` string[], required
  - `emails` string[], required
  - `phones` string[], required
  - `postal_address` string, nullable, required
  - `people` ContactPerson[], required
    - `name` string, required
    - `role` string, nullable, required
    - `email` string, nullable, required
    - `phone` string, nullable, required
    - `id` string, uuid, required
  - `version` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ender/apis/ender-backend.md) - [All operations](https://skmtc.dev/ender/apis/ender-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/ender/apis/ender-backend/revisions/a5849ac366ca?raw)
