latestOpenAPI 3.0.02026-08-202629123.8 KB

351c1f004617

Domains

Add a custom domain

Add a new custom domain to your workspace. You must configure a CNAME DNS record pointing to domains.linklyhq.com before adding the domain.

post/api/v1/domains

Request body

namestring

name

workspace_idinteger required

Workspace ID

Example request

{
  "name": "link.mydomain.com",
  "workspace_id": 33
}

Response

Domain

namestring nullable
workspace_idinteger nullable

Example response

{
  "name": null,
  "workspace_id": 42
}