Initiate the domain verification process by generating a unique TXT record. You must add this record to your domain's DNS settings to prove ownership. This is often a prerequisite for activating certain services.
domain string required
Example: example.com Fully qualified domain name
Accept Example Content-Type Example data object required data.domain string required
· Example: example.com data.expiresAt string required
· Example: 2026-02-10T00:00:00.000Z data.id string required
· Example: a74f9eda-8e2f-7f03-a289-6d7f941d5476 data.nameservers array<string>
· Example: ["primary.ns.hostup.se","secondary.ns.hostup.se"] data.status string
· Example: pending data.txtRecordName string
· Example: _hostup-example.com data.txtRecordValue string · enum
· Example: hostup-verify=EXAMPLE_VERIFICATION_TOKEN hostup-verify=EXAMPLE_VERIFICATION_TOKEN requestId string required
· Example: 2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba Unique request identifier (UUID).
success boolean required
· Example: true True for successful responses.
timestamp string
· Example: 2026-02-10T00:00:00.000Z ISO 8601 timestamp (UTC).
data object required data.domain string required
· Example: example.com data.expiresAt string required
· Example: 2026-02-10T00:00:00.000Z data.id string required
· Example: 3f849f25-b15d-d561-00d5-3020998ea255 data.nameservers array<string>
· Example: ["primary.ns.hostup.se","secondary.ns.hostup.se"] data.status string
· Example: pending data.txtRecordName string
· Example: _hostup-example.com data.txtRecordValue string
· Example: hostup-verify=EXAMPLE_VERIFICATION_TOKEN requestId string required
· Example: 2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba Unique request identifier (UUID).
success boolean required
· Example: true True for successful responses.
timestamp string
· Example: 2026-02-10T00:00:00.000Z ISO 8601 timestamp (UTC).
https://cloud.hostup.se/api/dns/verify/{domain} curl -X POST "https://cloud.hostup.se/api/dns/verify/example.com" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "2026-02-10T00:00:00.000Z",
"requestId": "2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba",
"data": {
"id": "a74f9eda-8e2f-7f03-a289-6d7f941d5476",
"domain": "example.com",
"txtRecordName": "_hostup-example.com",
"txtRecordValue": "hostup-verify=EXAMPLE_VERIFICATION_TOKEN",
"expiresAt": "2026-02-10T00:00:00.000Z",
"status": "pending",
"nameservers": [
"primary.ns.hostup.se",
"secondary.ns.hostup.se"
]
}
}