Скачать вложение
curl --request GET \
--url https://taimly.net/api/mail/messages/{message_id}/attachments/{index} \
--header 'Authorization: Bearer <token>'import requests
url = "https://taimly.net/api/mail/messages/{message_id}/attachments/{index}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://taimly.net/api/mail/messages/{message_id}/attachments/{index}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));"<string>"Временные почты
Скачать вложение
Файл вложения. index — из списка attachments письма.
GET
/
api
/
mail
/
messages
/
{message_id}
/
attachments
/
{index}
Скачать вложение
curl --request GET \
--url https://taimly.net/api/mail/messages/{message_id}/attachments/{index} \
--header 'Authorization: Bearer <token>'import requests
url = "https://taimly.net/api/mail/messages/{message_id}/attachments/{index}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://taimly.net/api/mail/messages/{message_id}/attachments/{index}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));"<string>"Authorizations
API-ключ. Передаётся в заголовке Authorization: Bearer <ваш_ключ>. Ключ выдаётся администратором Taimly.
Path Parameters
id письма
Example:
"9f2c4e1a7b3d5f60"
index вложения из attachments
Required range:
x >= 0Example:
0
Response
Файл вложения
The response is of type file.

