# site\_request\_upload

Source: <https://telegafirst.com/docs/mcp-tool-site-request-upload>
Locale: ru
releaseGitSha: ea133cd4ad87fe549ef000b139be145be9bd1717
sourceContentDigest: 1e7153f946369363b63b6b1d1ba6eccd95b1fccbbe216286176ff77d3d2de03c
Version: 2

# site\_request\_upload

Step 1 of publishing the business's static site to its connected custom domain: declare EVERY file of the bundle (path, byte size, content type) and get back one upload URL per file plus an \`uploadId\`. Upload each file with an HTTP PUT to its URL — the byte length must match what you declared, or the upload is rejected. Declare the WHOLE site, not just what changed: the platform works out which files actually differ from what is deployed and only writes those. Then call \`site\_publish\` with the same \`host\` and the \`uploadId\`. The domain must already be connected to this account (\`domain\_add\_request\` → \`domain\_verify\`), and the bundle must fit the plan's size limit — both are checked here, before any URL is issued. Before you build the pages: every page that carries a link to the business's bot should also carry the platform's small attribution script, or the business cannot tell which page or campaign produced a customer. \`site\_publish\` returns the exact \`\<script>\` line to paste — put it in the page template now and you will not need a second deploy to add it.

## Права и условия

required\_scopes: ALL.

| Поле | Значение |
| - | - |
| description | "Step 1 of publishing the business's static site to its connected custom domain: declare EVERY file of the bundle (path, byte size, content type) and get back one upload URL per file plus an \`uploadId\`. Upload each file with an HTTP PUT to its URL — the byte length must match what you declared, or the upload is rejected. Declare the WHOLE site, not just what changed: the platform works out which files actually differ from what is deployed and only writes those. Then call \`site\_publish\` with the same \`host\` and the \`uploadId\`. The domain must already be connected to this account (\`domain\_add\_request\` → \`domain\_verify\`), and the bundle must fit the plan's size limit — both are checked here, before any URL is issued. Before you build the pages: every page that carries a link to the business's bot should also carry the platform's small attribution script, or the business cannot tell which page or campaign produced a customer. \`site\_publish\` returns the exact \`\<script>\` line to paste — put it in the page template now and you will not need a second deploy to add it." |
| domain | "site" |
| name | "site\_request\_upload" |
| platform\_version | "1.0.20" |
| required\_scopes | \["site:write"] |
| risk | "write" |
| scope | "site:write" |
| title | "Site Request Upload" |

## Входные параметры

[site\_request\_upload: inputSchema](https://telegafirst.com/docs/schema-8fef7bc1d83b43679ce53ccc0faa54e80e9a8ab8d6c147880bd52ae8eb7ca410)

## Результат

null
