POST

Create Custom Embed


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Creates a custom embed within the specified position (HEAD, BODY_START or BODY_END).

Required fields: name, position, embedData (including category and html).

Authentication

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

Permissions
Manage Marketing Tags
SCOPE.EDITOR.MANAGE_CUSTOM_EMBEDS
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/embeds/v1/custom-embeds

Errors
429Resource Exhausted

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?