dub.domains.create
Create a domain for the authenticated workspace.
Arguments
Name of the domain. Eg. acme.com
.
The type of redirect to use for this domain.
The page your users will get redirected to when they visit your domain.
Redirect users to a specific URL when any link under this domain has expired.
Whether to archive this domain. false will unarchive a previously archived domain.
Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened.
Response
The unique identifier of the domain.
The domain name.
Whether the domain is verified.
Whether the domain is the primary domain for the workspace.
Whether the domain is archived.
Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened.
The URL to redirect to when a link under this domain has expired.
The page your users will get redirected to when they visit your domain.
The type of redirect to use for this domain. Available values are redirect
and rewrite
.
The number of clicks on the domain.