Verify a domain
curl --request POST \
--url https://api.storiza.store/apps/{id}/exposures/{exposureId}/verify \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.storiza.store/apps/{id}/exposures/{exposureId}/verify', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.storiza.store/apps/{id}/exposures/{exposureId}/verify"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"success": true,
"message": "Verification checked",
"data": {
"appId": "<string>",
"name": "<string>",
"protocol": "http",
"type": "domain",
"containerPort": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"externalPort": 123,
"hostname": "<string>",
"isDomainVerificationRequired": false,
"isDomainVerified": false,
"verificationTarget": "<string>",
"verifiedAt": "2023-11-07T05:31:56Z",
"verificationError": "<string>",
"lastCheckedAt": "2023-11-07T05:31:56Z",
"isManaged": false,
"isEnabled": true
}
}
App domains
Verify a domain
Check a domain’s DNS now, rather than waiting for the five-minute pass.
Always 200: a domain that does not yet point at us is an answer, not an error. Read verification for the verdict and verificationError for why — it is the field worth showing the customer, since a record can be visible to our resolver before it has propagated to theirs.
A port or a hostname under our own apex needs no proof and is returned unchanged.
Required API key permission: null
POST
/
apps
/
{id}
/
exposures
/
{exposureId}
/
verify
Verify a domain
curl --request POST \
--url https://api.storiza.store/apps/{id}/exposures/{exposureId}/verify \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.storiza.store/apps/{id}/exposures/{exposureId}/verify', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.storiza.store/apps/{id}/exposures/{exposureId}/verify"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"success": true,
"message": "Verification checked",
"data": {
"appId": "<string>",
"name": "<string>",
"protocol": "http",
"type": "domain",
"containerPort": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"externalPort": 123,
"hostname": "<string>",
"isDomainVerificationRequired": false,
"isDomainVerified": false,
"verificationTarget": "<string>",
"verifiedAt": "2023-11-07T05:31:56Z",
"verificationError": "<string>",
"lastCheckedAt": "2023-11-07T05:31:56Z",
"isManaged": false,
"isEnabled": true
}
}
Authorizations
An API key from the Storiza dashboard (API & Integrations), sent as Authorization: Bearer stz_….
Was this page helpful?