Skip to content

Retrieving user's subordinate contacts

Description

Retrieving subordinate contacts of the current user.

URL structure

GET /v2/users/user/contacts

List of parameters

This method has no parameters.

Result

Array of "User's subordinate contact" structures.

Sample request

curl -X GET -H "Accept: application/json" -H "Authorization: 3WQ1EQ465C4005000130" "https://api.lardi-trans.com/v2/users/user/contacts"

Sample response

JSON
[
    {
        "contactId": 432558,
        "face": "12345",
        "phones": [
            {
                "number": "+380(97)6544568",
                "messengers": []
            }
        ],
        "email": "qazxsw99edc@qwe.rerttt",
        "skype": "hgjhgjh",
        "note": "123456",
        "visible": false
    },
    {
        "contactId": 432585,
        "face": "78798789cvbcvb",
        "phones": [
            {
                "number": "+380(73)6987741",
                "messengers": [
                    "TELEGRAM",
                    "VIBER",
                    "WHATSAPP"
                ]
            }
        ],
        "visible": true
    },
    {
        "contactId": 432582,
        "face": "dfgdfgdfgerte",
        "phones": [
            {
                "number": "+380(73)6985410",
                "messengers": []
            }
        ],
        "visible": false
    },
]