Список доменов
curl --request GET \
--url https://taimly.net/api/mail/domains \
--header 'Authorization: Bearer <token>'import requests
url = "https://taimly.net/api/mail/domains"
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/domains', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"domains": [
"example.com",
"example.net"
]
}{
"detail": "Invalid or missing API key"
}Временные почты
Список доменов
Домены, на которых сейчас можно создавать ящики. Список может меняться: домены добавляются и отключаются администратором.
GET
/
api
/
mail
/
domains
Список доменов
curl --request GET \
--url https://taimly.net/api/mail/domains \
--header 'Authorization: Bearer <token>'import requests
url = "https://taimly.net/api/mail/domains"
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/domains', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"domains": [
"example.com",
"example.net"
]
}{
"detail": "Invalid or missing API key"
}
