How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Netlify Site API

The Site API from Netlify — 4 operation(s) for site.

Netlify Site API is one of 42 APIs that Netlify publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Site. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an AsyncAPI specification, and a getting-started guide.

This API exposes 10 operations across 6 paths. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against a single base URL, https://api.netlify.com/api/v1.

10 operations 6 paths 0 schemas 1 DELETE3 GET1 PATCH2 POST3 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://api.netlify.com/api/v1/
Authentication
OAuth 2.0
Terms of Service
Resource Areas
1

Authentication & Security 1

Netlify Site API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (netlifyAuth) using the implicit flow. By default, every request must be authenticated.

Paths & Operations 10

Across 6 paths, the API surfaces 10 operations — 1 DELETE, 3 GET, 1 PATCH, 2 POST, 3 PUT. Each is listed below with its method, path, parameters, and response codes.

site 10
GET
/sites
Note: Environment variable keys and values have moved from buildsettings.env and repo.env to a new endpoint. Please use [getEnvVars](tag/environmentVariables/operation/getEnvVars) to retrieve site en…
listSites 4 params → 200default
POST
/sites
Note: Environment variable keys and values have moved from buildsettings.env and repo.env to a new endpoint. Please use [createEnvVars](tag/environmentVariables/operation/createEnvVars) to create env…
createSite 1 param body → 201default
GET
/sites/{site_id}
Note: Environment variable keys and values have moved from buildsettings.env and repo.env to a new endpoint. Please use [getEnvVars](tag/environmentVariables/operation/getEnvVars) to retrieve site en…
getSite 2 params → 200default
PATCH
/sites/{site_id}
Note: Environment variable keys and values have moved from buildsettings.env and repo.env to a new endpoint. Please use [updateEnvVar](tag/environmentVariables/operation/updateEnvVar) to update a sit…
updateSite 1 param body → 200default
DELETE
/sites/{site_id}
deleteSite 1 param → 204default
PUT
/sites/{site_id}/unlink_repo
[Beta] Unlinks the repo from the site. This action will also: - Delete associated deploy keys - Delete outgoing webhooks for the repo - Delete the site's build hooks
unlinkSiteRepo 1 param → 200404
PUT
/sites/{site_id}/enable
Re-enables a site that was previously disabled by the user. Sites that were disabled for usage exceeded or marked as spam cannot be re-enabled via this endpoint.
enableSite 1 param → 204422default
PUT
/sites/{site_id}/disable
Disables a site, preventing it from serving content. The site can be re-enabled later using the enable endpoint.
disableSite 2 params → 204default
POST
/{account_slug}/sites
Note: Environment variable keys and values have moved from buildsettings.env and repo.env to a new endpoint. Please use [createEnvVars](tag/environmentVariables/operation/createEnvVars) to create env…
createSiteInTeam 2 params body → 201default
GET
/{account_slug}/sites
Note: Environment variable keys and values have moved from buildsettings.env and repo.env to a new endpoint. Please use [getEnvVars](tag/environmentVariables/operation/getEnvVars) to retrieve site en…
listSitesForAccount 4 params → 200default

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

netlify-site-api-openapi.yml Raw ↑

Other APIs Netlify publishes across the network.

Netlify accessToken API
Netlify accountMembership API
Netlify accountType API
Netlify Asset API
Netlify assetPublicSignature API
Netlify auditLog API
Netlify Build API
Netlify buildHook API
Netlify buildLogMsg API
Netlify Deploy API
Netlify deployedBranch API
Netlify deployKey API
Where this information came from

This is an independent, third-party profile of Netlify Site API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.