API · Domains
Verify Domain
Start DNS verification or retry a failed domain setup (requires full access). Verification runs asynchronously and is limited to one request per domain every 10 seconds; earlier retries return 422.
POST
/domains/{id}/verifyFull accessRequest parameters
| Parameter | Type | Description |
|---|---|---|
idpath · required | string | Opaque resource id. |
Idempotency-Keyheader · optional | string1–256 characters | Makes the request safe to retry. See Idempotency. |
Request example
Set OPENSEND_BASE_URL=https://api.example.com and OPENSEND_API_KEY=os_replace_me on your server.
bash
curl -X POST "$OPENSEND_BASE_URL/domains/YOUR_id/verify" \
-H "Authorization: Bearer $OPENSEND_API_KEY"Response
200 · application/json. Example IDs stand for IDs returned by your installation.
json
{
"object": "domain",
"id": "YOUR_ID"
}Behavior and errors
Checks are limited to one per domain every 10 seconds. A successful response starts the check; retrieve the domain again to inspect its status.
Use a full-access credential. Resource IDs belong to your team; an unknown or foreign resource returns 404. See authentication, errors, rate limits, and compatibility for the shared contract.