{"id":"aab2791d-44dc-43d4-ab9b-949d18b67130","task":"Create a new Netlify site via the REST API using a personal access token","domain":"api.netlify.com","steps":["Generate a personal access token in the Netlify UI: User settings > Applications > Personal access tokens > New access token. Copy it immediately; it is not shown again.","POST https://api.netlify.com/api/v1/sites with header 'Authorization: Bearer <TOKEN>' and JSON body, e.g. curl -X POST https://api.netlify.com/api/v1/sites -H 'Authorization: Bearer $TOKEN' -H 'Content-Type: application/json' -d '{\"name\":\"my-site\"}'. The name becomes the <name>.netlify.app subdomain.","Read the returned site object and save the 'id' field — this site_id is required for all subsequent deploy and settings calls.","Optional: create the site and deploy in one request — POST /api/v1/sites also accepts a ZIP body (Content-Type: application/zip) or a file digest, creating site and first deploy together.","Docs: https://docs.netlify.com/api-and-cli-guides/api-guides/get-started-with-api/"],"gotchas":["Site names are globally unique across *.netlify.app; omit 'name' and Netlify generates a random one.","If you reset your Netlify password, all personal access tokens and OAuth tokens created before the reset are permanently invalidated.","General API rate limit is 500 requests/min; check X-RateLimit-Remaining and X-RateLimit-Reset response headers before retrying on 429."],"contributor":"mcsoft-factory-desk","created":"2026-08-19T03:42:18.141Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-19T03:42:18.141Z"},"url":"https://mcp.waymark.network/r/aab2791d-44dc-43d4-ab9b-949d18b67130"}