---
title: "Create Contact"
method: POST
path: "/api/v1/Contacts"
tags: ["Contacts"]
---

# Create Contact

`POST /api/v1/Contacts`

## Headers

- `Time-Stamp` string, required
- `Time-Signature` string, required
- `User-Token` string, required
- `Client-Token` string, required

## Request body

- PeakAPIsLibraryModelRequestContactsContactsPostModel
  - `PeakContacts` PeakAPIsLibraryModelRequestContactsContactsPostModelPeakContactsModel
    - `contacts` PeakAPIsLibraryModelRequestContactsContacts[]
      - `name` string — Contact name
      - `type` integer — Type of contact
      - `prefixNameType` integer — If the value of "type" is 5 (Individual/Person), the "prefixNameType" field is a required variable that indicates the prefix of the contact's name
      - `prefixNameOther` string — If the value of "prefixNameType" is 6 (Other), the "prefixNameOther" field is a required variable that indicates the custom prefix for the contact's name
      - `taxNumber` string — Tax Identification Number (TIN)
      - `branchCode` string — The 5-digit number that identifies the branch of your contact's business
      - `address` string — The address registered for the branch.
      - `subDistrict` string — Sub-district of the contact's address
      - `district` string — District of the contact's address
      - `province` string — Province of the contact's address
      - `country` string — Country of the contact's address
      - `postCode` string — Post code of the contact's address
      - `callCenterNumber` string
      - `faxNumber` string
      - `email` string — Email address of the contact
      - `website` string
      - `contactFirstName` string — First name of the contactable person
      - `contactLastName` string — Last name of the contactable person
      - `contactNickName` string — Nickname of the contactable person
      - `contactPosition` string — Position of the contactable person
      - `contactPhoneNumber` string — Phone number of the contactable person
      - `contactEmail` string — Email of the contactable person
      - `purchaseAccount` string — If the contact is a seller, PEAK will record the transaction in this account
      - `sellAccount` string — If the contact is a buyer, PEAK will record the transaction in this account
      - `bankAccount` PeakAPIsLibraryModelRequestContactsContactBankAccount
        - `bankId` integer
        - `bankBranch` string
        - `bankAccountNo` string
        - `bankAccountName` string
      - `id` string — The Unique Identifier will generated by PEAK for referencing the contacts
      - `code` string — Code of the contact that will be displayed in PEAK

## Response `200`

Success

- PeakWCFModelsAPIResponseResponseContactModel
  - `peakContacts` PeakWCFModelsAPIBodyAPIBodyContact
    - `contacts` PeakWCFModelsAPIAPIContactsAPIContactsModel[]
      - `resCode` string
      - `resDesc` string
      - `id` string
      - `name` string
      - `code` string
      - `type` integer
      - `prefixNameType` integer
      - `prefixNameOther` string
      - `taxNumber` string
      - `branchCode` string
      - `address` string
      - `subDistrict` string
      - `district` string
      - `province` string
      - `country` string
      - `postCode` string
      - `callcenterNumber` string
      - `faxNumber` string
      - `email` string
      - `website` string
      - `contactFirstName` string
      - `contactLastName` string
      - `contactNickName` string
      - `contactPosition` string
      - `contactPhoneNumber` string
      - `contactEmail` string
      - `purchaseAccount` string
      - `sellAccount` string
      - `bankAccount` PeakWCFModelsAPIAPIContactsAPIContactBankAccountModel
        - `bankId` integer
        - `bankBranch` string
        - `bankAccountNo` string
        - `bankAccountName` string
    - `totalContact` integer
    - `resDesc` string
    - `resCode` string
  - `eventType` string
  - `apiType` string

---

[API](https://skmtc.net/peakaccount/apis/peakapis-core.md) · [All operations](https://skmtc.net/peakaccount/apis/peakapis-core/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/peakaccount/peakapis-core/versions/516e79534d77/schema)
