فراز اس ام اس مستندات توسعه‌دهندگان

Home › Phonebook & Contacts

Add Bulk Contact — FarazSMS SMS web service

POST https://api.iranpayamak.com/ws/v1/phone_book_data/bulk-upsert

Purpose: Bulk add/update contacts in a single call (up to 500 contacts).

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

Auth: header Api-Key (key from the panel, case-sensitive).

Example body

{
  "phone_book_id": 86292,
  "items": [
    {
      "prefix": "man",
      "mobile": "09123456781",
      "name": "test name",
      "attributes": [
        {
          "attribute_id": 2,
          "value": "2061207342"
        },
        {
          "attribute_id": 3,
          "value": "test"
        }
      ]
    }
  ]
}

All FarazSMS web services · llms.txt · OpenAPI