Upload Phone Book

API Endpoint

POST https://kpi.knowlarity.com/Basic/v1/account/contacts/phonebook

Required Parameters

ParameterDescription
phonebooknameString
numbersString

Sample Request

curl -X POST \
  https://kpi.knowlarity.com/Basic/v1/account/contacts/phonebook \
  -H 'accept: application/json' \
  -H 'authorization: <authorization-key>' \
  -H 'x-api-key: <x-api-key>'
  -H 'content-type: application/json' \
  -d '{
  "phonebookname": "Sakshi_Test",
  "numbers": "+9190396XXXXX,+9199357XXXXX,+9189826XXXXX"
}'

Sample Response

{
    "msg": [
        "Successfully added phonebook"
    ],
    "id": 879499
}