This method retrieves the list of contacts associated with a user.

The method endpoint is https://api.flock.co/v1/roster.listContacts and follows the method calling conventions.

Parameters

NameTypeRequiredDescription
tokenStringYesAuthentication token for the user

Response

A list of PublicProfile objects.

[{
    "id": "u:cfc76545-3400-4864-892a-513a9f4ae409",
    "firstName": "<first name 1>",
    "lastName": "<last name 1>"
},{
    "id": "u:d08c8f64-1a64-4cd9-a563-df5079794aa7",
    "firstName": "<first name 2>",
    "lastName": "<last name 2>",
}]