Vercel Projects icon

Vercel Projects

Manage Vercel projects via the Vercel REST API

List Project Domains

AI-generated

Summary

Lists the domains attached to a Vercel project by calling GET /v9/projects/{projectIdOrName}/domains on the Vercel REST API.

Inputs

  • projectIdOrName (required) — The Vercel project ID or name. It is URL-encoded and inserted into the request path. It is evaluated per input item, so expressions can vary it.

Output shape

One output item per input item. Each item's json is the raw Vercel API response for the project's domains, typically an object with a domains list and pagination info. Each item is paired to its input item.

The request uses the access token from the vercelApi credential. It sends the credential's team ID as the teamId query parameter when one is set. The source also reads a 'teamIdOverride' parameter, but this operation doesn't declare it, so the default empty value is used. No pagination or filtering options are exposed. With Continue On Fail enabled, a failed item returns json {error: message} instead of stopping the workflow. Otherwise the node throws a NodeApiError.

Examples

Example 1: Check which domains are attached to a project before a deployment audit.

Operation: List Project Domains; Project ID or Name: my-site

Example 2: Audit domains for many projects coming from an earlier node.

Operation: List Project Domains; Project ID or Name: {{ $json.projectName }}

Links

Discussion