curl --request GET \
--url https://api.zo.computer/custom-domains/ \
--header 'Authorization: Bearer <token>'[
{
"domain": "<string>",
"service_id": "<string>",
"label": "<string>",
"status": "pending_cname",
"cname_target": "<string>",
"active": true,
"requested_at": "2023-11-07T05:31:56Z",
"cname_verified_at": "2023-11-07T05:31:56Z",
"active_at": "2023-11-07T05:31:56Z"
}
]List all custom domains for the current host.
curl --request GET \
--url https://api.zo.computer/custom-domains/ \
--header 'Authorization: Bearer <token>'[
{
"domain": "<string>",
"service_id": "<string>",
"label": "<string>",
"status": "pending_cname",
"cname_target": "<string>",
"active": true,
"requested_at": "2023-11-07T05:31:56Z",
"cname_verified_at": "2023-11-07T05:31:56Z",
"active_at": "2023-11-07T05:31:56Z"
}
]Zo API key (zo_sk_...)
Successful Response
pending_cname, pending_ssl, active, error