---
title: "Add a new personal contact"
method: POST
path: "/user/contacts"
tags: ["User"]
---

# Add a new personal contact

`POST /user/contacts`

## Request

- Base URL: `https://HOSTNAME:8887/api`
- URL: `https://HOSTNAME:8887/api/user/contacts`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/docs/user/contacts/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- object
  - `name` string: The name of contact.
  - `email` string: The email of contact.
  - `company` string: The company name of contact.
  - `title` string: The title of contact.
  - `business` string: The business phone number of contact.
  - `business2` string: The secondary business phone number of contact.
  - `mobile_phone` string: The mobile phone number of contact.
  - `mobile_phone2` string: The secondary mobile phone number of contact.
  - `home_phone` string: The home phone number of contact.
  - `home_phone2` string: The secondary home phone number of contact.
  - `other` string: The other phone number of contact.
  - `business_fax` string: The business fax of contact.
  - `home_fax` string: The home fax of contact.
  - `address` string: The address.
  - `notes` string: The notes of contact.

## Response `201`

Created contact

- object
  - `id` string: The unique ID of the resource.

## Other responses

- `4XX`: Error

---

[API](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api.md) - [All operations](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/revisions/577415d4a3d5?raw)
