Verify Domain
Trigger a verification check for a pending domain. This endpoint checks for the required TXT record or Nameserver updates to activate the domain.
Verification Process
This process is asynchronous. The API will return the immediate result of the check. If successful, the domain status updates to active immediately.
Endpoint
PATCHhttps://api.alinflow.com/v1/domain/verify
Headers
| Header | Value | Required |
|---|---|---|
Authorization | Bearer <token> | Yes |
Content-Type | application/json | Yes |
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
domain | string | Yes | The domain name to verify (e.g., example.com). |
Example Request
curl -X PATCH "https://api.alinflow.com/v1/domain/verify" \
-H "Authorization: Bearer <YOUR_API_TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"domain": "example.com"
}'Success Response
{
"success": true,
"message": "Domain verified successfully",
"data": {
"domain": "example.com",
"status": "active",
"verifiedAt": "2023-11-25T10:05:00.000Z"
}
}