# Get direct chat

## Get direct chat

<mark class="gb-c-blue">`GET`</mark> `http://h1.eko12.local/bot/v2/groups/users/:uid`

Get the a direct chat between bot and a given user.\
If not found, a new one will be created.

```
curl --location '{process.env.EKO_HTTP_URI}/bot/v2/groups/users/677e46a5e2e09e162843f948' \
--header 'Authorization: Bearer {token}
```

#### Path Parameters

| Name | Type   | Description |
| ---- | ------ | ----------- |
| uid  | string | User ID     |

**200**

```
{
    "gid": 123,
    "tid": 456
}
```
