> For the complete documentation index, see [llms.txt](https://micheleriva.gitbook.io/unomi-node/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://micheleriva.gitbook.io/unomi-node/api/profile/get.md).

# Get

### Usage

```javascript
unomi.profile.get(<string | number>);
```

### Response

```
{
  success: <boolean>,
  status: <number>,
  data: <object>
}
```

### Real World Example

```javascript
async function greetProfile(profileID) {
  try {
    const profile = await unomi.profile.get(profileID);
    console.log(`Hello ${profile.data.firstName}!`);
  } catch (err) {
    console.error("An error occurred while getting the profile " + profileID);
    console.error(err);
  }
}
```
