Hosting & Deployment
Bearer Token
Netlify REST API
Deploy and manage modern web applications at scale
Netlify is a cloud platform for deploying and hosting static websites, serverless functions, and JAMstack applications. The Netlify API enables developers to programmatically manage deployments, configure domains, handle form submissions, and control build processes. It's widely used for CI/CD automation, multi-environment deployments, and building custom deployment workflows.
Base URL
https://api.netlify.com/api/v1
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /sites | List all sites in your Netlify account |
| GET | /sites/{site_id} | Get details for a specific site |
| POST | /sites | Create a new site |
| PATCH | /sites/{site_id} | Update site configuration |
| DELETE | /sites/{site_id} | Delete a site |
| GET | /sites/{site_id}/deploys | List all deploys for a site |
| POST | /sites/{site_id}/deploys | Create a new deploy |
| GET | /deploys/{deploy_id} | Get deploy details |
| POST | /sites/{site_id}/builds | Trigger a new build |
| GET | /sites/{site_id}/forms | List forms for a site |
| GET | /forms/{form_id}/submissions | Get form submissions |
| GET | /sites/{site_id}/snippets | List snippet injections for a site |
| POST | /sites/{site_id}/snippets | Create a snippet injection |
| GET | /hooks | List build hooks |
| POST | /hooks | Create a build hook |
Code Examples
curl -X GET 'https://api.netlify.com/api/v1/sites' \
-H 'Authorization: Bearer YOUR_NETLIFY_TOKEN' \
-H 'Content-Type: application/json'
Connect Netlify to AI
Deploy a Netlify MCP server on IOX Cloud and connect it to Claude, ChatGPT, Cursor, or any AI client. Your AI assistant gets direct access to Netlify through these tools:
deploy_site
Deploy a site to Netlify from a Git repository or local files
list_sites
Retrieve all sites in the Netlify account with deployment status
trigger_build
Trigger a new build for a specific site using build hooks
manage_environment_variables
Set, update, or retrieve environment variables for a site
get_form_submissions
Fetch form submissions from Netlify Forms for analysis
Deploy in 60 seconds
Describe what you need, AI generates the code, and IOX deploys it globally.
Deploy Netlify MCP Server →