Resolve a conversation
Marks a conversation as resolved
POST
/
public
/
api
/
v1
/
inboxes
/
{inbox_identifier}
/
contacts
/
{contact_identifier}
/
conversations
/
{conversation_id}
/
toggle_status
Resolve a conversation
curl --request POST \
--url https://chat.wiseapp360.com/public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}/toggle_statusconst options = {method: 'POST'};
fetch('https://chat.wiseapp360.com/public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}/toggle_status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://chat.wiseapp360.com/public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}/toggle_status"
response = requests.post(url)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://chat.wiseapp360.com/public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}/toggle_status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://chat.wiseapp360.com/public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}/toggle_status"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://chat.wiseapp360.com/public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}/toggle_status")
.asString();{
"id": 1,
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"inbox_id": 1,
"contact_last_seen_at": 1,
"status": "open",
"agent_last_seen_at": 1,
"messages": [
{
"id": 1,
"content": "Sample text",
"message_type": 1,
"content_type": "Sample text",
"content_attributes": {
"source": "api",
"segment": "enterprise"
},
"created_at": 1,
"conversation_id": 1,
"attachments": [
{
"id": 1,
"message_id": 1,
"file_type": "image",
"account_id": 1,
"extension": "Sample text",
"data_url": "https://example.com/resource",
"thumb_url": "https://example.com/resource",
"file_size": 1,
"width": 1,
"height": 1,
"coordinates_lat": 1,
"coordinates_long": 1
}
],
"sender": {
"id": 1,
"name": "Sample resource",
"avatar_url": "https://example.com/resource",
"thumbnail": "Sample text",
"type": "contact",
"available_name": "Sample resource",
"availability_status": "open",
"email": "agent@example.com",
"phone_number": "+15551234567",
"identifier": "Sample text",
"blocked": true,
"additional_attributes": {
"source": "api",
"segment": "enterprise"
}
}
}
],
"contact": {
"id": 1,
"name": "Sample resource",
"email": "agent@example.com",
"phone_number": "+15551234567",
"identifier": "Sample text",
"blocked": true,
"additional_attributes": {
"source": "api",
"segment": "enterprise"
},
"custom_attributes": {
"source": "api",
"segment": "enterprise"
},
"contact_type": "Sample text",
"country_code": "Sample text",
"last_activity_at": "2026-05-20T12:00:00Z",
"created_at": "2026-05-20T12:00:00Z"
}
}{
"error": "Unauthorized"
}{
"error": "Resource not found"
}Parâmetros de caminho
Resposta
Conversation resolved successfully
⌘I
Resolve a conversation
curl --request POST \
--url https://chat.wiseapp360.com/public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}/toggle_statusconst options = {method: 'POST'};
fetch('https://chat.wiseapp360.com/public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}/toggle_status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://chat.wiseapp360.com/public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}/toggle_status"
response = requests.post(url)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://chat.wiseapp360.com/public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}/toggle_status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://chat.wiseapp360.com/public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}/toggle_status"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://chat.wiseapp360.com/public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}/toggle_status")
.asString();{
"id": 1,
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"inbox_id": 1,
"contact_last_seen_at": 1,
"status": "open",
"agent_last_seen_at": 1,
"messages": [
{
"id": 1,
"content": "Sample text",
"message_type": 1,
"content_type": "Sample text",
"content_attributes": {
"source": "api",
"segment": "enterprise"
},
"created_at": 1,
"conversation_id": 1,
"attachments": [
{
"id": 1,
"message_id": 1,
"file_type": "image",
"account_id": 1,
"extension": "Sample text",
"data_url": "https://example.com/resource",
"thumb_url": "https://example.com/resource",
"file_size": 1,
"width": 1,
"height": 1,
"coordinates_lat": 1,
"coordinates_long": 1
}
],
"sender": {
"id": 1,
"name": "Sample resource",
"avatar_url": "https://example.com/resource",
"thumbnail": "Sample text",
"type": "contact",
"available_name": "Sample resource",
"availability_status": "open",
"email": "agent@example.com",
"phone_number": "+15551234567",
"identifier": "Sample text",
"blocked": true,
"additional_attributes": {
"source": "api",
"segment": "enterprise"
}
}
}
],
"contact": {
"id": 1,
"name": "Sample resource",
"email": "agent@example.com",
"phone_number": "+15551234567",
"identifier": "Sample text",
"blocked": true,
"additional_attributes": {
"source": "api",
"segment": "enterprise"
},
"custom_attributes": {
"source": "api",
"segment": "enterprise"
},
"contact_type": "Sample text",
"country_code": "Sample text",
"last_activity_at": "2026-05-20T12:00:00Z",
"created_at": "2026-05-20T12:00:00Z"
}
}{
"error": "Unauthorized"
}{
"error": "Resource not found"
}