Tool to attach a custom domain to a Vercel project. Use when you need to add a domain to a project for production or branch-specific deployments. After adding, the domain must be verified by completing the verification challenges returned in the response.
nameRequiredstringThe domain name to add to the project (e.g., 'www.example.com', 'app.mydomain.com')
slugstringTeam slug to perform the request on behalf of
teamIdstringTeam identifier to perform the request on behalf of
idOrNameRequiredstringThe unique project identifier or project name
redirectstringTarget destination domain for redirection. **PREREQUISITE: The target domain must already be added to the project first** (call this action without redirect parameters to add the target domain, then call again with redirect parameters to add the redirecting domain). When set, re…
gitBranchstringGit branch to associate with this domain. When set, deployments from this branch will be accessible via this domain. Maximum 250 characters. IMPORTANT: Cannot be used together with 'redirect' or 'redirect_status_code' - these are mutually exclusive domain configuration modes.
redirectStatusCodeintegerHTTP status code for redirect. Required when 'redirect' is set. 301: Permanent redirect (cached by browsers), 302: Temporary redirect, 307: Temporary redirect (preserves method), 308: Permanent redirect (preserves method). IMPORTANT: Cannot be used together with 'git_branch' - t…
customEnvironmentIdstringCustom environment identifier within the project to associate with this domain
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.