post https://api.webflow.com/v2/sites//registered_scripts/hosted
Add a script to a Site's Custom Code registry.
In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the registered_scripts
endpoints, and then applied to a Site or Page using the appropriate custom_code
endpoints. Additionally, Scripts can be remotely hosted, or registered as inline snippets.
Required scope | custom_code:write