Domini
Elenco dei domini
Tutti i domini nell'area di lavoro.
GET/domains
1curl -X GET 'https://sendtern.com/domains' \
2 -H 'Authorization: Bearer st_your_api_key'
Risposta
1[
2 {
3 "id": "47be30ca-24b7-48fb-b35d-ff287b89e66d",
4 "name": "mail.example.com",
5 "status": "pending",
6 "records": [
7 {
8 "type": "TXT",
9 "name": "_sendtern.mail.example.com",
10 "value": "sendtern-verification=example-token",
11 "status": "pending"
12 }
13 ]
14 }
15]
Returns every domain with its status and records.