API reference
Verify a site
Trigger a verification check after you've added the DNS TXT record or meta tag. Sift Health looks for the token and updates the site's verification status.
POST
/v1/sites/{id}/verifyPath parameters
| Field | Type | Status | Description |
|---|---|---|---|
| id | string | required | The site id from POST /v1/sites. |
Response
| Field | Type | Description |
|---|---|---|
| verification_status | string | verified on success; otherwise unverified or pending. |
| verification_method | string | null | dns_txt or meta_tag, whichever satisfied the check. |
json
{ "id": "site_a1b2", "verification_status": "verified", "verification_method": "dns_txt" }Examples
curl -s -X POST https://api.sifthealth.app/v1/sites/site_a1b2/verify \
-H "Authorization: Bearer $SIFT_API_KEY"