Field | Type | Required | Description | Example |
---|---|---|---|---|
slug |
string | ✔️ | Name of the domain. | acme.com |
archived |
?bool | ➖ | Whether to archive this domain. false will unarchive a previously archived domain. |
false |
expiredUrl |
?string | ➖ | Redirect users to a specific URL when any link under this domain has expired. | https://acme.com/expired |
notFoundUrl |
?string | ➖ | Redirect users to a specific URL when a link under this domain doesn't exist. | https://acme.com/not-found |
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 |
logo |
?string | ➖ | The logo of the domain. |