Home › Phonebook & Contacts
Add New Contact — FarazSMS SMS web service
POST https://api.iranpayamak.com/ws/v1/phone_book_data
Purpose: Add a single contact to a phonebook.
Auth: header Api-Key (key from the panel, case-sensitive).
Example body
{
"phone_book_id": 33,
"phone_book_data_id": 1,
"prefix": "man",
"mobile": "09123456781",
"name": "test name",
"attributes": [
{
"attribute_id": 5,
"value": "1378/01/24"
},
{
"attribute_id": 8,
"value": "Tehran"
}
]
}