You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Publishes a site or an individual page to one or more domains.
537
+
If multiple individual pages are published to staging, publishing from staging to production publishes all staged changes.
537
538
538
539
To publish to a specific custom domain, use the domain IDs from the [Get Custom Domains](/data/reference/sites/get-custom-domain) endpoint.
539
540
540
541
You must include at least one of the `customDomains` or `publishToWebflowSubdomain` properties in the request body.
541
542
543
+
To publish an individual page instead of the entire site, provide the ID of the page in the `pageId` parameter.
544
+
542
545
<Notetitle="Rate limit: 1 publish per minute">This endpoint has a specific rate limit of one successful publish queue per minute.</Note>
543
546
544
547
Required scope | `sites:write`
@@ -1828,6 +1831,8 @@ Get a list of scripts that have been registered to a site. A site can have a max
1828
1831
To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.
1829
1832
</Note>
1830
1833
1834
+
<Note>Access to this endpoint requires a bearer token obtained from an [OAuth Code Grant Flow](/data/reference/oauth-app).</Note>
1835
+
1831
1836
Required scope | `custom_code:read`
1832
1837
</dd>
1833
1838
</dl>
@@ -1897,6 +1902,8 @@ Register a hosted script to a site.
1897
1902
To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.
1898
1903
</Note>
1899
1904
1905
+
<Note>Access to this endpoint requires a bearer token obtained from an [OAuth Code Grant Flow](/data/reference/oauth-app).</Note>
1906
+
1900
1907
Required scope | `custom_code:write`
1901
1908
</dd>
1902
1909
</dl>
@@ -1979,6 +1986,8 @@ Register an inline script to a site. Inline scripts are limited to 2000 characte
1979
1986
To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.
1980
1987
</Note>
1981
1988
1989
+
<Note>Access to this endpoint requires a bearer token obtained from an [OAuth Code Grant Flow](/data/reference/oauth-app).</Note>
<Note>Access to this endpoint requires a bearer token obtained from an [OAuth Code Grant Flow](/data/reference/oauth-app).</Note>
6419
+
6409
6420
Required scope | `custom_code:read`
6410
6421
</dd>
6411
6422
</dl>
@@ -6475,6 +6486,8 @@ Apply registered scripts to a page. If you have multiple scripts your App needs
6475
6486
To apply a script to a page, the script must first be registered to a Site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.
6476
6487
</Note>
6477
6488
6489
+
<Note>Access to this endpoint requires a bearer token obtained from an [OAuth Code Grant Flow](/data/reference/oauth-app).</Note>
@@ -7842,6 +8140,8 @@ Get all scripts applied to a site by the App.
7842
8140
To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.
7843
8141
</Note>
7844
8142
8143
+
<Note>Access to this endpoint requires a bearer token obtained from an [OAuth Code Grant Flow](/data/reference/oauth-app).</Note>
8144
+
7845
8145
Required scope | `custom_code:read`
7846
8146
</dd>
7847
8147
</dl>
@@ -7911,6 +8211,8 @@ Apply registered scripts to a site. If you have multiple scripts your App needs
7911
8211
To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.
7912
8212
</Note>
7913
8213
8214
+
<Note>Access to this endpoint requires a bearer token obtained from an [OAuth Code Grant Flow](/data/reference/oauth-app).</Note>
8215
+
7914
8216
Required scope | `custom_code:write`
7915
8217
</dd>
7916
8218
</dl>
@@ -8072,6 +8374,8 @@ Get a list of scripts that have been applied to a site and/or individual pages.
8072
8374
See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.
8073
8375
</Note>
8074
8376
8377
+
<Note>Access to this endpoint requires a bearer token obtained from an [OAuth Code Grant Flow](/data/reference/oauth-app).</Note>
0 commit comments