# Get a profile

`GET` `https://streetartcities.com/api/profiles/user/{userId}`

Someone's public profile: their name, picture, bio, links and badges.

## Path parameters

- **userId** `string` — required

## Requirements

Needs an [access token](/authentication/tokens/). When using OAuth, the token needs the [`profiles:read`](/authentication/scopes/) scope.

## Responses

### `200` The profile

- **@type** `string` · const: Profile — required
- **id** `string` — required
- **href** `string` — required
  Link to their profile on Street Art Cities
- **displayName** `string` — required
- **avatar** `string`
  Link to their profile picture
- **bio** `string` — required
- **statusMessage** `object`
  A short status they've set, like where they're travelling
  - **description** `string` — required
  - **endsAt** `string`
- **socialLinks** `array object[]` — required
  Links to their website and social media
  - _Array of object_
    - **type** `string` — required
    - **url** `string` — required
- **followerCount** `number` — required
- **followingCount** `number` — required
- **decorations** `array object[]` — required
  Roles shown next to their name, like Country Manager
  - _Array of object_
    - **id** `string` — required
    - **title** `string` — required
    - **image** `string` — required
- **badges** `array object[]` — required
  Badges they've earned
  - _Array of object_
    - **id** `string` — required
    - **title** `string` — required
    - **description** `string` — required
    - **image** `string` — required
- **createdAt** `string`
  When they joined

### `400` Invalid request

- **error** `object` — required
  - **message** `string` — required
  - **details** `array any[]`

### `401` Not logged in

- **error** `object` — required
  - **message** `string` — required
  - **details** `array any[]`

### `403` The app doesn't have the profiles:read scope

- **error** `object` — required
  - **message** `string` — required
  - **details** `array any[]`

### `404` Not found

- **error** `object` — required
  - **message** `string` — required
  - **details** `array any[]`
