# Users

> Retrieve a full profile from a profile id or a public LinkedIn URL.

Resolve a person to a full profile, using a connected account's session.

## Retrieve a profile

```http
GET /v1/users/{identifier}?account_id={account_id}
```

The `identifier` is either a profile id returned by [search](/search) or a public identifier from a LinkedIn URL (the `in/<identifier>` slug).

| Query param | Type | Required | Description |
| --- | --- | --- | --- |
| `account_id` | string | yes | The account whose session resolves the profile. |

```bash
curl "https://api.correctinbox.com/v1/users/priya-menon?account_id=acc_8f21c0" \
  -H "X-API-KEY: $CORRECTINBOX_API_KEY"
```

```js
const user = await (
  await fetch(
    "https://api.correctinbox.com/v1/users/priya-menon?account_id=acc_8f21c0",
    { headers: { "X-API-KEY": process.env.CORRECTINBOX_API_KEY } },
  )
).json();
```

```python
user = requests.get(
    "https://api.correctinbox.com/v1/users/priya-menon",
    headers={"X-API-KEY": os.environ["CORRECTINBOX_API_KEY"]},
    params={"account_id": "acc_8f21c0"},
).json()
```

**Response**

```json
{
  "id": "ACoAAB1x...",
  "name": "Priya Menon",
  "headline": "Head of Sales at Northwind",
  "location": "Bengaluru, India",
  "profile_url": "https://www.linkedin.com/in/priya-menon/"
}
```

Use the returned `id` to [send a connection invitation](/network#send-an-invitation) or add the person to a [campaign](/campaigns).
