> For the complete documentation index, see [llms.txt](https://eshop.gitbook.io/eshopbox-developers/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://eshop.gitbook.io/eshopbox-developers/setting/team/get-a-team-member.md).

# Get a Team Member

## Get  team

<mark style="color:blue;">`GET`</mark> `https://{{workspace}}.myeshopbox.com/api/v1/user-account-mapping/:id`

This endpoint is required to get a record for a particular team member in workspace

#### Headers

| Name          | Type   | Description                                |
| ------------- | ------ | ------------------------------------------ |
| Authorization | string | The Bearer token is required to access API |

{% tabs %}
{% tab title="200 Records of a team is successfully retrieved" %}

```
{
    "id": 1,
    "userId": 1,
    "accountId": 1,
    "email": "johndoe@gmail.com",
    "role": "user",
    "status": "0",
    "invitationUrl": "http://invitations",
     "userGroups": [
       {
           "groupName": "Operations",
           "groupId": "1"
       },
       {
           "groupName": "Operations",
           "groupId": "2"
       }
   ],
    "createdAt": "2020-03-17T12:27:16.000+05:30",
    "updatedAt": "2020-03-17T12:29:13.000+05:30"
}
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X GET https://{{workspace}}.myeshopbox.com/api/v1/user-account-mapping/:id \    
 -H "Authorization: Bearer XXXX"
```

{% endtab %}
{% endtabs %}
