Скачать оригинал письма
curl --request GET \
--url https://taimly.net/api/spam-check/{check_id}/raw \
--header 'Authorization: Bearer <token>'import requests
url = "https://taimly.net/api/spam-check/{check_id}/raw"
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/spam-check/{check_id}/raw', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));"<string>"Spam Check
Скачать оригинал письма
Отдаёт оригинал письма, полученного тестовым аккаунтом, — байт в байт, файлом .eml (message/rfc822). Это то же, что «Показать оригинал» → «Скачать оригинал» в Gmail: все заголовки, тело и вложения.
В отличие от поля raw в JSON, здесь нет экранирования и перекодировки — удобно, когда нужен сам файл или письмо большое.
GET
/
api
/
spam-check
/
{check_id}
/
raw
Скачать оригинал письма
curl --request GET \
--url https://taimly.net/api/spam-check/{check_id}/raw \
--header 'Authorization: Bearer <token>'import requests
url = "https://taimly.net/api/spam-check/{check_id}/raw"
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/spam-check/{check_id}/raw', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));"<string>"Authorizations
API-ключ. Передаётся в заголовке Authorization: Bearer <ваш_ключ>. Ключ выдаётся администратором Taimly.
Path Parameters
Идентификатор проверки из ответа POST /api/spam-check/start
Example:
"a1b2c3d4e5f6"
Query Parameters
Тестовый аккаунт — email из results (можно и адрес с тегом +tc_…)
Example:
"inbox1@gmail.com"
Response
Файл .eml
The response is of type string.

