Share a thread
curl --request PATCH \
--url https://api.dualmindlab.tech/api/threads/{threadId}/visibility \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"visibility": "unlisted"
}
'import requests
url = "https://api.dualmindlab.tech/api/threads/{threadId}/visibility"
payload = { "visibility": "unlisted" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({visibility: 'unlisted'})
};
fetch('https://api.dualmindlab.tech/api/threads/{threadId}/visibility', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({visibility: 'unlisted'})
};
fetch('https://api.dualmindlab.tech/api/threads/{threadId}/visibility', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.dualmindlab.tech/api/threads/{threadId}/visibility"
payload := strings.NewReader("{\n \"visibility\": \"unlisted\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}using RestSharp;
var options = new RestClientOptions("https://api.dualmindlab.tech/api/threads/{threadId}/visibility");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
request.AddJsonBody("{\n \"visibility\": \"unlisted\"\n}", false);
var response = await client.PatchAsync(request);
Console.WriteLine("{0}", response.Content);
HttpResponse<String> response = Unirest.patch("https://api.dualmindlab.tech/api/threads/{threadId}/visibility")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"visibility\": \"unlisted\"\n}")
.asString();{
"success": true,
"message": "Thread visibility updated successfully",
"visibility": "unlisted"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}Threads
Share a thread
Change who can see a thread. Share links use https://arena.dualmindlab.tech/share/{threadId}.
PATCH
/
api
/
threads
/
{threadId}
/
visibility
Share a thread
curl --request PATCH \
--url https://api.dualmindlab.tech/api/threads/{threadId}/visibility \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"visibility": "unlisted"
}
'import requests
url = "https://api.dualmindlab.tech/api/threads/{threadId}/visibility"
payload = { "visibility": "unlisted" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({visibility: 'unlisted'})
};
fetch('https://api.dualmindlab.tech/api/threads/{threadId}/visibility', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({visibility: 'unlisted'})
};
fetch('https://api.dualmindlab.tech/api/threads/{threadId}/visibility', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.dualmindlab.tech/api/threads/{threadId}/visibility"
payload := strings.NewReader("{\n \"visibility\": \"unlisted\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}using RestSharp;
var options = new RestClientOptions("https://api.dualmindlab.tech/api/threads/{threadId}/visibility");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
request.AddJsonBody("{\n \"visibility\": \"unlisted\"\n}", false);
var response = await client.PatchAsync(request);
Console.WriteLine("{0}", response.Content);
HttpResponse<String> response = Unirest.patch("https://api.dualmindlab.tech/api/threads/{threadId}/visibility")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"visibility\": \"unlisted\"\n}")
.asString();{
"success": true,
"message": "Thread visibility updated successfully",
"visibility": "unlisted"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}visibility | Who can read it |
|---|---|
private | Only you |
unlisted | Anyone with the link |
public | Anyone |
https://arena.dualmindlab.tech/share/{threadId}.Authorizations
The access token from your DualMind Arena session (a Supabase JWT). See Authentication.
Path Parameters
Thread ID.
Body
application/json
Available options:
private, unlisted, public Last modified on October 18, 2026
⌘I