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
Name | Type | Required | Description |
---|---|---|---|
token | String | Yes | Authentication 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>", }]