v1

latestOpenAPI 3.0.12026-07-26105162235.7 KB
Conversas

Concluir

put/v1/session/{id}/complete

Path parameters

idstring uuid required

ID da conversa.

Request body

reactivateOnNewMessageboolean

Determina se a conversa deve ser reativada ao receber uma nova mensagem do contato. O valor padrão é false.

stopBotInExecutionboolean

Determina se o chatbot de automação em execução deve ser interrompido. O valor padrão é false.

Response

Success

idstring uuid
createdAtstring date-time
updatedAtstring date-time
startAtstring date-time
endAtstring date-time nullable
status'UNDEFINED' | 'STARTED' | 'PENDING' | 'IN_PROGRESS' | 'COMPLETED' | 'HIDDEN'
companyIdstring uuid
contactIdstring uuid nullable
channelIdstring uuid
departmentIdstring uuid nullable
userIdstring uuid nullable
previewUrlstring nullable
titlestring nullable
numberstring nullable
originstring nullable
statusDescriptionstring nullable
timeServicestring nullable
timeWaitstring nullable
firstResponseAtstring date-time nullable
botIdstring uuid nullable
unreadCountinteger
lastMessageTextstring nullable
lastInteractionDatestring date-time nullable
lastMessageOutstring date-time nullable
lastMessageInstring date-time nullable
windowStatus'ACTIVE' | 'EXPIRED' | 'NOT_STARTED'
metadataobject nullable
channelType'GUPSHUP_WHATSAPP' | 'DIALOG360_WHATSAPP' | 'CLOUDAPI_WHATSAPP' | 'ZAPI_WHATSAPP' | 'EVOLUTIONAPI_WHATSAPP' | 'INSTAGRAM' | 'MESSENGER' nullable