List messages in a DM thread.
curl --request GET \
--url https://tryno.io/api/threads/{threadId}/messages \
--cookie __session=const options = {method: 'GET', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/threads/{threadId}/messages', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/threads/{threadId}/messages"
headers = {"cookie": "__session="}
response = requests.get(url, headers=headers)
print(response.text){}{
"error": "<string>"
}{
"error": "<string>"
}messaging
List messages in a DM thread.
GET
/
threads
/
{threadId}
/
messages
List messages in a DM thread.
curl --request GET \
--url https://tryno.io/api/threads/{threadId}/messages \
--cookie __session=const options = {method: 'GET', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/threads/{threadId}/messages', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/threads/{threadId}/messages"
headers = {"cookie": "__session="}
response = requests.get(url, headers=headers)
print(response.text){}{
"error": "<string>"
}{
"error": "<string>"
}
