This method returns information about a user. You can only use it to get info about users who have installed your app.

To get the name and profile image of other users in Flock, see users.getPublicProfile.

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

Parameters

NameTypeRequiredDescription
tokenStringYesAuthentication token for the user.

Response

A single User object.

{
    "id": "u:cfc76545-3400-4864-892a-513a9f4ae409",
    "teamId": "acme",
    "firstName": "foo",
    "lastName": "bar",
    "role": "user",
    "timezone": "+05:30", 
	"profileImage": "https://i.flock.co/kw2svc2fh4krqie6-full"
}