---
title: "Add Contact"
method: POST
path: "/orgunit/{orgunitId}/contacts"
tags: ["Contact"]
---

# Add Contact

`POST /orgunit/{orgunitId}/contacts`

## Path parameters

- `orgunitId` string, required

## Request body

- Contact
  - `firstName` string, nullable
  - `lastName` string, nullable
  - `gender` string, nullable
  - `age` integer
  - `mobileNo` string
  - `address` Address
    - `address1` string, nullable
    - `state` string, nullable
    - `postalCode` string, nullable
    - `countryCode` string, nullable
  - `region` string, nullable
  - `imageUrl` string, nullable
  - `email` string, nullable
  - `customParams` Properties[], nullable
    - `name` string, nullable
    - `value` string, nullable

## Response `200`

Success

- ContactCreationResponseExternalApiResponseNew
  - `data` ContactCreationResponse
    - `contactId` string, nullable
  - `appCode` string, nullable
  - `message` string, nullable
  - `isError` boolean

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/ministrybytext/apis/pbt-api-documentation.md) · [All operations](https://skmtc.net/ministrybytext/apis/pbt-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ministrybytext/pbt-api-documentation/revisions/ae1e3ddfb2fb/schema)
