SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester
site builder

Check whether the DNS records are in place and mark the domain verified.

DNS can take a while to propagate; retry later while status stays pending.

POSThttps://app.softsolz.uk/api/v1/services/site-builder/projects/{id}/domains/{domain_id}/verify

Recent Requests

Log in to see full request history
TimeStatusUser Agent
Make a request to see history.

Path Params

idstringrequired
domain_idstringrequired

Headers

Authorizationstringrequired

Bearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.

Idempotency-Keystring

Optional idempotency key for safe retries.

Response

Response Body

idintegerDomain id.
domainstringHostname.
statusstringpending until DNS is verified.
dns_recordsarray of objectsRecords to create at the registrar: { type, name, value }.
last_checked_atstring | nullLast verification attempt.
verified_atstring | nullWhen DNS verified.
created_atstringAdded at.

Request

import { SoftSolz } from '@softsolz/sdk';
const client = new SoftSolz({ apiKey: process.env.SOFTSOLZ_API_KEY });
const result = await client.siteBuilder.verifyProjectDomain('<id>', '<domain_id>', {});
console.log(result);

Credentials

Sent as a Bearer token. Stored only in your browser.

Response · 200

{
"data": {
"id": 0,
"domain": "string",
"status": "string",
"dns_records": [],
"last_checked_at": "string",
"verified_at": "string",
"created_at": "string"
}
}