GET

Get Embedded Script


Retrieves information about your app's existing embedded script.

If your app doesn't have an embedded script on the relevant site, a 404 error is returned.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Embedded Scripts
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/apps/v1/scripts

Query Params
componentIdstring

Component ID of the embedded script to retrieve. Available as a query parameter in the embedded script's extension page in the app dashboard.

Response Object
propertiesProperties

Details of the retrieved embedded script.

Get Embedded Script Example 1
Request
cURL
curl -X GET \ https://www.wixapis.com/apps/v1/scripts \ -H 'Authorization: <AUTH>'
Response
JSON
{ "properties": { "parameters": { "KeyName123": "Value123" } } }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?