v1
latestOpenAPI 3.0.12026-08-04115177259.2 KBConversas
Alterar status
put/v1/session/{id}/status
Path parameters
idstring uuid required
ID da conversa.
Request body
newStatus'UNDEFINED' | 'STARTED' | 'PENDING' | 'IN_PROGRESS' | 'COMPLETED' | 'HIDDEN' required
Novo status para a conversa.
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