Arguments

archived
boolean
default: false

Whether to include archived domains in the response. Defaults to false if not provided.

The search term to filter the domains by.

page
number
default: 1

The page number for pagination.

pageSize
number
default: 50

The number of items per page. Maximum is 50.

Response

id
string
required

The unique identifier of the domain.

slug
string
required

The domain name.

verified
boolean
default: falserequired

Whether the domain is verified.

primary
boolean
default: falserequired

Whether the domain is the primary domain for the workspace.

archived
boolean
default: falserequired

Whether the domain is archived.

placeholder
string
default: "https://dub.co/help/article/what-is-dub"required

Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened.

expiredUrl
string | null
required

The URL to redirect to when a link under this domain has expired.

notFoundUrl
string | null
required

The URL to redirect to when a link under this domain doesn’t exist.

createdAt
string
required

The date the domain was created.

updatedAt
string
required

The date the domain was last updated.

registeredDomain
object | null
required

The registered domain record.