فراز اس ام اس مستندات وب‌سرویس

Home › Phonebook & Contacts

Create New Phonebook Attribute — FarazSMS SMS web service

POST https://api.iranpayamak.com/ws/v1/phone_book_attribute

Purpose: Create a custom column/attribute (e.g. birthdate or national code) for contacts.

Create a new phonebook attribute like birthdate, national code and etc

Authentication

This endpoint requires the Api-Key header — get the key from the FarazSMS panel. The header name is case-sensitive and the key must never travel in a query string.

Request fields

  • title (string) — required
  • type (string) — required

Notes for this endpoint

  • Creates a new attribute (title and type required).

Example body

{
  "title": "test attribute",
  "type": "string"
}

Responses

  • 201 — Phonebook attribute created successfully.

Related endpoints in Phonebook & Contacts

All FarazSMS web services · llms.txt · OpenAPI