Listar contatos
curl --request GET \
--url https://api.jurichat.com/people/ \
--header 'x-jurichat-api-key: <api-key>'{
"data": [
{
"id": "<string>",
"name": "<string>",
"email": "<string>",
"imageUrl": "<string>",
"phoneNumber": "<string>",
"document": "<string>",
"description": "<string>",
"country": "<string>",
"city": "<string>",
"isBlocked": true,
"inboxId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"conversationId": "<string>",
"tags": [
{
"id": "<string>",
"name": "<string>",
"color": "<string>"
}
]
}
],
"totalResults": 123,
"totalPages": 123
}Contacts
Listar contatos
Lista contatos da inbox com filtros por nome, e-mail, bloqueio e tags. Use page e limit juntos para paginar; sem eles, retorna todos os registros.
GET
/
people
/
Listar contatos
curl --request GET \
--url https://api.jurichat.com/people/ \
--header 'x-jurichat-api-key: <api-key>'{
"data": [
{
"id": "<string>",
"name": "<string>",
"email": "<string>",
"imageUrl": "<string>",
"phoneNumber": "<string>",
"document": "<string>",
"description": "<string>",
"country": "<string>",
"city": "<string>",
"isBlocked": true,
"inboxId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"conversationId": "<string>",
"tags": [
{
"id": "<string>",
"name": "<string>",
"color": "<string>"
}
]
}
],
"totalResults": 123,
"totalPages": 123
}Authorizations
Chave de API do escritório (criada no painel). Envie o valor no header x-jurichat-api-key.
Query Parameters
Número da página.
Quantidade de itens por página.
ID da inbox. Obrigatório para filtrar os contatos.
Filtra por nome (parcial) ou por trecho do telefone quando o texto contiver números.
Filtra por e-mail (correspondência parcial).
Filtra por status de bloqueio: true ou false.
Filtra contatos que possuam ao menos uma das tags informadas (IDs).
⌘I