도메인

도메인 확인

DNS 레코드를 확인하세요.

POST/domains/:id/verify
1curl -X POST 'https://sendtern.com/domains/47be30ca-24b7-48fb-b35d-ff287b89e66d/verify' \
2  -H 'Authorization: Bearer st_your_api_key'
응답
1{
2  "id": "47be30ca-24b7-48fb-b35d-ff287b89e66d",
3  "name": "mail.example.com",
4  "status": "pending",
5  "records": [
6    {
7      "type": "TXT",
8      "name": "_sendtern.mail.example.com",
9      "value": "sendtern-verification=example-token",
10      "status": "pending"
11    }
12  ]
13}

Looks up each record and updates its status. The domain becomes verified when ownership and, in SMTP mode, DKIM match.

경로 매개 변수

idstring필요한 항목

The domain id, for example 47be30ca-24b7-48fb-b35d-ff287b89e66d.