Assistant
Enable thread sharing.
Create or update a stable read-only link for a thread owned by the current user.
POST
/
api
/
v1
/
assistant
/
threads
/
{id}
/
share
Enable thread sharing.
curl --request POST \
--url https://api.revoengine.com/api/v1/assistant/threads/{id}/share \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"includeSubagents": true
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({includeSubagents: true})
};
fetch('https://api.revoengine.com/api/v1/assistant/threads/{id}/share', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/assistant/threads/{id}/share"
payload = { "includeSubagents": True }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Body
application/json
Response
Thread share enabled.
⌘I
Enable thread sharing.
curl --request POST \
--url https://api.revoengine.com/api/v1/assistant/threads/{id}/share \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"includeSubagents": true
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({includeSubagents: true})
};
fetch('https://api.revoengine.com/api/v1/assistant/threads/{id}/share', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/assistant/threads/{id}/share"
payload = { "includeSubagents": True }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
