GET
/
api
/
v2
/
member
/
search
/
{id}
curl --request GET \
  --url https://chat.api.toolzz.com.br/api/v2/member/search/{id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>",
  "items": [
    {
      "message": "<string>",
      "id": "<string>",
      "institutionId": "<string>",
      "unityId": "<string>",
      "userId": "<string>",
      "name": "<string>",
      "email": "<string>",
      "access": "<string>",
      "status": 123,
      "acceptedAt": "<string>",
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "user": {
        "id": "<string>",
        "name": "<string>",
        "lastName": "<string>",
        "email": "<string>",
        "phone": "<string>",
        "password": "<string>",
        "imgProfileId": "<string>",
        "rememberMeToken": "<string>",
        "verified": true,
        "isMember": true,
        "institutionId": "<string>",
        "imgProfile": "<string>"
      },
      "avatar": "<string>"
    }
  ],
  "skip": 123,
  "take": 123,
  "orderBy": "<string>",
  "totalCount": 123
}

Body Description

id
string
required

The Id of the Unity

Response Description

The endpoint returns a response in JSON format with a confirmation response to the request.

message
string
required

Message indicating the result of the operation.

items
array
required

List of members retrieved.

skip
number
required

Number of items skipped in the query.

take
number
required

Number of items taken in the query.

orderBy
string
required

Field and order by which the items are sorted.

totalCount
number
required

Total number of items available.

Segurança

Para acessar este endpoint, é necessário enviar um token de acesso válido através do cabeçalho de autorização (Authorization) da requisição. Além disso, a API é protegida por outras medidas de segurança para proteger os dados dos usuários.

Errors

Exemples of security error