---
title: "Create contact"
method: POST
path: "/v1/contacts"
tags: ["Contacts"]
---

# Create contact

`POST /v1/contacts`

## Request

- Base URL: `https://contacts-api.paymongo.com`
- URL: `https://contacts-api.paymongo.com/v1/contacts`
- Auth: HTTP basic

Create a contact person record. Email addresses and phone numbers are unique across contacts; duplicates are rejected with 409.

## Request body

- CreateContactRequestDTO
  - `address` AddressRequestDTO
    - `city` string, required
    - `country` string, required
    - `line_1` string, required
    - `line_2` string
    - `postal_code` string
    - `province` string
  - `description` string
  - `email` EmailRequestDTO[]
    - `email` string, required
    - `type` 'TO' | 'CC' | 'BCC'
  - `first_name` string, required
  - `last_name` string, required
  - `metadata` object
  - `middle_name` string
  - `phone` string[]
  - `role` string
  - `suffix` string

## Response `201`

Created

- object: Standard response containing data and its metadata if any
  - `data` ContactResponseDTO
    - `attributes` ContactAttributesDTO
      - `address` AddressDTO
        - `city` string
        - `country` string
        - `line_1` string
        - `line_2` string
        - `postal_code` string
        - `province` string
      - `created_at` string
      - `description` string
      - `email` EmailDTO[]
        - `email` string
        - `type` string
      - `first_name` string
      - `last_name` string
      - `metadata` object
      - `middle_name` string
      - `phone` string[]
      - `role` string
      - `status` string
      - `suffix` string
      - `updated_at` string
    - `id` string
  - `has_more` boolean

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `409`: Conflict
- `500`: Internal Server Error

---

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