Domains
Manage custom domains for your branded short links. Domains require DNS verification and SSL is provisioned automatically.
This documentation is available in English only.
Endpoints
POST
/v1/domainsAdd a custom domain
GET
/v1/domainsList all domains
GET
/v1/domains/:idGet domain details
DELETE
/v1/domains/:idRemove a domain
POST
/v1/domains/:id/verifyTrigger DNS verification
Example
curl -X POST https://lnk24.co/api/v1/domains \
-H "Authorization: Bearer lnk_live_abc123" \
-H "Content-Type: application/json" \
-d '{
"hostname": "go.mycompany.com"
}'
// Response
{
"data": {
"id": "dom_xyz789",
"hostname": "go.mycompany.com",
"verified": false,
"dns_record": {
"type": "CNAME",
"name": "go",
"value": "cname.lnk24.co"
}
}
}