Skip to content
For LLMsView as Markdown·

Netlify

Deploy sites, manage DNS, and configure build hooks with the Netlify API.

DetailValue
CategoryCloud & Infra
Base URLhttps://api.netlify.com/api/v1
AuthenticationBearer Token
Endpoints5
Connector keynetlify

Using Netlify in a workflow

  1. Go to Connections and click New Connection.
  2. Pick Netlify from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown — the full list is below.

Available endpoints

EndpointSummary
GET /sitesList all sites
GET /sites/{site_id}Get a site by ID
POST /sitesCreate a new site
GET /sites/{site_id}/deploysList deploys for a site
POST /hooksCreate a notification hook

Each endpoint is documented in full below. Use the outline on the right to jump to one.

GET /sites

List all sites

DetailValue
Operation IDhosting.listSites
MethodGET
Path/sites

Parameters

NameLocationTypeRequired
pagequeryintegerNo
per_pagequeryintegerNo

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Netlify connection from the Connection dropdown.
  3. In the Operation dropdown, select hosting.listSites.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Netlify API reference.

GET /sites/{site_id}

Get a site by ID

DetailValue
Operation IDhosting.getSite
MethodGET
Path/sites/{site_id}

Parameters

NameLocationTypeRequired
site_idpathstringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Netlify connection from the Connection dropdown.
  3. In the Operation dropdown, select hosting.getSite.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Netlify API reference.

POST /sites

Create a new site

DetailValue
Operation IDhosting.createSite
MethodPOST
Path/sites

Parameters

No parameters.

Request Body

FieldType
namestring
custom_domainstring

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Netlify connection from the Connection dropdown.
  3. In the Operation dropdown, select hosting.createSite.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Netlify API reference.

GET /sites/{site_id}/deploys

List deploys for a site

DetailValue
Operation IDhosting.listDeploys
MethodGET
Path/sites/{site_id}/deploys

Parameters

NameLocationTypeRequired
site_idpathstringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Netlify connection from the Connection dropdown.
  3. In the Operation dropdown, select hosting.listDeploys.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Netlify API reference.

POST /hooks

Create a notification hook

DetailValue
Operation IDhosting.createHook
MethodPOST
Path/hooks

Parameters

No parameters.

Request Body

FieldType
site_idstring
typestring
eventstring

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Netlify connection from the Connection dropdown.
  3. In the Operation dropdown, select hosting.createHook.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Netlify API reference.