> For the complete documentation index, see [llms.txt](https://2sign-co-il.gitbook.io/2sign.co.il-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://2sign-co-il.gitbook.io/2sign.co.il-docs/clients-and-groups/get-clients-info.md).

# Get clients info

#### Get Client by ID

Search for a client using their ID.

Header

```
Content-Type:multipart/form-data
Authorization:'Bearer token_value_from_login'
```

## GET /api/Clients/GetById

> GetById

```json
{"openapi":"3.1.1","info":{"title":"Customer API","version":"1.0.0"},"servers":[{"url":"/"}],"paths":{"/api/Clients/GetById":{"get":{"tags":["Clients"],"summary":"GetById","operationId":"GetById_GET","parameters":[{"schema":{"type":"string"},"name":"clientId","in":"query","required":true}],"responses":{"200":{"description":"Success (Custom Example)","content":{"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Bad Request"},"500":{"description":"Internal Server Error"}}}}}}
```

***

#### Get Client Information

Search for a client by name, email, or phone number.

```
POST /api/Clients/GetByParams
```

**Headers**

| Key             | Value              |
| --------------- | ------------------ |
| `Content-Type`  | `application/json` |
| `Authorization` | `Bearer <token>`   |

{% hint style="info" %}
All fields are optional. You can search by any combination of name, email, and phone
{% endhint %}

## POST /api/Clients/GetByParams

> GetByParams

```json
{"openapi":"3.1.1","info":{"title":"Customer API","version":"1.0.0"},"servers":[{"url":"/"}],"paths":{"/api/Clients/GetByParams":{"post":{"tags":["Clients"],"summary":"GetByParams","operationId":"GetByParams_POST","responses":{"200":{"description":"Success (Custom Example)","content":{"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Bad Request"},"500":{"description":"Internal Server Error"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientDetailsResponseModel"}}},"required":true}}}},"components":{"schemas":{"ClientDetailsResponseModel":{"type":"object","properties":{"Id":{"type":"integer"},"UserId":{"type":"string"},"ManagerId":{"type":"string"},"Name":{"type":"string"},"CompNum":{"type":"string"},"Emails":{"type":"string"},"Phones":{"type":"string"},"Clients":{"type":"string"},"APIResponse":{"type":"string"}},"required":["Id"]}}}}
```
