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

Home › Phonebook & Contacts

Update Phonebook — FarazSMS SMS web service

PUT https://api.iranpayamak.com/ws/v1/phone_book/{id}

Purpose: Rename or change the columns of an existing phonebook.

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
  • attributes (array) — optional

Notes for this endpoint

  • Edits an existing phonebook by id.

Example body

{
  "title": "updated title",
  "attributes": [
    1,
    3
  ]
}

Responses

  • 201 — Phonebook created successfully.

Related endpoints in Phonebook & Contacts

All FarazSMS web services · llms.txt · OpenAPI