Conversas
Listagem paginada de conversas.
Filtro por ID da equipe.
Filtro por ID do usuário.
Filtro por IDs de etiquetas
Filtro por nomes de etiquetas
Filtro por ID de canais
Filtro por ID do contato.
Limite superior de busca, sempre em fuso horário UTM.
Limite inferior de busca, sempre em fuso horário UTM.
Limite superior de busca, sempre em fuso horário UTM.
Limite inferior de busca, sempre em fuso horário UTM.
Limite superior de busca, sempre em fuso horário UTM.
Limite inferior de busca, sempre em fuso horário UTM.
Limite superior de busca, sempre em fuso horário UTM.
Limite inferior de busca, sempre em fuso horário UTM.
Limite superior de busca, sempre em fuso horário UTM.
Limite inferior de busca, sempre em fuso horário UTM.
Número da página a ser obtida.
1Tamanho da página a ser obtida.
15Nome do campo para ser utilizado como pivô da ordenação.
Determina se a ordenação deve ser crescente ou decrescente.
Success
Server Error
GET /chat/v1/session HTTP/1.1
Host: api.wts.chat
Authorization: YOUR_API_KEY
Accept: */*
{
"pageNumber": 1,
"pageSize": 15,
"orderBy": "text",
"orderDirection": "ASCENDING",
"items": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-11-06T22:36:22.000Z",
"updatedAt": "2025-11-06T22:36:22.000Z",
"startAt": "2025-11-06T22:36:22.000Z",
"endAt": "2025-11-06T22:36:22.000Z",
"status": "UNDEFINED",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"channelId": "123e4567-e89b-12d3-a456-426614174000",
"departmentId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"previewUrl": "text",
"title": "text",
"number": "text",
"utm": {
"sourceId": "text",
"source": "text",
"clid": "text",
"medium": "text",
"campaign": "text",
"content": "text",
"headline": "text",
"term": "text",
"referralUrl": "text"
},
"origin": "text",
"contactDetails": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"pictureUrl": "text",
"phonenumber": "text",
"instagram": "text",
"phonenumberFormatted": "text",
"tagsId": [
"123e4567-e89b-12d3-a456-426614174000"
],
"tagsName": [
"text"
],
"status": "ACTIVE"
},
"agentDetails": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"shortName": "text",
"phoneNumber": "text",
"email": "text",
"pictureFileId": "123e4567-e89b-12d3-a456-426614174000",
"pictureUrl": "text"
},
"channelDetails": {
"humanId": "text",
"platform": "text",
"provider": "text",
"providerVariable": "text",
"pictureUrl": "text",
"displayName": "text"
},
"departmentDetails": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"isDefault": true,
"isSupervisor": true
},
"classification": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"category": "UNDEFINED",
"categoryDescription": "text",
"amount": 1,
"categoryName": "text"
},
"statusDescription": "text",
"timeService": "text",
"timeWait": "text",
"firstResponseAt": "2025-11-06T22:36:22.000Z",
"botId": "123e4567-e89b-12d3-a456-426614174000",
"unreadCount": 1,
"lastMessageText": "text",
"lastInteractionDate": "2025-11-06T22:36:22.000Z",
"windowStatus": "ACTIVE",
"metadata": {
"ANY_ADDITIONAL_PROPERTY": null
},
"channelType": "GUPSHUP_WHATSAPP"
}
],
"totalItems": 1,
"totalPages": 1,
"hasMorePages": true
}ID da conversa.
Success
Server Error
GET /chat/v1/session/{id} HTTP/1.1
Host: api.wts.chat
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-11-06T22:36:22.000Z",
"updatedAt": "2025-11-06T22:36:22.000Z",
"startAt": "2025-11-06T22:36:22.000Z",
"endAt": "2025-11-06T22:36:22.000Z",
"status": "UNDEFINED",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"channelId": "123e4567-e89b-12d3-a456-426614174000",
"departmentId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"previewUrl": "text",
"title": "text",
"number": "text",
"utm": {
"sourceId": "text",
"source": "text",
"clid": "text",
"medium": "text",
"campaign": "text",
"content": "text",
"headline": "text",
"term": "text",
"referralUrl": "text"
},
"origin": "text",
"contactDetails": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"pictureUrl": "text",
"phonenumber": "text",
"instagram": "text",
"phonenumberFormatted": "text",
"tagsId": [
"123e4567-e89b-12d3-a456-426614174000"
],
"tagsName": [
"text"
],
"status": "ACTIVE"
},
"agentDetails": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"shortName": "text",
"phoneNumber": "text",
"email": "text",
"pictureFileId": "123e4567-e89b-12d3-a456-426614174000",
"pictureUrl": "text"
},
"channelDetails": {
"humanId": "text",
"platform": "text",
"provider": "text",
"providerVariable": "text",
"pictureUrl": "text",
"displayName": "text"
},
"departmentDetails": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"isDefault": true,
"isSupervisor": true
},
"classification": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"category": "UNDEFINED",
"categoryDescription": "text",
"amount": 1,
"categoryName": "text"
},
"statusDescription": "text",
"timeService": "text",
"timeWait": "text",
"firstResponseAt": "2025-11-06T22:36:22.000Z",
"botId": "123e4567-e89b-12d3-a456-426614174000",
"unreadCount": 1,
"lastMessageText": "text",
"lastInteractionDate": "2025-11-06T22:36:22.000Z",
"windowStatus": "ACTIVE",
"metadata": {
"ANY_ADDITIONAL_PROPERTY": null
},
"channelType": "GUPSHUP_WHATSAPP"
}ID da conversa.
Determina se a transferência deverá ser entre equipes ou usuários.
ID da nova equipe para a conversa.
ID do novo usuário para a conversa.
Success
Server Error
PUT /chat/v1/session/{id}/transfer HTTP/1.1
Host: api.wts.chat
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 168
{
"type": "DEPARTMENT",
"newDepartmentId": "123e4567-e89b-12d3-a456-426614174000",
"newUserId": "123e4567-e89b-12d3-a456-426614174000",
"options": {
"stopBotInExecution": false
}
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-11-06T22:36:22.000Z",
"updatedAt": "2025-11-06T22:36:22.000Z",
"startAt": "2025-11-06T22:36:22.000Z",
"endAt": "2025-11-06T22:36:22.000Z",
"status": "UNDEFINED",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"channelId": "123e4567-e89b-12d3-a456-426614174000",
"departmentId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"previewUrl": "text",
"title": "text",
"number": "text",
"utm": {
"sourceId": "text",
"source": "text",
"clid": "text",
"medium": "text",
"campaign": "text",
"content": "text",
"headline": "text",
"term": "text",
"referralUrl": "text"
},
"origin": "text",
"contactDetails": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"pictureUrl": "text",
"phonenumber": "text",
"instagram": "text",
"phonenumberFormatted": "text",
"tagsId": [
"123e4567-e89b-12d3-a456-426614174000"
],
"tagsName": [
"text"
],
"status": "ACTIVE"
},
"agentDetails": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"shortName": "text",
"phoneNumber": "text",
"email": "text",
"pictureFileId": "123e4567-e89b-12d3-a456-426614174000",
"pictureUrl": "text"
},
"channelDetails": {
"humanId": "text",
"platform": "text",
"provider": "text",
"providerVariable": "text",
"pictureUrl": "text",
"displayName": "text"
},
"departmentDetails": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"isDefault": true,
"isSupervisor": true
},
"classification": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"category": "UNDEFINED",
"categoryDescription": "text",
"amount": 1,
"categoryName": "text"
},
"statusDescription": "text",
"timeService": "text",
"timeWait": "text",
"firstResponseAt": "2025-11-06T22:36:22.000Z",
"botId": "123e4567-e89b-12d3-a456-426614174000",
"unreadCount": 1,
"lastMessageText": "text",
"lastInteractionDate": "2025-11-06T22:36:22.000Z",
"windowStatus": "ACTIVE",
"metadata": {
"ANY_ADDITIONAL_PROPERTY": null
},
"channelType": "GUPSHUP_WHATSAPP"
}ID da conversa.
ID do usuário.
Success
Server Error
PUT /chat/v1/session/{id}/assignee HTTP/1.1
Host: api.wts.chat
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 88
{
"userId": "123e4567-e89b-12d3-a456-426614174000",
"options": {
"stopBotInExecution": false
}
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-11-06T22:36:22.000Z",
"updatedAt": "2025-11-06T22:36:22.000Z",
"startAt": "2025-11-06T22:36:22.000Z",
"endAt": "2025-11-06T22:36:22.000Z",
"status": "UNDEFINED",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"channelId": "123e4567-e89b-12d3-a456-426614174000",
"departmentId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"previewUrl": "text",
"title": "text",
"number": "text",
"utm": {
"sourceId": "text",
"source": "text",
"clid": "text",
"medium": "text",
"campaign": "text",
"content": "text",
"headline": "text",
"term": "text",
"referralUrl": "text"
},
"origin": "text",
"contactDetails": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"pictureUrl": "text",
"phonenumber": "text",
"instagram": "text",
"phonenumberFormatted": "text",
"tagsId": [
"123e4567-e89b-12d3-a456-426614174000"
],
"tagsName": [
"text"
],
"status": "ACTIVE"
},
"agentDetails": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"shortName": "text",
"phoneNumber": "text",
"email": "text",
"pictureFileId": "123e4567-e89b-12d3-a456-426614174000",
"pictureUrl": "text"
},
"channelDetails": {
"humanId": "text",
"platform": "text",
"provider": "text",
"providerVariable": "text",
"pictureUrl": "text",
"displayName": "text"
},
"departmentDetails": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"isDefault": true,
"isSupervisor": true
},
"classification": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"category": "UNDEFINED",
"categoryDescription": "text",
"amount": 1,
"categoryName": "text"
},
"statusDescription": "text",
"timeService": "text",
"timeWait": "text",
"firstResponseAt": "2025-11-06T22:36:22.000Z",
"botId": "123e4567-e89b-12d3-a456-426614174000",
"unreadCount": 1,
"lastMessageText": "text",
"lastInteractionDate": "2025-11-06T22:36:22.000Z",
"windowStatus": "ACTIVE",
"metadata": {
"ANY_ADDITIONAL_PROPERTY": null
},
"channelType": "GUPSHUP_WHATSAPP"
}ID da conversa.
Determina se a conversa deve ser reativada ao receber uma nova mensagem do contato. O valor padrão é false.
falseDetermina se o chatbot de automação em execução deve ser interrompido. O valor padrão é false.
falseSuccess
Server Error
PUT /chat/v1/session/{id}/complete HTTP/1.1
Host: api.wts.chat
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"reactivateOnNewMessage": false,
"stopBotInExecution": false
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-11-06T22:36:22.000Z",
"updatedAt": "2025-11-06T22:36:22.000Z",
"startAt": "2025-11-06T22:36:22.000Z",
"endAt": "2025-11-06T22:36:22.000Z",
"status": "UNDEFINED",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"channelId": "123e4567-e89b-12d3-a456-426614174000",
"departmentId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"previewUrl": "text",
"title": "text",
"number": "text",
"utm": {
"sourceId": "text",
"source": "text",
"clid": "text",
"medium": "text",
"campaign": "text",
"content": "text",
"headline": "text",
"term": "text",
"referralUrl": "text"
},
"origin": "text",
"contactDetails": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"pictureUrl": "text",
"phonenumber": "text",
"instagram": "text",
"phonenumberFormatted": "text",
"tagsId": [
"123e4567-e89b-12d3-a456-426614174000"
],
"tagsName": [
"text"
],
"status": "ACTIVE"
},
"agentDetails": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"shortName": "text",
"phoneNumber": "text",
"email": "text",
"pictureFileId": "123e4567-e89b-12d3-a456-426614174000",
"pictureUrl": "text"
},
"channelDetails": {
"humanId": "text",
"platform": "text",
"provider": "text",
"providerVariable": "text",
"pictureUrl": "text",
"displayName": "text"
},
"departmentDetails": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"isDefault": true,
"isSupervisor": true
},
"classification": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"category": "UNDEFINED",
"categoryDescription": "text",
"amount": 1,
"categoryName": "text"
},
"statusDescription": "text",
"timeService": "text",
"timeWait": "text",
"firstResponseAt": "2025-11-06T22:36:22.000Z",
"botId": "123e4567-e89b-12d3-a456-426614174000",
"unreadCount": 1,
"lastMessageText": "text",
"lastInteractionDate": "2025-11-06T22:36:22.000Z",
"windowStatus": "ACTIVE",
"metadata": {
"ANY_ADDITIONAL_PROPERTY": null
},
"channelType": "GUPSHUP_WHATSAPP"
}ID da conversa.
Novo status para a conversa.
Success
Server Error
PUT /chat/v1/session/{id}/status HTTP/1.1
Host: api.wts.chat
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 64
{
"newStatus": "UNDEFINED",
"options": {
"stopBotInExecution": false
}
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-11-06T22:36:22.000Z",
"updatedAt": "2025-11-06T22:36:22.000Z",
"startAt": "2025-11-06T22:36:22.000Z",
"endAt": "2025-11-06T22:36:22.000Z",
"status": "UNDEFINED",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"channelId": "123e4567-e89b-12d3-a456-426614174000",
"departmentId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"previewUrl": "text",
"title": "text",
"number": "text",
"utm": {
"sourceId": "text",
"source": "text",
"clid": "text",
"medium": "text",
"campaign": "text",
"content": "text",
"headline": "text",
"term": "text",
"referralUrl": "text"
},
"origin": "text",
"contactDetails": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"pictureUrl": "text",
"phonenumber": "text",
"instagram": "text",
"phonenumberFormatted": "text",
"tagsId": [
"123e4567-e89b-12d3-a456-426614174000"
],
"tagsName": [
"text"
],
"status": "ACTIVE"
},
"agentDetails": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"shortName": "text",
"phoneNumber": "text",
"email": "text",
"pictureFileId": "123e4567-e89b-12d3-a456-426614174000",
"pictureUrl": "text"
},
"channelDetails": {
"humanId": "text",
"platform": "text",
"provider": "text",
"providerVariable": "text",
"pictureUrl": "text",
"displayName": "text"
},
"departmentDetails": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"isDefault": true,
"isSupervisor": true
},
"classification": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"category": "UNDEFINED",
"categoryDescription": "text",
"amount": 1,
"categoryName": "text"
},
"statusDescription": "text",
"timeService": "text",
"timeWait": "text",
"firstResponseAt": "2025-11-06T22:36:22.000Z",
"botId": "123e4567-e89b-12d3-a456-426614174000",
"unreadCount": 1,
"lastMessageText": "text",
"lastInteractionDate": "2025-11-06T22:36:22.000Z",
"windowStatus": "ACTIVE",
"metadata": {
"ANY_ADDITIONAL_PROPERTY": null
},
"channelType": "GUPSHUP_WHATSAPP"
}Atualiza um ou mais atributos de uma conversa. Para usar você deve informar o novo valor do atribuito e quais atributos serão atualizados.
ID da conversa.
Código da empresa
Situação do atendmento
Data de conclusão
Código de identificação
Código da equipe
Código do usuário / atendente
Success
Server Error
PUT /chat/v2/session/{id}/partial HTTP/1.1
Host: api.wts.chat
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 403
{
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"status": "UNDEFINED",
"endAt": "2025-11-06T22:36:22.000Z",
"number": "text",
"departmentId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"classification": {
"description": "text",
"category": "UNDEFINED",
"amount": 1
},
"metadata": {
"ANY_ADDITIONAL_PROPERTY": null
},
"options": {
"stopBotInExecution": false
},
"fields": [
"Status"
]
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-11-06T22:36:22.000Z",
"updatedAt": "2025-11-06T22:36:22.000Z",
"startAt": "2025-11-06T22:36:22.000Z",
"endAt": "2025-11-06T22:36:22.000Z",
"status": "UNDEFINED",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"channelId": "123e4567-e89b-12d3-a456-426614174000",
"departmentId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"previewUrl": "text",
"title": "text",
"number": "text",
"utm": {
"sourceId": "text",
"source": "text",
"clid": "text",
"medium": "text",
"campaign": "text",
"content": "text",
"headline": "text",
"term": "text",
"referralUrl": "text"
},
"origin": "text",
"contactDetails": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"pictureUrl": "text",
"phonenumber": "text",
"instagram": "text",
"phonenumberFormatted": "text",
"tagsId": [
"123e4567-e89b-12d3-a456-426614174000"
],
"tagsName": [
"text"
],
"status": "ACTIVE"
},
"agentDetails": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"shortName": "text",
"phoneNumber": "text",
"email": "text",
"pictureFileId": "123e4567-e89b-12d3-a456-426614174000",
"pictureUrl": "text"
},
"channelDetails": {
"humanId": "text",
"platform": "text",
"provider": "text",
"providerVariable": "text",
"pictureUrl": "text",
"displayName": "text"
},
"departmentDetails": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"isDefault": true,
"isSupervisor": true
},
"classification": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"category": "UNDEFINED",
"categoryDescription": "text",
"amount": 1,
"categoryName": "text"
},
"statusDescription": "text",
"timeService": "text",
"timeWait": "text",
"firstResponseAt": "2025-11-06T22:36:22.000Z",
"botId": "123e4567-e89b-12d3-a456-426614174000",
"unreadCount": 1,
"lastMessageText": "text",
"lastInteractionDate": "2025-11-06T22:36:22.000Z",
"windowStatus": "ACTIVE",
"metadata": {
"ANY_ADDITIONAL_PROPERTY": null
},
"channelType": "GUPSHUP_WHATSAPP"
}Listagem paginada de mensagens por ID de uma conversa.
ID da conversa.
Número da página a ser obtida.
1Tamanho da página a ser obtida.
15Nome do campo para ser utilizado como pivô da ordenação.
Determina se a ordenação deve ser crescente ou decrescente.
Limite superior de busca, sempre em fuso horário UTM.
Limite inferior de busca, sempre em fuso horário UTM.
Limite superior de busca, sempre em fuso horário UTM.
Limite inferior de busca, sempre em fuso horário UTM.
Success
Server Error
GET /chat/v1/session/{id}/message HTTP/1.1
Host: api.wts.chat
Authorization: YOUR_API_KEY
Accept: */*
{
"pageNumber": 1,
"pageSize": 15,
"orderBy": "text",
"orderDirection": "ASCENDING",
"items": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-11-06T22:36:22.000Z",
"updatedAt": "2025-11-06T22:36:22.000Z",
"timestamp": "2025-11-06T22:36:22.000Z",
"type": "TEXT",
"senderId": "text",
"sessionId": "123e4567-e89b-12d3-a456-426614174000",
"templateId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"direction": "FROM_HUB",
"status": "PROCESSING",
"origin": "DEFAULT",
"text": "text",
"fileId": "123e4567-e89b-12d3-a456-426614174000",
"refId": "123e4567-e89b-12d3-a456-426614174000",
"readContactAt": "2025-11-06T22:36:22.000Z",
"details": {
"file": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"extension": "text",
"mimeType": "text",
"type": "UNDEFINED",
"publicUrl": "text",
"publicUrlDownload": "text",
"size": 1,
"isThumbnail": true,
"thumbnail": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"publicUrl": "text"
}
},
"files": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"extension": "text",
"mimeType": "text",
"type": "UNDEFINED",
"publicUrl": "text",
"publicUrlDownload": "text",
"size": 1,
"isThumbnail": true,
"thumbnail": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"publicUrl": "text"
}
}
],
"fileAsLink": {
"file": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"extension": "text",
"mimeType": "text",
"type": "UNDEFINED",
"publicUrl": "text",
"publicUrlDownload": "text",
"size": 1,
"isThumbnail": true,
"thumbnail": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"publicUrl": "text"
}
},
"shortUrl": "text"
},
"location": {
"latitude": 1,
"longitude": 1,
"address": "text",
"name": "text",
"url": "text"
},
"contact": {
"name": "text",
"email": "text",
"phoneNumber": "text",
"phoneNumberFormatted": "text"
},
"errors": [
{
"date": "2025-11-06T22:36:22.000Z",
"origin": "text",
"key": "text",
"text": "text"
}
],
"footerText": "text",
"utm": {
"sourceId": "text",
"source": "text",
"clid": "text",
"medium": "text",
"campaign": "text",
"content": "text",
"headline": "text",
"term": "text",
"referralUrl": "text"
},
"payTransactionId": "123e4567-e89b-12d3-a456-426614174000",
"reactionToContact": "SMILE",
"reactionFromContact": "text",
"track": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-11-06T22:36:22.000Z",
"type": "ACCESS_PAGE",
"pageTitle": "text",
"pageUrl": "text",
"pageUtm": {
"sourceId": "text",
"source": "text",
"clid": "text",
"medium": "text",
"campaign": "text",
"content": "text",
"headline": "text",
"term": "text",
"referralUrl": "text"
},
"isMobileDevice": true,
"formData": {
"name": "text",
"email": "text",
"phoneNumber": "text",
"annotation": "text"
}
},
"transcription": {
"text": "text",
"processing": true,
"error": true
},
"templateCategoryId": "123e4567-e89b-12d3-a456-426614174000",
"templateCategoryName": "text"
},
"failedReason": "text",
"filesIds": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
],
"totalItems": 1,
"totalPages": 1,
"hasMorePages": true
}Este endpoint segue as mesmas regras do canal de atendimento, por exemplo: uma conversa só pode ser iniciada no WhatsApp utilizando um modelo de mensagem. Caso o contato não esteja cadastrado, ele será cadastrado automaticamente antes do envio. O envio da mensagem será assincrono, ao enviar a mensagem será salva em uma fila de disparo, e será processada posteriormente. Para verificar a situação do envio, consulte pelo endereço /chat/v1/message/{}/status
Texto da mensagem a ser enviada. Obrigatório caso não seja informado o parâmetro templateId ou fileUrl.
ID do modelo de mensagem para a mensagem a ser enviada. Obrigatório caso não seja informado o parâmetro text ou fileUrl.
URL pública de algum arquivo que deseja-se enviar na mensagem. O arquivo enviado deverá seguir as regras do canal de atendimento.
Código do arquivo que deseja-se enviar na mensagem, o ID pode ser obtido nas rotas /core/v2/file, o arquivo deverá seguir as regras do canal de atendimento.
ID de referência para identificar a mensagem externamente como resposta a uma mensagem anterior.
Success
Server Error
POST /chat/v1/session/{id}/message HTTP/1.1
Host: api.wts.chat
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 195
{
"text": "text",
"templateId": "text",
"parameters": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"fileUrl": "text",
"fileId": "123e4567-e89b-12d3-a456-426614174000",
"refId": "123e4567-e89b-12d3-a456-426614174000"
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"sessionId": "123e4567-e89b-12d3-a456-426614174000",
"senderId": "text",
"status": "PROCESSING",
"statusUrl": "text"
}Este endpoint segue as mesmas regras do canal de atendimento, por exemplo: uma conversa só pode ser iniciada no WhatsApp utilizando um modelo de mensagem. Caso o contato não esteja cadastrado, ele será cadastrado automaticamente antes do envio. O envio da mensagem será síncrono, então ele pode demorar um tempo até que o servidor do canal de atencimento responda com um status válido para a mensagem. O tempo máximo que este metodo esperará uma resposta é de 25 segundos, após este tempo ele entregará a última situação da mensagem;
Texto da mensagem a ser enviada. Obrigatório caso não seja informado o parâmetro templateId ou fileUrl.
ID do modelo de mensagem para a mensagem a ser enviada. Obrigatório caso não seja informado o parâmetro text ou fileUrl.
URL pública de algum arquivo que deseja-se enviar na mensagem. O arquivo enviado deverá seguir as regras do canal de atendimento.
Código do arquivo que deseja-se enviar na mensagem, o ID pode ser obtido nas rotas /core/v2/file, o arquivo deverá seguir as regras do canal de atendimento.
ID de referência para identificar a mensagem externamente como resposta a uma mensagem anterior.
Success
Server Error
POST /chat/v1/session/{id}/message/sync HTTP/1.1
Host: api.wts.chat
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 195
{
"text": "text",
"templateId": "text",
"parameters": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"fileUrl": "text",
"fileId": "123e4567-e89b-12d3-a456-426614174000",
"refId": "123e4567-e89b-12d3-a456-426614174000"
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-11-06T22:36:22.000Z",
"updatedAt": "2025-11-06T22:36:22.000Z",
"timestamp": "2025-11-06T22:36:22.000Z",
"type": "TEXT",
"senderId": "text",
"sessionId": "123e4567-e89b-12d3-a456-426614174000",
"templateId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"direction": "FROM_HUB",
"status": "PROCESSING",
"origin": "DEFAULT",
"text": "text",
"fileId": "123e4567-e89b-12d3-a456-426614174000",
"refId": "123e4567-e89b-12d3-a456-426614174000",
"readContactAt": "2025-11-06T22:36:22.000Z",
"details": {
"file": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"extension": "text",
"mimeType": "text",
"type": "UNDEFINED",
"publicUrl": "text",
"publicUrlDownload": "text",
"size": 1,
"isThumbnail": true,
"thumbnail": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"publicUrl": "text"
}
},
"files": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"extension": "text",
"mimeType": "text",
"type": "UNDEFINED",
"publicUrl": "text",
"publicUrlDownload": "text",
"size": 1,
"isThumbnail": true,
"thumbnail": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"publicUrl": "text"
}
}
],
"fileAsLink": {
"file": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"extension": "text",
"mimeType": "text",
"type": "UNDEFINED",
"publicUrl": "text",
"publicUrlDownload": "text",
"size": 1,
"isThumbnail": true,
"thumbnail": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"publicUrl": "text"
}
},
"shortUrl": "text"
},
"location": {
"latitude": 1,
"longitude": 1,
"address": "text",
"name": "text",
"url": "text"
},
"contact": {
"name": "text",
"email": "text",
"phoneNumber": "text",
"phoneNumberFormatted": "text"
},
"errors": [
{
"date": "2025-11-06T22:36:22.000Z",
"origin": "text",
"key": "text",
"text": "text"
}
],
"footerText": "text",
"utm": {
"sourceId": "text",
"source": "text",
"clid": "text",
"medium": "text",
"campaign": "text",
"content": "text",
"headline": "text",
"term": "text",
"referralUrl": "text"
},
"payTransactionId": "123e4567-e89b-12d3-a456-426614174000",
"reactionToContact": "SMILE",
"reactionFromContact": "text",
"track": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-11-06T22:36:22.000Z",
"type": "ACCESS_PAGE",
"pageTitle": "text",
"pageUrl": "text",
"pageUtm": {
"sourceId": "text",
"source": "text",
"clid": "text",
"medium": "text",
"campaign": "text",
"content": "text",
"headline": "text",
"term": "text",
"referralUrl": "text"
},
"isMobileDevice": true,
"formData": {
"name": "text",
"email": "text",
"phoneNumber": "text",
"annotation": "text"
}
},
"transcription": {
"text": "text",
"processing": true,
"error": true
},
"templateCategoryId": "123e4567-e89b-12d3-a456-426614174000",
"templateCategoryName": "text"
},
"failedReason": "text",
"filesIds": [
"123e4567-e89b-12d3-a456-426614174000"
]
}Este endpoint permite a listagem de notas internas de um atendimento.
Número da página a ser obtida.
1Tamanho da página a ser obtida.
15Nome do campo para ser utilizado como pivô da ordenação.
Determina se a ordenação deve ser crescente ou decrescente.
Limite superior de busca, sempre em fuso horário UTM.
Limite inferior de busca, sempre em fuso horário UTM.
Limite superior de busca, sempre em fuso horário UTM.
Limite inferior de busca, sempre em fuso horário UTM.
Success
Server Error
GET /chat/v1/session/{id}/note HTTP/1.1
Host: api.wts.chat
Authorization: YOUR_API_KEY
Accept: */*
{
"pageNumber": 1,
"pageSize": 15,
"orderBy": "text",
"orderDirection": "ASCENDING",
"items": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-11-06T22:36:22.000Z",
"updatedAt": "2025-11-06T22:36:22.000Z",
"timestamp": "2025-11-06T22:36:22.000Z",
"type": "TEXT",
"senderId": "text",
"sessionId": "123e4567-e89b-12d3-a456-426614174000",
"templateId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"direction": "FROM_HUB",
"status": "PROCESSING",
"origin": "DEFAULT",
"text": "text",
"fileId": "123e4567-e89b-12d3-a456-426614174000",
"refId": "123e4567-e89b-12d3-a456-426614174000",
"readContactAt": "2025-11-06T22:36:22.000Z",
"details": {
"file": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"extension": "text",
"mimeType": "text",
"type": "UNDEFINED",
"publicUrl": "text",
"publicUrlDownload": "text",
"size": 1,
"isThumbnail": true,
"thumbnail": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"publicUrl": "text"
}
},
"files": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"extension": "text",
"mimeType": "text",
"type": "UNDEFINED",
"publicUrl": "text",
"publicUrlDownload": "text",
"size": 1,
"isThumbnail": true,
"thumbnail": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"publicUrl": "text"
}
}
],
"fileAsLink": {
"file": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"extension": "text",
"mimeType": "text",
"type": "UNDEFINED",
"publicUrl": "text",
"publicUrlDownload": "text",
"size": 1,
"isThumbnail": true,
"thumbnail": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"publicUrl": "text"
}
},
"shortUrl": "text"
},
"location": {
"latitude": 1,
"longitude": 1,
"address": "text",
"name": "text",
"url": "text"
},
"contact": {
"name": "text",
"email": "text",
"phoneNumber": "text",
"phoneNumberFormatted": "text"
},
"errors": [
{
"date": "2025-11-06T22:36:22.000Z",
"origin": "text",
"key": "text",
"text": "text"
}
],
"footerText": "text",
"utm": {
"sourceId": "text",
"source": "text",
"clid": "text",
"medium": "text",
"campaign": "text",
"content": "text",
"headline": "text",
"term": "text",
"referralUrl": "text"
},
"payTransactionId": "123e4567-e89b-12d3-a456-426614174000",
"reactionToContact": "SMILE",
"reactionFromContact": "text",
"track": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-11-06T22:36:22.000Z",
"type": "ACCESS_PAGE",
"pageTitle": "text",
"pageUrl": "text",
"pageUtm": {
"sourceId": "text",
"source": "text",
"clid": "text",
"medium": "text",
"campaign": "text",
"content": "text",
"headline": "text",
"term": "text",
"referralUrl": "text"
},
"isMobileDevice": true,
"formData": {
"name": "text",
"email": "text",
"phoneNumber": "text",
"annotation": "text"
}
},
"transcription": {
"text": "text",
"processing": true,
"error": true
},
"templateCategoryId": "123e4567-e89b-12d3-a456-426614174000",
"templateCategoryName": "text"
},
"failedReason": "text",
"filesIds": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
],
"totalItems": 1,
"totalPages": 1,
"hasMorePages": true
}Texto da mensagem
Lista de arquivos (Urls)
Lista de arquivos (Ids)
Success
Server Error
POST /chat/v1/session/{id}/note HTTP/1.1
Host: api.wts.chat
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 88
{
"text": "text",
"filesUrls": [
"text"
],
"filesIds": [
"123e4567-e89b-12d3-a456-426614174000"
]
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-11-06T22:36:22.000Z",
"updatedAt": "2025-11-06T22:36:22.000Z",
"timestamp": "2025-11-06T22:36:22.000Z",
"type": "TEXT",
"senderId": "text",
"sessionId": "123e4567-e89b-12d3-a456-426614174000",
"templateId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"direction": "FROM_HUB",
"status": "PROCESSING",
"origin": "DEFAULT",
"text": "text",
"fileId": "123e4567-e89b-12d3-a456-426614174000",
"refId": "123e4567-e89b-12d3-a456-426614174000",
"readContactAt": "2025-11-06T22:36:22.000Z",
"details": {
"file": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"extension": "text",
"mimeType": "text",
"type": "UNDEFINED",
"publicUrl": "text",
"publicUrlDownload": "text",
"size": 1,
"isThumbnail": true,
"thumbnail": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"publicUrl": "text"
}
},
"files": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"extension": "text",
"mimeType": "text",
"type": "UNDEFINED",
"publicUrl": "text",
"publicUrlDownload": "text",
"size": 1,
"isThumbnail": true,
"thumbnail": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"publicUrl": "text"
}
}
],
"fileAsLink": {
"file": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"extension": "text",
"mimeType": "text",
"type": "UNDEFINED",
"publicUrl": "text",
"publicUrlDownload": "text",
"size": 1,
"isThumbnail": true,
"thumbnail": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"publicUrl": "text"
}
},
"shortUrl": "text"
},
"location": {
"latitude": 1,
"longitude": 1,
"address": "text",
"name": "text",
"url": "text"
},
"contact": {
"name": "text",
"email": "text",
"phoneNumber": "text",
"phoneNumberFormatted": "text"
},
"errors": [
{
"date": "2025-11-06T22:36:22.000Z",
"origin": "text",
"key": "text",
"text": "text"
}
],
"footerText": "text",
"utm": {
"sourceId": "text",
"source": "text",
"clid": "text",
"medium": "text",
"campaign": "text",
"content": "text",
"headline": "text",
"term": "text",
"referralUrl": "text"
},
"payTransactionId": "123e4567-e89b-12d3-a456-426614174000",
"reactionToContact": "SMILE",
"reactionFromContact": "text",
"track": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-11-06T22:36:22.000Z",
"type": "ACCESS_PAGE",
"pageTitle": "text",
"pageUrl": "text",
"pageUtm": {
"sourceId": "text",
"source": "text",
"clid": "text",
"medium": "text",
"campaign": "text",
"content": "text",
"headline": "text",
"term": "text",
"referralUrl": "text"
},
"isMobileDevice": true,
"formData": {
"name": "text",
"email": "text",
"phoneNumber": "text",
"annotation": "text"
}
},
"transcription": {
"text": "text",
"processing": true,
"error": true
},
"templateCategoryId": "123e4567-e89b-12d3-a456-426614174000",
"templateCategoryName": "text"
},
"failedReason": "text",
"filesIds": [
"123e4567-e89b-12d3-a456-426614174000"
]
}Este endpoint permite a obtenção de uma nota interna por meio de seu ID.
Success
Server Error
GET /chat/v1/session/note/{id} HTTP/1.1
Host: api.wts.chat
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-11-06T22:36:22.000Z",
"updatedAt": "2025-11-06T22:36:22.000Z",
"timestamp": "2025-11-06T22:36:22.000Z",
"type": "TEXT",
"senderId": "text",
"sessionId": "123e4567-e89b-12d3-a456-426614174000",
"templateId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"direction": "FROM_HUB",
"status": "PROCESSING",
"origin": "DEFAULT",
"text": "text",
"fileId": "123e4567-e89b-12d3-a456-426614174000",
"refId": "123e4567-e89b-12d3-a456-426614174000",
"readContactAt": "2025-11-06T22:36:22.000Z",
"details": {
"file": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"extension": "text",
"mimeType": "text",
"type": "UNDEFINED",
"publicUrl": "text",
"publicUrlDownload": "text",
"size": 1,
"isThumbnail": true,
"thumbnail": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"publicUrl": "text"
}
},
"files": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"extension": "text",
"mimeType": "text",
"type": "UNDEFINED",
"publicUrl": "text",
"publicUrlDownload": "text",
"size": 1,
"isThumbnail": true,
"thumbnail": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"publicUrl": "text"
}
}
],
"fileAsLink": {
"file": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"extension": "text",
"mimeType": "text",
"type": "UNDEFINED",
"publicUrl": "text",
"publicUrlDownload": "text",
"size": 1,
"isThumbnail": true,
"thumbnail": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"publicUrl": "text"
}
},
"shortUrl": "text"
},
"location": {
"latitude": 1,
"longitude": 1,
"address": "text",
"name": "text",
"url": "text"
},
"contact": {
"name": "text",
"email": "text",
"phoneNumber": "text",
"phoneNumberFormatted": "text"
},
"errors": [
{
"date": "2025-11-06T22:36:22.000Z",
"origin": "text",
"key": "text",
"text": "text"
}
],
"footerText": "text",
"utm": {
"sourceId": "text",
"source": "text",
"clid": "text",
"medium": "text",
"campaign": "text",
"content": "text",
"headline": "text",
"term": "text",
"referralUrl": "text"
},
"payTransactionId": "123e4567-e89b-12d3-a456-426614174000",
"reactionToContact": "SMILE",
"reactionFromContact": "text",
"track": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-11-06T22:36:22.000Z",
"type": "ACCESS_PAGE",
"pageTitle": "text",
"pageUrl": "text",
"pageUtm": {
"sourceId": "text",
"source": "text",
"clid": "text",
"medium": "text",
"campaign": "text",
"content": "text",
"headline": "text",
"term": "text",
"referralUrl": "text"
},
"isMobileDevice": true,
"formData": {
"name": "text",
"email": "text",
"phoneNumber": "text",
"annotation": "text"
}
},
"transcription": {
"text": "text",
"processing": true,
"error": true
},
"templateCategoryId": "123e4567-e89b-12d3-a456-426614174000",
"templateCategoryName": "text"
},
"failedReason": "text",
"filesIds": [
"123e4567-e89b-12d3-a456-426614174000"
]
}Este endpoint permite a exclusão de uma nota interna por meio de seu ID.
Success
Server Error
DELETE /chat/v1/session/note/{id} HTTP/1.1
Host: api.wts.chat
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-11-06T22:36:22.000Z",
"updatedAt": "2025-11-06T22:36:22.000Z",
"timestamp": "2025-11-06T22:36:22.000Z",
"type": "TEXT",
"senderId": "text",
"sessionId": "123e4567-e89b-12d3-a456-426614174000",
"templateId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"direction": "FROM_HUB",
"status": "PROCESSING",
"origin": "DEFAULT",
"text": "text",
"fileId": "123e4567-e89b-12d3-a456-426614174000",
"refId": "123e4567-e89b-12d3-a456-426614174000",
"readContactAt": "2025-11-06T22:36:22.000Z",
"details": {
"file": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"extension": "text",
"mimeType": "text",
"type": "UNDEFINED",
"publicUrl": "text",
"publicUrlDownload": "text",
"size": 1,
"isThumbnail": true,
"thumbnail": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"publicUrl": "text"
}
},
"files": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"extension": "text",
"mimeType": "text",
"type": "UNDEFINED",
"publicUrl": "text",
"publicUrlDownload": "text",
"size": 1,
"isThumbnail": true,
"thumbnail": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"publicUrl": "text"
}
}
],
"fileAsLink": {
"file": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"extension": "text",
"mimeType": "text",
"type": "UNDEFINED",
"publicUrl": "text",
"publicUrlDownload": "text",
"size": 1,
"isThumbnail": true,
"thumbnail": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"publicUrl": "text"
}
},
"shortUrl": "text"
},
"location": {
"latitude": 1,
"longitude": 1,
"address": "text",
"name": "text",
"url": "text"
},
"contact": {
"name": "text",
"email": "text",
"phoneNumber": "text",
"phoneNumberFormatted": "text"
},
"errors": [
{
"date": "2025-11-06T22:36:22.000Z",
"origin": "text",
"key": "text",
"text": "text"
}
],
"footerText": "text",
"utm": {
"sourceId": "text",
"source": "text",
"clid": "text",
"medium": "text",
"campaign": "text",
"content": "text",
"headline": "text",
"term": "text",
"referralUrl": "text"
},
"payTransactionId": "123e4567-e89b-12d3-a456-426614174000",
"reactionToContact": "SMILE",
"reactionFromContact": "text",
"track": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-11-06T22:36:22.000Z",
"type": "ACCESS_PAGE",
"pageTitle": "text",
"pageUrl": "text",
"pageUtm": {
"sourceId": "text",
"source": "text",
"clid": "text",
"medium": "text",
"campaign": "text",
"content": "text",
"headline": "text",
"term": "text",
"referralUrl": "text"
},
"isMobileDevice": true,
"formData": {
"name": "text",
"email": "text",
"phoneNumber": "text",
"annotation": "text"
}
},
"transcription": {
"text": "text",
"processing": true,
"error": true
},
"templateCategoryId": "123e4567-e89b-12d3-a456-426614174000",
"templateCategoryName": "text"
},
"failedReason": "text",
"filesIds": [
"123e4567-e89b-12d3-a456-426614174000"
]
}Atualizado