Field | Type | Required | Description | Example |
---|---|---|---|---|
id |
string | ✔️ | The unique identifier of the domain. | |
slug |
string | ✔️ | The domain name. | acme.com |
createdAt |
string | ✔️ | The date the domain was created. | |
updatedAt |
string | ✔️ | The date the domain was last updated. | |
verified |
?bool | ➖ | Whether the domain is verified. | |
primary |
?bool | ➖ | Whether the domain is the primary domain for the workspace. | |
archived |
?bool | ➖ | Whether the domain is archived. | |
placeholder |
string | ✔️ | Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened. | https://dub.co/help/article/what-is-dub |
expiredUrl |
string | ✔️ | The URL to redirect to when a link under this domain has expired. | https://acme.com/expired |
notFoundUrl |
string | ✔️ | The URL to redirect to when a link under this domain doesn't exist. | https://acme.com/not-found |
logo |
string | ✔️ | The logo of the domain. | |
registeredDomain |
Components\RegisteredDomain | ✔️ | The registered domain record. |