Start (or fetch) a direct-message thread with a user.
curl --request POST \
--url https://tryno.io/api/dm/{username} \
--cookie __session=const options = {method: 'POST', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/dm/{username}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/dm/{username}"
headers = {"cookie": "__session="}
response = requests.post(url, headers=headers)
print(response.text){}{
"error": "<string>"
}{
"error": "<string>"
}messaging
Start (or fetch) a direct-message thread with a user.
POST
/
dm
/
{username}
Start (or fetch) a direct-message thread with a user.
curl --request POST \
--url https://tryno.io/api/dm/{username} \
--cookie __session=const options = {method: 'POST', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/dm/{username}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/dm/{username}"
headers = {"cookie": "__session="}
response = requests.post(url, headers=headers)
print(response.text){}{
"error": "<string>"
}{
"error": "<string>"
}
