---
title: "Add Bulk Contact"
method: POST
path: "/ws/v1/phone_book_data/bulk-upsert"
tags: ["Phonebook/Contacts"]
---

# Add Bulk Contact

`POST /ws/v1/phone_book_data/bulk-upsert`

## Request

- Base URL: `https://api.iranpayamak.com`
- URL: `https://api.iranpayamak.com/ws/v1/phone_book_data/bulk-upsert`
- Auth: API key in header `Api-Key`

It used to import contacts to a phonebook with an {Object}.
Max contacts can add by Object is 500 in each reques.

## Headers

- `Accept` string, required

## Request body

- object
  - `phone_book_id` integer, required
  - `items` unknown[], required
    - unknown

## Response `200`

- object

---

[API](https://skmtc.dev/farazsms/apis/farazsms-public-apis.md) - [All operations](https://skmtc.dev/farazsms/apis/farazsms-public-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/farazsms/apis/farazsms-public-apis/revisions/e80a7c5dea3f?raw)
