PBX API : GET /Phonebooks/:id/

To get a phone book, make an HTTP GET request with basic authorization, resource URI:

http(s)://{PBX}/api/v1/Phonebooks/:id/

GET Parameters

Required Parameters

NameDescription

Optional Parameters:

NameDefaultPossible valuesDescription

fields

All

id
name
type
hash
owner_id
sync_set
sync_interval
sync_params

A list of fields that should be returned

Maybe using with comma "," for listing all required fields

sync_params - only for admins

Example:

GET http://{PBX}/api/v1/Phonebooks/1/
 {
    "type":"result",
    "result":{
        "id":1,
        "name":"default",
        "type":2,
        "hash":"",
        "owner_id":0,
        "sync_set":0,
        "sync_interval":0
    }
}