Inserts custom script tags into a site, with the specified values for any dynamic parameters. Call this method when your app is installed on a site.
Your app must have an existing embedded script component, with exactly matching parameter names.
You can only call this method when authenticated as a Wix app or Wix user identity.
Details of the script to embed.
Component ID of the embedded script. Available as a query parameter in the embedded script's extension page in the app dashboard.
Details of the embedded script.
curl -X POST \
https://www.wixapis.com/apps/v1/scripts \
-H 'Authorization: <AUTH>' \
-d '{
"properties": {
"parameters": {
"KeyName123": "Value123"
}
}
}'
{
"properties": {
"parameters": {
"KeyName123": "Value123"
}
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.