Get friend profile

Method

GET

URL

https://typetalk.in/api/v1/accounts/profile/:accountName

Scope

my

URL parameters

Name Type Description
accountName String Account name

Response Example

{
  "account": {
    "id": 101,
    "name": "ahorowitz",
    "fullName": "AHorowitz",
    "suggestion": "AHorowitz",
    "mailAddress": "ahorowitz@example.com",
    "imageUrl": "http://typetalk.local:8484/accounts/101/profile_image.png?t=1403663549000",
    "createdAt": "2014-06-25T02:32:29Z",
    "updatedAt": "2014-06-25T02:32:29Z",
    "imageUpdatedAt": "2014-06-25T02:32:29Z"
  },
  "status": {
    "presence": "away",
    "web": null,
    "mobile": null
  }
}

All responses are text formatted as JSON, and include ETag. If you call an API with If-None-Match header, the server returns a 304 status code when the data is not changed. The date and time format is ISO 8601 and timezone is UTC (eg. 2014-01-09T06:20:08Z).