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

# Create Contact Image

`POST /orgunit/{orgunitId}/contacts-image`

This function allows you to upload a file to set as contact image. The response will include imageUrl that need to be passed in add contact api while creating the contact.

## Path parameters

- `orgunitId` string, required

## Response `200`

Success

- ContactImageResponseExternalApiResponseNew
  - `data` ContactImageResponse
    - `imageUrl` 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/versions/ca6e9c8f430d/schema)
